Dome Systems

Harvey MCP and Dome

Harvey reaches your firm's systems. Each lawyer signs in.

Harvey connects to a firm's own MCP server over OAuth, and each user signs in for their own account. Point it at a Dome Gateway, and every lawyer signs in with their Dome account. Rules decide each call by person, and audit records every one under their name.

Lawyers in HarveyAgentsDomeFirm systemsCallersLawyers in HarveyAgentsgateway-interactive-4be2Agentsmatter-intakeAgentsconflicts-checkerGatewaysfirm-gatewayNotionKnow-how and precedentsInternal toolsMCP serversModel poolYour own agentsRulesGuardsAuditsaudit-trail
gateway-interactive-4be2→notion/notion-search· as associate@example.comAllowed

How Dome helps

Dome provides a governed gateway for Harvey

Each lawyer signs in

Harvey sends every user through sign-in on their first connection. With Dome, that sign-in is the lawyer's own Dome account.

Rules per lawyer

Rules read the signed-in lawyer's email. Associates search the know-how base, and partners can add to it.

Audit by name

Every call Harvey makes is recorded under the lawyer who made it. Revoke one person's grant and leave the rest.

Get started

Harvey on a Gateway in three steps

Turn on interactive access, permit what it may call, and add the Gateway to Harvey as your own MCP server. Each lawyer authorizes once in a browser.

  1. 01

    Turn on interactive access

    Name who may sign in, by exact email or identity provider subject. Dome creates one managed agent for the Gateway.

    $ dome gateways interactive enable firm-gateway \
    --email partner@example.com \
    --email associate@example.com
  2. 02

    Permit what it may call

    Apply the rule below to the managed agent. Its name is in dome gateways get.

    $ dome rules apply harvey-notion.cedar \
    --agent gateway-interactive-<gateway-id> \
    --name harvey-notion
  3. 03

    Add the Gateway to Harvey

    A Harvey workspace admin adds the Gateway's MCP URL as the firm's own server and enables it. Each lawyer then signs in once from Harvey.

Commands and rules tested against a Dome workspace on October 1, 2026. For anything about Harvey itself, see Harvey's documentation.

Rules

Search for everyone, write for partners

Everyone signed in may discover tools, search and fetch pages. Only the partner may have Harvey create a page.

permit (
principal is Dome::Agent,
action == Dome::Action::"mcp:discover",
resource
);
 
permit (principal is Dome::Agent, action == Dome::Action::"mcp:call", resource is Dome::MCPTool)
when {
resource.connection_name == "notion" &&
["notion-search", "notion-fetch", "notion-create-pages"].contains(resource.tool_name)
};
 
forbid (principal, action == Dome::Action::"mcp:call", resource is Dome::MCPTool)
when {
resource.connection_name == "notion" &&
resource.tool_name == "notion-create-pages"
}
unless {
principal has act_as &&
principal.act_as.email == "partner@example.com"
};

Try it

One call, two outcomes

Switch the caller or the argument and watch the same call decide differently. Every decision lands in audit.

Signed in as

agent gateway-interactive-4be2 · acting as partner@example.com
notion/notion-create-pages(parent: "Precedents", title: "Indemnity cap, SaaS MSA")
  1. Sign-inpartner@example.com is on the allow-list
  2. TokenInteractive token for firm-gateway, still valid
  3. RuleNew pages are open to the partner
DecisionAllowed

Agent workflow

Bringing it together

Connecting Harvey to registered tools, identity, and models in Dome completes a governed agent application.

Dome

Control point

Gateway

  • Rules
  • Guards
  • Quotas

Every call decided and audited

Tools

Agent service

Harvey

This page

MCP server

Notion

See how

FAQ

Common questions

Can Harvey connect to our own MCP server?

Yes. Harvey's Bring Your Own MCP connects a firm's server over HTTPS with OAuth, and a Dome Gateway with interactive access is that server.

Does each lawyer need a Dome account?

Yes. Each person signs in with their own Dome account, which needs access to the workspace as well as a place on the allow-list.

Can different lawyers get different access through Harvey?

Yes. Rules read the signed-in person's email, so one Gateway can give partners and associates different tools.

How do I remove one person's access?

Revoke their interactive grant in Dome, or take them off the allow-list. Everyone else keeps working.

Next steps

Talk with our FDE team

Our forward deployed engineers work with your platform team to get your agents into production and under control: the first one governed on your own systems, and a pattern your teams can repeat for every agent after it.