> ## 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.

# IDE 集成

> 通過 MCP 在 Cursor、Claude Code、Warp、Windsurf 和 VS Code 中使用 Theo。

Theo 通過 **模型上下文協議（Model Context Protocol，MCP）** 在所有主流代理式 IDE 中運行。本指南是一屏概覽——權威參考文檔位於專門的 [MCP 服務器](/mcp/overview) 章節。

## 快速開始

```bash theme={null}
npm install -g @hitheo/sdk
export THEO_API_KEY=theo_sk_...
theo init
```

`theo init` 會自動檢測你的 IDE 並寫入正確的 MCP 配置。如需手寫配置或瞭解各 IDE 的具體路徑，請參閱 [MCP / Install](/mcp/install)。

## 可用工具

配置完成後，你的 IDE 代理即可訪問以下工具：

| 工具 | 說明 |
| - | - |
| `theo_complete` | 通用 AI 補全——自動路由到最佳引擎 |
| `theo_code` | 代碼生成——Theo Code 引擎，支持長篇輸出 |
| `theo_research` | 帶引用的深度研究 |
| `theo_image` | 圖像生成——Theo Create 引擎 |
| `theo_document` | 文檔生成（PDF、DOCX、PPTX、XLSX、CSV） |
| `theo_skill_list` | 瀏覽技能市場 |
| `theo_skill_install` | 安裝特定領域的技能 |
| `theo_status` | 檢查健康狀態和引擎可用性 |

每個工具的完整模式和示例參見 [MCP / Tools](/mcp/tools)；三個 `theo://` 只讀資源的說明參見 [MCP / Resources](/mcp/resources)。

## 後續步驟

* **[MCP 概覽](/mcp/overview)** —— MCP 是什麼，請求流程如何運作。
* **[安裝](/mcp/install)** —— 各 IDE 的詳細安裝步驟。
* **[項目配置](/mcp/project-config)** —— 按倉庫固定角色、技能或內聯工具。
* **[故障排查](/mcp/troubleshooting)** —— 解決最常見的配置問題。


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