Use RBAC Map in your AI assistant
A free, public, read-only MCP server for Microsoft 365 and Azure built-in roles.
AI assistants often answer "which role do I need?" from memory, and Microsoft's roles change too often for that to stay right. The RBAC Map MCP server lets Claude, GitHub Copilot, Cursor and other Model Context Protocol clients look up the same curated data this site shows, and link each role to its page here.
Server URL: https://rbacmap.com/mcp
No sign-in or API key. It uses the Streamable HTTP transport.
Connect
Claude Code
claude mcp add --transport http rbacmap https://rbacmap.com/mcp
Claude Desktop and claude.ai
Open Settings → Connectors → Add custom connector, name it RBAC Map and paste the server URL.
VS Code (GitHub Copilot)
Add this to .vscode/mcp.json in your workspace, or to your user MCP configuration:
{
"servers": {
"rbacmap": {
"type": "http",
"url": "https://rbacmap.com/mcp"
}
}
}
Cursor
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"rbacmap": {
"url": "https://rbacmap.com/mcp"
}
}
}
Other clients
Any client that supports remote Streamable HTTP servers can connect with the URL above. To try it without a client, run the MCP Inspector:
npx @modelcontextprotocol/inspector
Tools
| Tool | What it does |
|---|---|
search_roles | Find roles by name or keywords, optionally within one service. |
get_role | A role's description, privilege tier, permissions, admin tasks and Microsoft Learn link. |
find_roles_with_permission | Reverse lookup, least-privileged first. Azure operations are matched with wildcards and notActions applied; Microsoft 365 permissions by keyword. |
compare_roles | The permissions 2 or 3 roles share, and the ones only one of them has. |
list_tasks | Search the admin tasks RBAC Map maps to roles, with the least-privileged roles for each. |
recommend_roles | The role set that covers a list of tasks, using the same algorithm as the Role Builder. |
recent_changes | Recently added, removed, renamed or re-permissioned roles, the same entries as the What's New feed. |
Things to ask
- What's the least-privileged role to reset MFA for users?
- Which Azure roles can list storage account keys?
- Compare Security Reader and Global Reader.
- I need to manage retention policies and run eDiscovery searches. Which roles should I assign?
- What changed in Entra ID roles this month?
Limits and data
- All tools are read-only. They never touch your tenant and cannot assign roles.
- Up to 120 requests per minute per client.
- The data is the same as the site's and updates when the site does. Azure roles still pending editorial review are left out, as they are here.
- Check critical assignments against the Microsoft Learn link each role includes before you grant access.
- RBAC Map stores only per-tool daily call counts. See the privacy notice.