RBAC Map
Least-privilege role lookup for Microsoft 365 and Azure built-in roles.
使うべきか
品質と安全性
検出事項(1)
- LOWcompare_roles 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"rbacmap": {
"url": "https://rbacmap.com/mcp"
}
}
}リモートエンドポイント
https://rbacmap.com/mcpstreamable-httpできること
ツール一覧
ツール(7)
🟢search_roles(query, service, limit)
Find Microsoft 365 and Azure built-in roles by name or description. Returns role ids for the other tools, a privilege tier and the role's RBAC Map page.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Role name or keywords, e.g. \"helpdesk\" or \"Storage Blob Data Reader\"."
},
"service": {
"type": "string",
"enum": [
"azure",
"hub",
"entra",
"purview",
"exchange",
"intune",
"sharepoint",
"defender",
"fabric",
"copilotsec",
"powerplatform"
],
"description": "Limit to one service, e.g. \"entra\" or \"azure\"."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Maximum results (default 10, max 25)."
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_role(id)
Full details for one role: description, privilege tier, permissions, the admin tasks it covers, its Microsoft Learn page and its RBAC Map page.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Role id from search_roles, e.g. \"entra-helpdesk-admin\"."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢find_roles_with_permission(permission, service, limit)
Reverse lookup: which roles grant a permission, least-privileged first. For Azure, pass an operation such as "Microsoft.Storage/storageAccounts/listKeys/action" (wildcards and notActions are applied) or a pattern such as "Microsoft.KeyVault/*". For Microsoft 365, pass keywords such as "reset password"; they are matched against RBAC Map's plain-language permission descriptions.
入力スキーマ
{
"type": "object",
"properties": {
"permission": {
"type": "string",
"description": "Azure operation or pattern, or Microsoft 365 keywords."
},
"service": {
"type": "string",
"enum": [
"azure",
"hub",
"entra",
"purview",
"exchange",
"intune",
"sharepoint",
"defender",
"fabric",
"copilotsec",
"powerplatform"
],
"description": "Limit to one service, e.g. \"entra\" or \"azure\"."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Maximum results (default 15, max 50)."
}
},
"required": [
"permission"
],
"additionalProperties": false
}🟢compare_roles(ids)
Compare 2 or 3 roles: the permissions they share and the permissions only one of them has, with each role's privilege tier.
入力スキーマ
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 3,
"description": "Role ids from search_roles."
}
},
"required": [
"ids"
],
"additionalProperties": false
}🟢list_tasks(query, service, limit)
Search the admin tasks RBAC Map maps to roles (e.g. "reset MFA", "create retention policy"), with the least-privileged roles that can do each one.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Keywords describing the task."
},
"service": {
"type": "string",
"enum": [
"azure",
"hub",
"entra",
"purview",
"exchange",
"intune",
"sharepoint",
"defender",
"fabric",
"copilotsec",
"powerplatform"
],
"description": "Limit to one service, e.g. \"entra\" or \"azure\"."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Maximum results (default 20, max 50)."
}
},
"required": [],
"additionalProperties": false
}🟢recommend_roles(task_ids, goal)
Recommend the built-in roles that together cover a set of admin tasks, using the RBAC Map Role Builder algorithm. Get task ids from list_tasks first. "fewest-roles" (default) picks the smallest set; "least-privilege" prefers several narrow roles over one broad one.
入力スキーマ
{
"type": "object",
"properties": {
"task_ids": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 20,
"description": "Task ids from list_tasks."
},
"goal": {
"type": "string",
"enum": [
"fewest-roles",
"least-privilege"
],
"description": "fewest-roles (default) or least-privilege."
}
},
"required": [
"task_ids"
],
"additionalProperties": false
}🟢recent_changes(since, service, limit)
Recently added, removed, renamed or re-permissioned Microsoft 365 and Azure roles, newest first. The same entries as RBAC Map's What's New feed.
入力スキーマ
{
"type": "object",
"properties": {
"since": {
"type": "string",
"description": "Only changes on or after this date (YYYY-MM-DD)."
},
"service": {
"type": "string",
"enum": [
"azure",
"hub",
"entra",
"purview",
"exchange",
"intune",
"sharepoint",
"defender",
"fabric",
"copilotsec",
"powerplatform"
],
"description": "Limit to one service, e.g. \"entra\" or \"azure\"."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Maximum results (default 20, max 50)."
}
},
"required": [],
"additionalProperties": false
}コミュニティ
エビデンス