Docs menu
MCP server for AI assistants
Connect Claude Code, Cursor or Codex to Open Revoke over MCP: try the public demo, then add your own instance with a personal API token.
Updated 2 min read
What it does
Open Revoke has a built-in MCP server. An AI assistant such as Claude Code, Cursor or Codex connects to it and does what you can do in the panel: find who has access to an app, list people who left but still have accounts, plan and start an offboarding, onboard a new hire, connect an app.
The tools are named after tasks, not API routes: get_overview, list_leavers_with_access, plan_offboarding, approve_actions and about 40 more, listed at the end of this page.
Try the demo
The public demo at https://openrevoke.com/mcp/demo needs no sign-in and no installation. It lists every tool of Open Revoke with its description, so you can see what an assistant gets. It runs none of them and holds no company data: every tool call answers that this is the demo.
Claude Code:
claude mcp add --transport http open-revoke-demo https://openrevoke.com/mcp/demo Cursor, in ~/.cursor/mcp.json:
{
"mcpServers": {
"open-revoke-demo": { "url": "https://openrevoke.com/mcp/demo" }
}
} Codex:
codex mcp add open-revoke-demo --url https://openrevoke.com/mcp/demo Connect your own Open Revoke
The server runs inside your installation, at /mcp on the panel’s address. It needs no extra port.
- In the panel open Settings, API and MCP and create a personal API token, read only or read and write. The page shows the command for your assistant.
- Add the server to your assistant with the token. In the examples, replace
open-revoke.example.comwith your panel’s address.
Claude Code:
claude mcp add --transport http open-revoke https://open-revoke.example.com/mcp \
--header "Authorization: Bearer orv_..." Cursor, in ~/.cursor/mcp.json, with the token in the OPEN_REVOKE_TOKEN environment variable:
{
"mcpServers": {
"open-revoke": {
"url": "https://open-revoke.example.com/mcp",
"headers": { "Authorization": "Bearer ${env:OPEN_REVOKE_TOKEN}" }
}
}
} Codex, in ~/.codex/config.toml:
[mcp_servers.open-revoke]
url = "https://open-revoke.example.com/mcp"
bearer_token_env_var = "OPEN_REVOKE_TOKEN" Then ask in plain words: “add Anna to Notion”, “offboard Bob”, “which apps does Carol use?”.
What the assistant may do
- It acts with your role. An admin’s token reaches the whole company; a member’s token only their own access and the requests they approve.
- A read-only token cannot change anything.
- Every change is in the audit log with the token’s name.
- Removing accounts still waits for an approval.
Any client can list the tools without a token. Calling one needs it.
How a write works
The server tells the assistant this order when it connects:
- Look first, nothing changes:
plan_offboarding, orassign_access_profilewithdry_run. - Create the actions:
start_offboarding,onboard_personorassign_access_profile. Still nothing changes in other apps, and the assistant asks you first. approve_actionsruns the writes, only after you said yes to the list.get_actions_statusfollows them. Every write is checked by reading the app again, see Actions and approval.
Every API operation as a tool
The task tools cover what the panel offers. For anything else, add ?toolset=api to the address: every API operation then becomes its own tool.
All tools
The task tools of the current release, the same list the demo shows. A member sees only the last four.
| Tool | What it does | Effect |
|---|---|---|
get_overview | Company overview | Read only |
get_spend_by_app | Monthly cost per app | Read only |
get_app_access | Who has access to an app | Read only |
add_app | Add an app | Changes data |
update_app | Change an app's price or settings | Changes data |
find_people | Find people | Read only |
get_person_access | What a person has access to | Read only |
list_leavers_with_access | People who left but still have accounts | Read only |
add_person | Add a person | Changes data |
update_person | Change a person's details | Changes data |
plan_offboarding | Plan an offboarding (no changes) | Read only |
start_offboarding | Start an offboarding | Changes data, marked destructive |
onboard_person | Onboard a person | Changes data, marked destructive |
list_access_profiles | Access profiles (roles) | Read only |
assign_access_profile | Give a person an access profile | Changes data |
get_access_drift | Access a person misses or should not have | Read only |
list_pending_approvals | Actions waiting for approval | Read only |
approve_actions | Approve actions | Changes data, marked destructive |
cancel_actions | Cancel actions | Changes data |
get_actions_status | Progress of actions | Read only |
list_open_manual_tasks | Manual tasks to do | Read only |
complete_manual_task | Mark a manual task done | Changes data |
list_failed_actions | Failed actions | Read only |
retry_action | Retry a failed action | Changes data, marked destructive |
list_unassigned_accounts | Accounts without an owner | Read only |
assign_account | Give an account its owner | Changes data |
add_account | Record an account by hand | Changes data |
list_connectors | Available connectors | Read only |
connect_app | Connect an app | Changes data |
check_connection | Check a connection | Changes data |
sync_app | Sync an app's accounts now | Changes data |
get_sync_history | Recent syncs of an app | Read only |
list_discovered_apps | Apps found in Google sign-ins | Read only |
get_discovered_app_users | Who signs in to a discovered app | Read only |
track_discovered_app | Track a discovered app | Changes data |
ignore_discovered_app | Ignore a discovered app | Changes data |
run_discovery_scan | Scan Google sign-ins now | Changes data |
list_access_requests | Access requests | Read only |
decide_access_request | Approve or reject an access request | Changes data |
get_audit_log | Who changed what | Read only |
get_my_access | My accounts | Read only |
request_access | Ask for access to an app | Changes data |
list_my_approvals | Requests waiting for me | Read only |
decide_my_approval | Approve or reject a report's request | Changes data |