> ## Documentation Index
> Fetch the complete documentation index at: https://xerg.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up coding agents

> Give Claude Code, Cursor and any MCP client your team's map, over Xerg's MCP server.

Coding agents can check the same map you see before they change code: what depends on something, who owns it, and where a key is used. Xerg's MCP server gives them [seven read-only tools](https://xerg.ai/docs/coding-agents/tools.md).

![The Coding agents tab: make a key, then copy the setup for Claude Code, Cursor or any MCP client](https://mintcdn.com/xerg/Xfd-lD2nNpiXaLb6/images/coding-agents.webp?fit=max\&auto=format\&n=Xfd-lD2nNpiXaLb6\&q=85\&s=7baf9f44c9e05155805f43d21094475e)

## Make a key

1. In Xerg, open **Ask** at the top of the left rail, then the **Coding agents (MCP)** tab.
2. Name the key after what it's for (say, "Claude Code") and choose **Make key**.
3. Copy the setup for your agent right away: this is the only time the key is shown.

Keys:

* are read-only, and read this workspace only
* last 90 days
* allow 600 calls an hour
* stop working when their maker leaves the workspace or becomes a viewer

Members, admins and owners can make keys. Anyone can revoke their own; admins and owners can revoke anyone's, from the same tab.

## Claude Code

```bash theme={null}
claude mcp add --transport http xerg https://overwatch.xerg.ai/api/mcp --header "Authorization: Bearer ow_…"
```

## Cursor

Add this to `.cursor/mcp.json` in your project (or `~/.cursor/mcp.json` for every project):

```json .cursor/mcp.json theme={null}
{
  "mcpServers": {
    "xerg": {
      "url": "https://overwatch.xerg.ai/api/mcp",
      "headers": {
        "Authorization": "Bearer ow_…"
      }
    }
  }
}
```

## Any MCP client

Xerg's server speaks Streamable HTTP (stateless, JSON responses).

* **URL**: `https://overwatch.xerg.ai/api/mcp`
* **Header**: `Authorization: Bearer ow_…`

Replace `ow_…` with your key. The setup Xerg shows you already has it filled in.

## Try it

Ask your agent something the map knows, like:

* "Using xerg, what breaks if we rotate `STRIPE_SECRET_KEY`?"
* "Using xerg, who owns the billing service, and what does it call?"
* "Using xerg, what changed this week?"


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.