所有工具

configure_clients

诊断与系统 · macOS · Windows

效果: 写入. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

根据 LMCP 的客户端目录,将 Local MCP 添加到本 Mac 上已安装且支持 MCP 的 AI 应用配置中(Claude Desktop、Claude Code、Cursor、Windsurf、VS Code、Zed、Codex / ChatGPT 桌面版、Jan、LM Studio、Warp、Antigravity、Cline、Roo 等),无需手动编辑 JSON。除非传入 confirm:true,否则只执行只读 PREVIEW。可选择传入单个 client id。它会分别报告每个客户端是否已配置、原本就已配置、无法自动配置(以及原因),或尚未安装,并说明要让更改生效用户必须执行的步骤(重新启动应用或打开新会话)。与 list_missing_permissions 配合使用,可实现完全由代理驱动的设置。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构macOS
{
  "properties": {
    "client": {
      "description": "Optional: configure only this client. One of: claude-desktop, claude-code, cursor, windsurf, vscode, zed, lmstudio, warp, antigravity, cline, roo, codex, jan, opencode, goose, hermes, raycast, msty, cherry-studio. Omit to do all installed ones.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to write the config. Without it, returns a preview of what would change.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

configure_clients 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "client": "cursor",
  "confirm": false
}

Windows

用途

将 Local MCP 添加到本机已安装且支持 MCP 的 AI 客户端配置中(Claude Desktop、Claude Code、Cursor、Windsurf、VS Code),使其能够使用 LMCP 工具,无需手动编辑 JSON。除非传入 confirm:true,否则只执行只读 PREVIEW。可选择传入单个 client id 或名称,只配置该客户端。返回已配置的客户端、原本已含 Local MCP 的客户端以及所需的重启步骤。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构Windows
{
  "properties": {
    "client": {
      "description": "Optional: configure only this client (by id or name, e.g. 'cursor'). Omit to do all installed ones.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to write the config. Without it, returns a preview of what would change.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

configure_clients 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "client": "cursor",
  "confirm": false
}