Entra Permissions MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Entra Permissions MCP Serversearch for application permissions containing 'User.Read'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Entra Permissions MCP Server
An MCP server that exposes this repo's Microsoft Entra ID / Microsoft Graph permissions data to AI agents (Claude Code, Claude Desktop, Cursor, …).
It serves the canonical permissions JSON — the same data the permissions/ React app bundles —
through MCP tools and resources.
Where the data comes from
Remote-first, local fallback. At startup the server fetches the three JSON datasets from the
public jsDelivr CDN, served from the dedicated public data store repo
mjendza/entra-id-permissions-mcp:
https://cdn.jsdelivr.net/gh/mjendza/entra-id-permissions-mcp@main/data/<file>.jsonThe data is refreshed by this repo's scrape.yaml pipeline,
which generates the JSON and pushes it to the store repo's data/ folder. Serving from the CDN
means a deployed/serverless MCP host needs no bundled data and pays no egress to host ~2 MB of
JSON — jsDelivr caches it globally. If the fetch fails (offline, CDN down, or remote disabled) the
server falls back to the local data/ files in this repo.
Prerequisite: the pipeline must have published the three
*.jsonfiles to the store repo'sdata/folder onmainat least once. Until then the server transparently uses the local fallback.
Related MCP server: MCP Microsoft Graph Server
Datasets
Source file | Records | Exposed as |
| 630 | Graph Application permissions (app roles) |
| 714 | Graph Delegated permissions (oauth2 scopes) |
| 3854 | Microsoft first-party apps + their app roles |
Tools
Tool | Purpose |
| Keyword search application permissions (Value/DisplayName/Description). |
| Keyword search delegated permissions; optional |
| Exact lookup by scope |
| Find first-party apps by display name or AppId (summary only). |
| Full record for one app (by |
| Find which Microsoft app exposes a given app role. |
Search tools return { totalMatches, returned, results } and accept an optional limit
(default 25, max 200) so large result sets stay bounded.
Resources
entra://graph/application-permissionsentra://graph/delegated-permissionsentra://microsoft-apps
Each returns the full raw dataset as application/json.
Build
cd mcp-server
npm install
npm run buildRun
stdio (local clients):
npm run start:stdio # node dist/stdio.jsStreamable HTTP (network / serverless hosting):
npm run start:http # node dist/http.js -> http://localhost:3000/mcpGET /health returns 200 {"status":"ok"}. The HTTP transport runs stateless (no session
id) which keeps serverless hosting simple; switch to session mode by supplying a
sessionIdGenerator in src/http.ts if you need server-initiated streams.
Config
ENTRA_DATA_BASE_URL— override the remote base URL (defaults to the jsDelivr CDN path above). Set to an empty string to disable remote fetching.ENTRA_DATA_LOCAL_ONLY— set to any value to skip the network entirely and read local files.ENTRA_DATA_DIR— override the local fallback directory (defaults to the repo'sdata/).PORT— HTTP port (default3000).
Register with a client
Claude Code (stdio):
claude mcp add entra-permissions -- node /absolute/path/to/mcp-server/dist/stdio.jsClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"entra-permissions": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/dist/stdio.js"]
}
}
}Inspect / debug
npx @modelcontextprotocol/inspector node dist/stdio.jsRefreshing the data
The datasets are generated by the PowerShell scripts in ../src
(Export-GraphPermissions.ps1, Export-MicrosoftApps.ps1). Re-run those to refresh
data/*.json; this server picks up the new data on next start.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mjendza/entra-id-permissions-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server