Connect your agent
Dea exposes browser tools over MCP using Streamable HTTP. The app must remain running for an agent to use them.
Automatic setup#
- Install your coding agent and complete its own sign-in or provider setup.
- Open Dea and select Connection.
- Confirm that the MCP server is running. Use the displayed address if it differs from the default.
- Select Connect all agents.
- Check the result for your agent, then restart it or begin a new session.
Dea only attempts setup for agents it detects. It preserves unrelated configuration and backs up files it edits. An invalid or unsupported configuration is reported so you can merge the displayed snippet yourself. Hermes setup uses Hermes's own CLI and keeps the key in its environment file.
Supported automatic connections#
| Client | Default global configuration |
|---|---|
| Claude Code | ~/.claude.json |
| Codex | ~/.codex/config.toml, or the configured CODEX_HOME |
| OpenCode | ~/.config/opencode/opencode.json or an existing opencode.jsonc; respects XDG_CONFIG_HOME |
| Antigravity | ~/.gemini/config/mcp_config.json |
| Hermes | ~/.hermes/config.yaml through its CLI; key in .env; respects HERMES_HOME |
These are user-global connections, available across project folders. They do not select a project or workspace for you.
Verify the connection#
Ask your agent:
Use Dea's list_workspaces tool and tell me which workspaces are open.A successful result lists workspace information from the running app. If the agent says no Dea tools are available, reload its MCP connections or restart the client. If it returns a connection or key error, follow Troubleshooting.
Protocol versions#
Dea answers both the sessionless 2026-07-28 revision of MCP and the earlier session-based revisions, at the same address and with the same tools. Your client chooses which it speaks; there is nothing to set in Dea. A client on the sessionless revision keeps working after Dea restarts. A client holding a 2025 session reconnects after a restart, as before.
Connect from outside Dea#
An agent started in an external terminal can use the same global MCP configuration. It does not inherit a Dea terminal's workspace automatically. Have it list and bind the intended workspace before acting. Open that workspace at least once in Dea first.
Any other client that supports Streamable HTTP MCP and bearer headers can connect manually. A client running on another machine or in a remote cloud cannot directly reach this local address. Dea does not include a remote-access relay.
Manual setup and source installs#
See Manual MCP configuration for client examples. From a source checkout, npm run connect-agents performs the connection step from a shell. It updates agent configuration; it does not start the desktop app or MCP server.