跳转到内容

Windsurf

Windsurf IDE 连接到 CoreClaw MCP 服务,让 AI 编程助手可以在编辑器内发现 CoreClaw Worker、运行任务、查询状态并获取结果。

Windsurf 通过 Streamable HTTP 传输协议支持 MCP。您可以在 MCP 设置面板中进行配置。

  1. 打开 Windsurf。
  2. 进入 Settings -> MCP
  3. 点击 Add MCP Server

填写表单:

  • 名称coreclaw
  • 传输HTTP
  • URLhttps://mcp.coreclaw.com/mcp
  • 请求头
    • api-key: YOUR_CORECLAW_API_KEY

YOUR_CORECLAW_API_KEY 替换为您的实际 CoreClaw API 密钥。

  1. 点击 保存
  2. 重启 Windsurf 使配置生效。
  1. 打开 Windsurf 并开始新的 Cascade 对话。
  2. 询问:“在 CoreClaw 上查找 Amazon Worker。”
  3. Windsurf 应该调用 list_store_workers 并返回匹配的 Worker。

您: 找个 Google Maps Worker,提取纽约时代广场附近的餐厅数据。

Windsurf: 我会查找 Google Maps Worker,查看输入 schema,然后为您运行。[调用 list_store_workers -> get_worker_input_schema -> run_worker -> get_worker_run -> list_worker_run_results]

  • 修改 MCP 配置后重启 Windsurf。
  • 确认 MCP 服务器 URL 是 https://mcp.coreclaw.com/mcp
  • 检查是否已设置 api-key 请求头。
  • 确认 api-key 请求头的值与 CoreClaw API 密钥完全匹配。
  • 控制台 验证密钥是否有效。