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

View as Markdown

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:

bash
claude mcp add --transport http open-revoke-demo https://openrevoke.com/mcp/demo

Cursor, in ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "open-revoke-demo": { "url": "https://openrevoke.com/mcp/demo" }
  }
}

Codex:

bash
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.

  1. 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.
  2. Add the server to your assistant with the token. In the examples, replace open-revoke.example.com with your panel’s address.

Claude Code:

bash
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:

json
{
  "mcpServers": {
    "open-revoke": {
      "url": "https://open-revoke.example.com/mcp",
      "headers": { "Authorization": "Bearer ${env:OPEN_REVOKE_TOKEN}" }
    }
  }
}

Codex, in ~/.codex/config.toml:

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:

  1. Look first, nothing changes: plan_offboarding, or assign_access_profile with dry_run.
  2. Create the actions: start_offboarding, onboard_person or assign_access_profile. Still nothing changes in other apps, and the assistant asks you first.
  3. approve_actions runs the writes, only after you said yes to the list.
  4. get_actions_status follows 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.

ToolWhat it doesEffect
get_overviewCompany overviewRead only
get_spend_by_appMonthly cost per appRead only
get_app_accessWho has access to an appRead only
add_appAdd an appChanges data
update_appChange an app's price or settingsChanges data
find_peopleFind peopleRead only
get_person_accessWhat a person has access toRead only
list_leavers_with_accessPeople who left but still have accountsRead only
add_personAdd a personChanges data
update_personChange a person's detailsChanges data
plan_offboardingPlan an offboarding (no changes)Read only
start_offboardingStart an offboardingChanges data, marked destructive
onboard_personOnboard a personChanges data, marked destructive
list_access_profilesAccess profiles (roles)Read only
assign_access_profileGive a person an access profileChanges data
get_access_driftAccess a person misses or should not haveRead only
list_pending_approvalsActions waiting for approvalRead only
approve_actionsApprove actionsChanges data, marked destructive
cancel_actionsCancel actionsChanges data
get_actions_statusProgress of actionsRead only
list_open_manual_tasksManual tasks to doRead only
complete_manual_taskMark a manual task doneChanges data
list_failed_actionsFailed actionsRead only
retry_actionRetry a failed actionChanges data, marked destructive
list_unassigned_accountsAccounts without an ownerRead only
assign_accountGive an account its ownerChanges data
add_accountRecord an account by handChanges data
list_connectorsAvailable connectorsRead only
connect_appConnect an appChanges data
check_connectionCheck a connectionChanges data
sync_appSync an app's accounts nowChanges data
get_sync_historyRecent syncs of an appRead only
list_discovered_appsApps found in Google sign-insRead only
get_discovered_app_usersWho signs in to a discovered appRead only
track_discovered_appTrack a discovered appChanges data
ignore_discovered_appIgnore a discovered appChanges data
run_discovery_scanScan Google sign-ins nowChanges data
list_access_requestsAccess requestsRead only
decide_access_requestApprove or reject an access requestChanges data
get_audit_logWho changed whatRead only
get_my_accessMy accountsRead only
request_accessAsk for access to an appChanges data
list_my_approvalsRequests waiting for meRead only
decide_my_approvalApprove or reject a report's requestChanges data