1. Conduid
  2. Developer Tools
  3. Entraid MCP Server
MCP server · Developer Tools

Entraid MCP Server

MCP server: Entraid MCP Server

Unclaimed Apache-2.0 last commit a year ago devtools
47Fair

Scored 5 months ago · breakdown

About Entraid MCP Server

Entraid MCP Server is an MCP server published by patst in the Developer Tools category: mCP server: Entraid MCP Server.

The repository has 2 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/patst/entraid-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Entraid MCP Server

Powered by Claude · Grounded in docs

I know everything about Entraid MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

EntraID secured MCP-Server demo

This demo shows how to secure an MCP-Server using EntraID (Azure AD). It uses the ModelContextProtocol SDK to create a Streamable HTTP server that implements the MCP-Server API.

The server can be accessed in an unauthenticated mode by adding the header x-use-anonymous: true to the request. This will provide only the tools that do not require authentication.

Could be an example to provide read-only access to some tools, while other tools require authentication.

For more details see the medium article at https://medium.com/@pat-st/securing-a-model-context-protocol-server-with-entraid-47a0fea72a76

Prerequisites

  • Node.js v18 or later

EntraID Setup

Create an EntraID App Registration:

az ad app create --display-name "MCP-Server Demo" --requested-access-token-version "2" --sign-in-audience "AzureADMyOrg"

Create a .env file in the root of the project with the following content:

AZURE_TENANT_ID=
AZURE_CLIENT_ID=
BASE_URL=http://localhost:3001

Use your tenantId and the clientId of the app registration you just created.

  • Under Expose an API, expose a scope named user_impersonation for the app registration
  • Under Expose an API, add the ClientIds as preauthorized client applications:
    1. aebc6443-996d-45c2-90f0-388ff96faa56 - default Client ID for VSCode
    2. 04b07795-8ddb-461a-bbee-02f9e1bf7b46 - Default Client ID for Azure CLI, allows fetching of token for test purposes

Run the server

Just execute npm run dev to start the server. It will be available at http://localhost:3001/mcp.

The .vscode/mcp.json file already contains the required configuration to connect to the server using VSCode.

If everything is set up correctly, you should be able to connect to the server using VSCode and will be prompted to authenticate using EntraID.

Then two tools will appear.

If you are starting the server in unauthenticated mode with this mcp.json file, you will only see one tool being presented:

{
	"servers": {
		"local-mcp-server": {
			"url": "http://localhost:3001/mcp",
			"type": "http",
            "headers": {
                "x-use-anonymous": "true"
            }
		}
	},
	"inputs": []
}

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About Entraid MCP Server

How do I install Entraid MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Entraid MCP Server safe to use with an AI agent?

Its trust score is 47 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Entraid MCP Server still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.