docs(update):更新Arabica v0.1.1 README文件中关于json配置的输入和导入
Signed-off-by: gzkoala <guohao@gitconomy.org>
This commit is contained in:
@@ -122,20 +122,45 @@ const OBSIDIAN_VAULT_PATH = '/your/actual/vault/path';
|
||||
## 6. 客户端接入联调(以 Cherry Studio 为例)
|
||||
|
||||
1. 打开 Cherry Studio,进入 **设置 → MCP**。
|
||||
|
||||
2. 添加新的 Server 配置:
|
||||
- **名称**:`ProjectCaffeine-Sprint2`
|
||||
- **Command**:`node`
|
||||
- **Args**:`["--inspect=9230", "/home/wguo/Downloads/Project-Caffeine/projects/arabica/sprint2/dist/app.js"]`
|
||||
- **Args**:`[--inspect=9230, /home/wguo/Downloads/Project-Caffeine/projects/arabica/sprint2/dist/app.js]`
|
||||
(`--inspect` 端口可自定义,用于 VS Code 调试)
|
||||
|
||||
或者通过导入json
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"Project Caffeine": {
|
||||
"isActive": true,
|
||||
"name": "Project Caffeine",
|
||||
"type": "stdio",
|
||||
"description": "",
|
||||
"baseUrl": "",
|
||||
"command": "node",
|
||||
"args": [
|
||||
"--inspect=9229",
|
||||
"/home/wguo/Downloads/Project-Caffeine/projects/arabica/sprint2/dist/app.js"
|
||||
],
|
||||
"env": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
3. 保存后状态灯应为绿色。
|
||||
|
||||
4. 若需调试,在 VS Code 中运行“附加到进程”(监听相应端口),即可拦截所有原语调用。
|
||||
|
||||
---
|
||||
|
||||
## 7. Sprint2 文档
|
||||
|
||||
- Sprint2 [设计文档](./../../docs/design/arabica-sprint2-architecture-specification.md)
|
||||
- Sprint2 [开发指南](./../../docs/design/arabica-srpint2-development-specification.md)
|
||||
- Sprint2 [设计文档](./docs/arabica-sprint2-architecture-specification.md)
|
||||
- Sprint2 [开发指南](./docs/arabica-sprint2-development-specification.md)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user