MCPpedia last refreshed this data
Protected MCP Server Demo is an MCP server that provides security tools to AI agents. Its tool list has not been published yet over sse, requires no API key, and scores 64/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"protected-mcp-server-demo": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An ASP.NET Core implementation of a Model Context Protocol (MCP) server, secured with Azure Entra ID (Active Directory). This project demonstrates how to expose functionality (simple math tools) to LLMs via MCP while enforcing enterprise-grade security and Role-Based Access Control (RBAC).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in security
Regression testing for MCP servers. Checks capabilities, invokes tools, detects schema drift.
MCP server for RocketCyber Managed SOC — incidents, alerts, agents, and customer telemetry.
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
MCP Security Weekly
Get CVE alerts and security updates for Protected Mcp Server Demo and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An ASP.NET Core implementation of a Model Context Protocol (MCP) server, secured with Azure Entra ID (Active Directory). This project demonstrates how to expose functionality (simple math tools) to LLMs via MCP while enforcing enterprise-grade security and Role-Based Access Control (RBAC).
Purpose of this tool is to demonstrate two things:
Add, Subtract, Multiply, Divide).You need to register an application in your Azure Entra ID tenant to handle authentication.
Create App Registration:
Accounts in this organizational directory only (Single Tenant).http://localhost:5284. If you have already deployed the web app in Azure, add it's URL later in the redirect URI section after creation.Application (client) ID and Directory (tenant) ID. This will be needed later on.Define App Roles:
In the App Registration blade, go to App roles.
Create the following roles (set allowed member types to Users/Groups):
| Display name | Value | Description | Allowed member types |
|---|---|---|---|
| Add Tool User | add-tool-user | Users in this role will be able to invoke "Add" tool. | Users/Groups |
| Subtract Tool User | subtract-tool-user | Users in this role will be able to invoke "Subtract" tool. | Users/Groups |
| Multiply Tool User | multiply-tool-user | Users in this role will be able to invoke "Multiply" tool. | Users/Groups |
| Divide Tool User | divide-tool-user | Users in this role will be able to invoke "Divide" tool. | Users/Groups |
Expose an API:
api://<client-id>).access_as_user.aebc6443-996d-45c2-90f0-388ff96faa56.Assign Roles:
Update appsettings.json in ProtectedMcpServerDemo or use environment variables.
appsettings.json:
{
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "your-tenant.onmicrosoft.co
... [View full README on GitHub](https://github.com/gmantri/protected-mcp-server-demo#readme)