文档Agent 与 AI
Agent 与配置文件
“设置 > MCP”可以帮你连接十三种 Agent。如果你更想自己编辑,本页列出了每个 Agent 读取的文件。
1配置文件
| Agent | 配置文件 |
|---|---|
| Claude Code | ~/.claude.json |
| Codex | ~/.codex/config.toml |
| Cursor | ~/.cursor/mcp.json |
| OpenCode | ~/.config/opencode/opencode.json |
| GitHub Copilot | ~/.config/github-copilot/mcp.json |
| Gemini CLI | ~/.gemini/settings.json |
| Antigravity | ~/.gemini/config/mcp_config.json |
| Kiro | ~/.kiro/settings/mcp.json |
| Qwen Code | ~/.qwen/settings.json |
| Grok Build | ~/.grok/config.toml |
| Kimi | ~/.kimi-code/mcp.json |
| ZCode | ~/.zcode/cli/config.json |
| DeepSeek Harness | ~/.dsh/cordis.patch.yml |
每个配置项都把 Agent 指向 http://127.0.0.1:3100/mcp。设置页会显示每个 Agent 对应的完整配置片段。
2为你的 Agent 安装设计技能
de install 会把 Design Editor 技能包添加到 Claude Code、Codex、Cursor 或 OpenCode。它会教 Agent 掌握分层工作流,以及内置 Agent 遵循的设计规则。
终端
de install --target claude3无窗口运行
de start --headless 在没有窗口的情况下运行 MCP 服务器,适用于脚本和 CI。应用也可以用 design-editor --mcp <file.de> 通过标准输入输出为单个文件提供服务。