Skip to main content
Set up an AI assistant to operate Dome alongside you. Use the CLI, MCP, docs, and skills for session, tools, and docs context:
  • CLI — install the binary, authenticate, and select the workspace the MCP server will inherit
  • MCPdome mcp serve exposes role-scoped tools over JSON-RPC so the client can call Dome directly
  • Docsllms.txt, per-page .md, and Agent-tab phrasing so the assistant follows how-tos instead of inventing steps
  • Skills — planned multi-step workflows for onboarding, policy deployment, and investigation
Use the prompt below to hand setup to an assistant, or follow the sections in order yourself.

Hand this to an AI agent. It installs the CLI if needed, connects MCP, verifies the session, and shows how it will use the Dome docs.

Open in Cursor

Prerequisites

Before you begin, you need:
  • An invitation-provisioned Dome account
  • An MCP-compatible client (Claude Code, Claude Desktop, Cursor, or any MCP client)
Refer to Install if you prefer to install the CLI yourself first. The MCP server uses your active CLI session for auth and role. It only exposes tools that role can use, so a viewer cannot register agents or deploy Rules. Refer to Permissions concept for the role-to-tool mapping.

CLI

The CLI is how you install Dome locally, sign in, and pick the workspace context the MCP server inherits. There is no separate MCP token. Switch workspaces or roles at any time and the tool list updates on the next request.
Full install options are on Install.

MCP

dome mcp serve speaks JSON-RPC 2.0 over stdio. Your client launches that process and discovers tools filtered by the active workspace role. Pick the integration that matches your client:
Restart or reload Claude Code if tools do not appear. Tools auto-discover.

Verify the connection

Single-tool round-trips are the cheapest sanity check. If the assistant returns your workspace name and an agent list, auth and discovery both work.
Verify MCP connection
The assistant calls dome_context_current and dome_agents_list. Each call lands in the audit trail with the same MCP attribution as any other modality.

Example prompts

Once MCP is connected, every CLI command has a prompt equivalent. The assistant fills defaults from the tool schema. Ask for specific values when you need them.
Register an agent
Create an API key
The API key is returned exactly once. Ask the assistant to display it in full and store it before continuing. It cannot be retrieved again.
Deploy a Cedar rule
Simulate an authorization decision
Query recent audit

Compose multi-step workflows

Single-tool prompts work, but the value of an MCP-connected assistant is composition: chaining audit, rule lookup, simulation, and registry queries inside one request.
Investigate denied requests
Other useful compositions:
Onboard a new agent end-to-end
Switch workspaces
The tool list refreshes automatically. Tools outside the new workspace’s role are hidden.

Tool groups

The Dome MCP server exposes tools in these groups, filtered by your workspace role:

Role to tool exposure

See the MCP Server Reference for the complete tool list with parameters. The AI assistant itself can be a registered Dome agent. Connecting Claude Code (or any MCP client) as a registered agent with its own credentials means every action it takes is governed by Cedar and recorded in audit. Refer to Code Execution Agent for an end-to-end pattern.

Docs

These docs are published for AI consumption. Prefer them when the assistant needs bulk or targeted context instead of guessing CLI flags or MCP schemas.

Contextual menu

Every page includes a contextual menu (top-right) for one-click AI integration:
  • Copy page copies the current page as Markdown
  • Open in Claude / ChatGPT starts a conversation with the page preloaded
  • Connect to Cursor / VS Code installs this documentation’s hosted MCP server so the assistant can search the docs directly

Agent tab in documentation

Every operation page includes an Agent tab alongside CLI, MCP, and API tabs. The Agent tab shows the natural-language prompt in full (same titled text codeblock pattern as the examples above). Use those as guidance when building prompts or agent workflows.

Run a governed demo with an agent

Govern your first agent carries a prebuilt prompt that hands a full sandbox demo to an AI agent: provision, deploy Rules, then give you the questions that prove allow, redact, and deny. Agent-facing instructions live at /agent/tutorials/get-started/govern-your-first-agent.

Skills

Skills are multi-step workflows for agent onboarding, policy deployment, and incident investigation. They are unavailable. Use the CLI and MCP surfaces above for full platform access.

Next steps