chaimi-bookkeeping-mcp 3.1.7 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/bin/cli.js +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,10 +13,13 @@
|
|
|
13
13
|
### 方式一:npm 全局安装(推荐)
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
# 安装
|
|
16
|
+
# 1. 安装 MCPorter(WorkBuddy/OpenClaw 等 OpenClaw 架构的 Agent 必需)
|
|
17
|
+
npm install -g mcporter
|
|
18
|
+
|
|
19
|
+
# 2. 安装柴米记账 MCP
|
|
17
20
|
npm install -g chaimi-bookkeeping-mcp
|
|
18
21
|
|
|
19
|
-
# 启动(自动配置 mcporter)
|
|
22
|
+
# 3. 启动(自动配置 mcporter)
|
|
20
23
|
chaimi-bookkeeping-mcp
|
|
21
24
|
```
|
|
22
25
|
|
package/bin/cli.js
CHANGED
|
@@ -35,17 +35,35 @@ const SUPPORTED_AGENTS = [
|
|
|
35
35
|
configPath: path.join(os.homedir(), '.mcporter', 'mcporter.json'),
|
|
36
36
|
format: 'json'
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
name: 'WorkBuddy (Windows)',
|
|
40
|
+
configPath: path.join(os.homedir(), 'workbuddy', 'mcp.json'),
|
|
41
|
+
format: 'json',
|
|
42
|
+
platform: 'win32'
|
|
43
|
+
},
|
|
38
44
|
{
|
|
39
45
|
name: 'Claude Desktop',
|
|
40
46
|
configPath: path.join(os.homedir(), 'Library/Application Support/Claude/claude_desktop_config.json'),
|
|
41
47
|
format: 'json',
|
|
42
48
|
platform: 'darwin'
|
|
43
49
|
},
|
|
50
|
+
{
|
|
51
|
+
name: 'Claude Desktop (Windows)',
|
|
52
|
+
configPath: path.join(process.env.APPDATA || path.join(os.homedir(), 'AppData', 'Roaming'), 'Claude', 'claude_desktop_config.json'),
|
|
53
|
+
format: 'json',
|
|
54
|
+
platform: 'win32'
|
|
55
|
+
},
|
|
44
56
|
{
|
|
45
57
|
name: 'Cursor',
|
|
46
58
|
configPath: path.join(os.homedir(), '.cursor', 'mcp.json'),
|
|
47
59
|
format: 'json'
|
|
48
60
|
},
|
|
61
|
+
{
|
|
62
|
+
name: 'Cursor (Windows)',
|
|
63
|
+
configPath: path.join(os.homedir(), '.cursor', 'mcp.json'),
|
|
64
|
+
format: 'json',
|
|
65
|
+
platform: 'win32'
|
|
66
|
+
},
|
|
49
67
|
{
|
|
50
68
|
name: 'Windsurf',
|
|
51
69
|
configPath: path.join(os.homedir(), '.codeium', 'windsurf', 'mcp_config.json'),
|