- src/: server.js (MCP 4 工具) + hub.js (HTTP Hub) + cursor-title.js - web/: panel.html (主面板) + panel.remote.html (远端 1637) - scripts/: ensure-hub.sh (stdio→http 桥) + mongo_sync.py - mcp-config/: trae.mcp.json + cursor.mcp.json - docs/: INSTALL / DEPLOY / MCP_SETUP / ARCHITECTURE / QUICKSTART - ZIP 原始安装包备查 关键机制: - 4 MCP 工具:init / select / wait / merge - 垂直绑定:workspace::cursorTitle@hostIp 三件指纹 - 真挂起:关闭 timedReply 后 wait 真正阻塞,agent turn 不结束 - 双 Hub 部署:远端 NAS 24×7 + 本地 launchd 守护备份 - 三形态组合:远端 + 本地 + Trae 插件,可同时跑
37 lines
952 B
JSON
37 lines
952 B
JSON
{
|
||
"mcpServers": {
|
||
"codegraph": {
|
||
"type": "stdio",
|
||
"command": "/Users/karuo/Documents/个人/卡若AI/04_卡火(火)/火种_知识模型/CodeGraph_MCP语义代码图谱/脚本/codegraph_mcp_serve.sh",
|
||
"args": [
|
||
"${workspaceFolder}"
|
||
],
|
||
"disabled": false,
|
||
"autoApprove": [
|
||
"codegraph_search",
|
||
"codegraph_callers",
|
||
"codegraph_callees",
|
||
"codegraph_impact",
|
||
"codegraph_node",
|
||
"codegraph_context",
|
||
"codegraph_explore",
|
||
"codegraph_files",
|
||
"codegraph_status"
|
||
]
|
||
},
|
||
"persistent-chat": {
|
||
"command": "node",
|
||
"args": [
|
||
"/Users/karuo/.cursor-loop/bridge.js",
|
||
"--workspace=/Users/karuo/Documents/个人"
|
||
],
|
||
"disabled": false,
|
||
"autoApprove": [
|
||
"wait_for_user_input",
|
||
"init_conversation",
|
||
"merge_conversation",
|
||
"select_conversation"
|
||
]
|
||
}
|
||
}
|
||
} |