chore: Cursor 全面替换 co-chat → pchat 配置真源

- cursor-config/ 项目级+用户级 MCP 与 rules 模板
- deploy-cursor-config.sh 一键部署
- retire_cochat.sh 支持 patchNativeOk 并自动卸载扩展
- mcp-config/cursor.mcp.json 同步 ensure-hub 唯一套

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
卡若AI
2026-06-29 17:51:28 +08:00
parent e96960ab52
commit 64c3b23468
8 changed files with 580 additions and 35 deletions

View File

@@ -0,0 +1,40 @@
{
"mcpServers": {
"persistent-chat": {
"type": "stdio",
"command": "/Users/karuo/.persistent-chat-local/ensure-hub.sh",
"args": ["--workspace=/Users/karuo/Documents/个人"],
"env": {
"PCHAT_HTTP_PORT": "13458",
"PCHAT_NODE": "/usr/local/opt/node@22/bin/node",
"PCHAT_WORKSPACE": "/Users/karuo/Documents/个人",
"PCHAT_VSIX_4TOOLS": "1",
"PCHAT_TOOL_SET": "4"
},
"disabled": false,
"autoApprove": [
"wait_for_user_input",
"init_conversation",
"merge_conversation",
"select_conversation"
]
},
"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"
]
}
}
}