> Dea 0.9.9 documentation.
> Canonical page: https://dea.dardanica.app/docs/connect/manual/
> Documentation index: https://dea.dardanica.app/llms.txt

# Manual MCP configuration

Use this when automatic setup cannot edit your client configuration or your client is not listed. Prefer the configuration snippet shown by your installed Dea's **Connection** screen; it contains the current address and key.

## Connection values

| Setting | Value |
| --- | --- |
| Transport | MCP Streamable HTTP (2026-07-28 sessionless, and the 2025 session-based revisions) |
| URL | `http://127.0.0.1:7704/mcp` by default; use Connection's actual address |
| Authentication | `Authorization: Bearer YOUR_DEA_ACCESS_KEY` |
| Availability | While Dea and its MCP server are running |
| Optional stable client identity | `x-dea-client-id: YOUR_DISTINCT_CLIENT_NAME` |

Replace `YOUR_DEA_ACCESS_KEY` before use. Merge the Dea entry into existing configuration; do not replace the whole file. Do not configure this HTTP server as a `stdio` command. Client versions can change their configuration format; the snippets below match Dea's current integration.

## Claude Code

Run this in your shell with the actual key and address:

```sh
claude mcp add --scope user --transport http dea http://127.0.0.1:7704/mcp --header 'Authorization: Bearer YOUR_DEA_ACCESS_KEY'
```

Restart or reload Claude Code's MCP connection. Automatic setup uses Claude's CLI when available, which avoids competing writes with a running Claude session.

## Codex

Merge this into `~/.codex/config.toml`, or `config.toml` inside your custom `CODEX_HOME`:

```toml
[mcp_servers.dea]
url = "http://127.0.0.1:7704/mcp"
http_headers = { Authorization = "Bearer YOUR_DEA_ACCESS_KEY" }
```

## OpenCode

Dea supports an existing flat `mcp` configuration and a nested `mcp.servers` configuration. Keep the form already used by your client. The Connection screen supplies the matching snippet. A flat entry looks like:

```json
{
  "mcp": {
    "dea": {
      "type": "remote",
      "url": "http://127.0.0.1:7704/mcp",
      "headers": { "Authorization": "Bearer YOUR_DEA_ACCESS_KEY" },
      "enabled": true
    }
  }
}
```

For the nested form, Dea places the entry under `mcp.servers.dea`, uses `type: "remote"`, `url`, `headers`, and `oauth: false`. An existing commented `.jsonc` file is preserved; merge the snippet by hand if automatic setup reports that it cannot parse it.

## Antigravity

Merge into `~/.gemini/config/mcp_config.json`:

```json
{
  "mcpServers": {
    "dea": {
      "serverUrl": "http://127.0.0.1:7704/mcp",
      "headers": { "Authorization": "Bearer YOUR_DEA_ACCESS_KEY" }
    }
  }
}
```

## Hermes

Prefer **Connect all agents**, which invokes Hermes's own CLI and sets `MCP_DEA_API_KEY` in the selected Hermes home's `.env` file.

For interactive setup, run:

```sh
hermes mcp add dea --url http://127.0.0.1:7704/mcp --auth header
```

Follow Hermes's authentication prompts. Check that its generated server entry sends a bearer Authorization header and that its referenced key is available in the selected profile's environment. Dea respects `HERMES_HOME`; connecting one Hermes profile does not configure every other profile.

## Other MCP clients

Add an HTTP server using the URL and header above. Keep the MCP session across calls so Dea can distinguish this client and retain workspace binding. A stable, distinct `x-dea-client-id` header is available for clients that need explicit identity; ordinary session-aware clients do not need it.

After saving, restart or reconnect the client and ask it to call `list_workspaces`. Then select and bind the workspace you intend to use.
