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

# theo mcp install

> 为特定 IDE 配置 MCP。

<Note>
  完整的设置流程——包括手写配置、各 IDE 的路径以及验证方法——请参阅 [MCP / Install](/mcp/install)。本页仅作为 CLI 标志参考。
</Note>

```bash theme={null}
theo mcp install [--ide <name>]
```

为检测到的或指定的 IDE 写入 MCP 服务器配置。

## IDE 选项

| IDE | 标志 | 配置路径 |
| - | - | - |
| Cursor | `--ide cursor` | `.cursor/mcp.json` |
| Claude Code | `--ide claude-code` | `.mcp.json` 或 `claude mcp add` |
| Warp | `--ide warp` | `.warp/mcp.json` |
| Windsurf | `--ide windsurf` | `~/.codeium/windsurf/mcp_config.json` |
| VS Code | `--ide vscode` | `.vscode/mcp.json` |
| All | `--ide all` | 以上全部 |

## 示例

```bash theme={null}
# 自动检测并配置
theo mcp install

# 为指定 IDE 配置
theo mcp install --ide cursor

# 配置所有 IDE
theo mcp install --ide all
```


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