帮助中心/集成与自动化
集成与自动化

Cursor / Codex 如何连接?

AI IDE 适合把方案拆成项目和任务。优先配置 Agent API;需要 MCP 时再用适配器。

更新 2026-08-26

Cursor、Codex 这类 AI IDE 适合把你正在写的方案拆成 ThroughLine 项目和任务。配置时优先给 Agent API:base URL、端点和 Authorization: Bearer <Agent Key>。

{
  "throughlineAgent": {
    "baseUrl": "https://throughline.cn",
    "authorization": "Bearer <Agent Key>",
    "endpoints": {
      "context": "/api/v1/me/agent/context",
      "search": "/api/v1/me/agent/search",
      "previewAction": "/api/v1/me/agent/actions/preview",
      "confirmAction": "/api/v1/me/agent/actions/confirm"
    }
  }
}