Back to RBACMap

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

ToolWhat it does
search_rolesFind roles by name or keywords, optionally within one service.
get_roleA role's description, privilege tier, permissions, admin tasks and Microsoft Learn link.
find_roles_with_permissionReverse lookup, least-privileged first. Azure operations are matched with wildcards and notActions applied; Microsoft 365 permissions by keyword.
compare_rolesThe permissions 2 or 3 roles share, and the ones only one of them has.
list_tasksSearch the admin tasks RBAC Map maps to roles, with the least-privileged roles for each.
recommend_rolesThe role set that covers a list of tasks, using the same algorithm as the Role Builder.
recent_changesRecently added, removed, renamed or re-permissioned roles, the same entries as the What's New feed.

Things to ask

Limits and data