MCP / Registry
精确查阅本地 MCP、Registry 命令和最小接口。
MCP / Registry
这一页属于 #strong[Reference]:它提供精确命令和接口。
MCP 命令
codeiq mcp start
codeiq mcp serve
codeiq mcp status
codeiq mcp stop当前 mcp start 是本地常驻入口,mcp serve 是前台运行入口;它们都服务于本地查询,而不是远端托管。
Registry 命令
codeiq publish <bundle-file>
codeiq registry upload-local <upload-request-file>
codeiq registry download-local <purl>
codeiq registry download <purl> --output <dir>
codeiq registry serve [--port <port>]当前 publish 也会复用同一套本地 registry contract,只是它面向的是完整 bundle 文件,而不是直接调用这些子命令。
MCP tools
codeiq.query.outlinescodeiq.query.symbolcodeiq.runtime.context
最小 HTTP 接口
GET /healthPOST /api/v1/bundlesGET /api/v1/bundles/resolve?purl=...GET /api/v1/packages/{purl-encoded}/versionsGET /api/v1/bundles/{bundleId}GET /api/v1/bundles/{bundleId}/download
什么时候需要这页?
- 你要精确写脚本调用
registry serve的本地接口 - 你要核对 MCP 当前暴露了哪些 tools
- 你要确认 Local Registry 和 MCP 在本地工作流中的边界