Files
cutdex/docs/mcp-connection.md
T
lingjhf 152c051a29
Gitea CI / Check code and tests (pull_request) Failing after 8m56s
Gitea CI / Build Android APK (pull_request) Skipped
Gitea CI / Build Windows x64 app (pull_request) Skipped
Gitea CI / Audit and package Windows x64 (pull_request) Skipped
Gitea CI / Assemble and validate CI artifacts (pull_request) Skipped
Gitea CI / Gitea CI passed (pull_request) Failing after 4s
refactor(build): unify SDK configuration and release tooling
Pin Flutter with FVM and share local environment loading across IDE, Python, and Dart entrypoints. Keep CI on the verified preinstalled SDK and skip local overrides.

Extract common build presets, process execution, and file hashing. Propagate project roots through SDK selection and release commands, and migrate macOS release, signing, and DMG orchestration to Python.

Reuse local check suites in CI, support Android source overrides, and update documentation and regression tests.
2026-10-06 22:24:32 +08:00

16 lines
778 B
Markdown

# 连接外部 AI 工具
支持 MCP 的客户端可以访问 Cutdex 当前工作区的编辑工具。需要保持 Cutdex 运行,并打开希望操作的项目。
## 客户端配置
MCP 默认关闭,在设置中启用并获取端口和访问令牌。外部客户端设置 `CUTDEX_MCP_PORT`、`CUTDEX_MCP_TOKEN`,以本仓库为工作目录运行:
```sh
fvm dart run tool/mcp_stdio.dart
```
连接通过本机端口访问正在运行的 Cutdex。工具范围由当前工作区和可用功能决定,参数以客户端发现结果为准。
当前启动器依赖 Dart,以 Cutdex 源码目录运行。它尚未作为独立客户端程序随安装包分发。启用服务不会自动完成外部客户端配置,需将启动命令、端口与令牌填入客户端。