> ## Documentation Index
> Fetch the complete documentation index at: https://iso-topology.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect the agent you already use

> One-command setup for common coding agents, portable stdio MCP configuration, and a terminal-only path without assuming a harness.

Install [iso-topology](https://iso-topology.mintlify.site/getting-started/01-install.md) once. Keep your existing agent and model account. The renderer needs no model API key; the agent handles the conversation and invokes local tools.

## Choose your connection

```bash theme={"system"}
isotopo setup --list
```

| Harness | Command | What it does |
| - | - | - |
| Codex | `isotopo setup codex` | Calls `codex mcp add`; user configuration |
| Claude Code | `isotopo setup claude-code` | Calls `claude mcp add --scope user` |
| Cursor | `isotopo setup cursor` | Merges into `~/.cursor/mcp.json` |
| Gemini CLI | `isotopo setup gemini` | Calls `gemini mcp add --scope user` |
| GitHub Copilot CLI | `isotopo setup copilot` | Merges into `$COPILOT_HOME/mcp-config.json`, or `~/.copilot/mcp-config.json` |
| VS Code with Copilot | `isotopo setup vscode` | Same native Copilot configuration; select Copilot in your session |
| OpenCode v2 | `isotopo setup opencode` | Calls `opencode mcp add --global`; v1 needs its own config format |
| Kiro | `isotopo setup kiro` | Merges into `~/.kiro/settings/mcp.json` |
| Antigravity CLI | `isotopo setup antigravity` | Calls `agy mcp add` |
| Claude Desktop | `isotopo setup claude-desktop` | Merges into the platform's `claude_desktop_config.json` |
| Roo Code | `isotopo setup roo` | Merges into `.roo/mcp.json` in the current project |
| Cline | `isotopo setup cline` | Prints configuration; import in **MCP Servers → Configure → Configure MCP Servers** |
| Windsurf / Devin Local | `isotopo setup windsurf` | Prints configuration; open the client's MCP config / raw config and merge it there |

Automatic registration verifies the local server first. For configuration-file clients it preserves other servers and settings, backs up the original file, and leaves conflicting entries or commented JSON untouched. `--config PATH` can select an explicit JSON configuration file for those clients. It does not grant blanket tool approval or change model credentials.

Start a new session, check that isotopo's tools appear, and [ask for your first diagram](https://iso-topology.mintlify.site/quickstart.md#2-say-what-you-want-to-see). Setup confirms local launch/configuration, not a model's ability to complete the task. Codex has been exercised through natural-language creation and follow-up editing; the remaining integrations should not be read as model-run certifications for every client/version.

### Review before changing configuration

```bash theme={"system"}
isotopo setup cursor --print
```

Every named client supports `--print`. It only emits the appropriate configuration. Cline and Windsurf use this import workflow by default because their active configuration can vary by host/version. OpenCode output targets v2's `mcp.servers`; for v1 put the same local server object directly under `mcp` according to that version's docs.

## No harness assumption: local stdio MCP

```bash theme={"system"}
isotopo setup generic
# Equivalent:
isotopo setup --print
```

The command discovers your installed MCP executable and prints an absolute path. A typical result is:

```json theme={"system"}
{
  "mcpServers": {
    "isotopo": {
      "command": "/absolute/path/to/isotopo-mcp",
      "args": []
    }
  }
}
```

Use the path actually printed on your machine. In a form-based client, set **transport = stdio**, **command = that path**, **arguments = empty**, **environment = empty**. The `mcpServers` wrapper is a common configuration format, not part of the MCP protocol; use your client's wrapper if different. Windows paths are JSON-escaped for you.

The client starts the process; you do not run a separate background service or supply a URL. Install on the host/container where the agent runs. A cloud client that accepts only remote HTTP servers cannot launch this local stdio server.

## No MCP support: let your agent use the CLI

An agent with terminal and file access can use the same engine without MCP registration. After installation, send:

```text theme={"system"}
Use the installed isotopo CLI to draw our document Q&A architecture:
import documents, index them, retrieve relevant content, and return
an answer with citations. Read `isotopo capabilities`
for the supported format. Create and check the source yourself;
show me the picture and save an editable project for later changes.
```

For a new project the agent uses `isotopo design`; for manual refinement it uses `isotopo studio --background` on the saved project. The optional [agent skill](https://iso-topology.mintlify.site/agent/MCP.md#agent-skill) gives terminal agents more workflow guidance. A client without local tools or filesystem access needs a local agent/runtime to perform this workflow.

## Verify the connection

1. Run `isotopo doctor` for executable launch and MCP tool discovery. This does not call a model.
2. Check the server in the client's MCP panel and complete its normal approval prompts.
3. Ask for a diagram, open the returned SVG, and confirm the editable project exists.
4. Ask for one change; confirm the image and project update. [Continue in Studio](https://iso-topology.mintlify.site/quickstart.md#4-fine-tune-only-when-you-want-to).

## Client configuration references

These are version-specific client formats, checked against their official documentation: [Cursor](https://cursor.com/docs/context/mcp), [Gemini CLI](https://geminicli.com/docs/tools/mcp-server/), [Copilot / VS Code](https://code.visualstudio.com/docs/agents/reference/mcp-configuration), [OpenCode](https://opencode.ai/docs/mcp-servers/), [Kiro](https://kiro.dev/docs/mcp/configuration/), [Antigravity](https://antigravity.google/docs/mcp/), [Claude Desktop](https://modelcontextprotocol.io/docs/2026-07-28/develop/connect-local-servers), [Roo Code](https://docs.roocode.com/features/mcp/using-mcp-in-roo), [Cline](https://docs.cline.bot/mcp/mcp-overview), [Windsurf / Devin Local](https://docs.windsurf.com/windsurf/cascade/mcp).

[简体中文](https://iso-topology.mintlify.site/zh/guides/agent-clients.md)


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