@zhengcankai/mind-map-mcp 3.0.1 → 3.0.2

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.
Files changed (2) hide show
  1. package/README.md +9 -22
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,13 +20,13 @@
20
20
  ### 通过 NPM 安装
21
21
 
22
22
  ```bash
23
- npm install -g @lucianaib/mind-map-mcp
23
+ npm install -g @zhengcankai/mind-map-mcp
24
24
  ```
25
25
 
26
26
  ### 通过 npx 直接使用
27
27
 
28
28
  ```bash
29
- npx @lucianaib/mind-map-mcp
29
+ npx @zhengcankai/mind-map-mcp
30
30
  ```
31
31
 
32
32
  ## 配置
@@ -42,29 +42,16 @@ npx @lucianaib/mind-map-mcp
42
42
  "mcpServers": {
43
43
  "mind-map": {
44
44
  "command": "npx",
45
- "args": ["@lucianaib/mind-map-mcp"]
45
+ "args": ["@zhengcankai/mind-map-mcp"],
46
+ "env": {
47
+ "COZE_API_TOKEN": "your_coze_api_token",
48
+ "COZE_WORKFLOW_ID": "your_workflow_id"
49
+ }
46
50
  }
47
51
  }
48
52
  }
49
53
  ```
50
54
 
51
- ![CodeBuddy 配置成功示例.png](src\CodeBuddy 配置成功示例.png)
52
-
53
- ### 在 Cursor 中配置
54
-
55
- 1. 打开 Cursor 设置 (Ctrl/Cmd + ,)
56
- 2. 搜索 "MCP"
57
- 3. 在 MCP 服务器配置中添加:
58
-
59
- ```json
60
- {
61
- "mind-map": {
62
- "command": "npx",
63
- "args": ["@lucianaib/mind-map-mcp"]
64
- }
65
- }
66
- ```
67
-
68
55
  ## 使用方法
69
56
 
70
57
  配置完成后,你可以在支持 MCP 的工具中使用以下功能:
@@ -102,7 +89,7 @@ npx @lucianaib/mind-map-mcp
102
89
 
103
90
  1. 克隆仓库:
104
91
  ```bash
105
- git clone git@github.com:OnePieceLwc/mind-map-mcp.git
92
+ git clone https://gitlab.funnymamu.com:9192/zhengcankai/mind-map-mcp.git
106
93
  cd mind-map-mcp
107
94
  ```
108
95
 
@@ -137,7 +124,7 @@ Mind-map-mcp/
137
124
 
138
125
  本工具使用 Coze API 来生成思维导图。API 详情:
139
126
 
140
- - **端点**: `https://api.coze.cn/v1/workflow/run`
127
+ - **端点**: `https://api.coze.cn/v1/workflow/stream_run`
141
128
  - **方法**: POST
142
129
  - **认证**: Bearer Token
143
130
  - **返回**: 思维导图图片链接
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhengcankai/mind-map-mcp",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "一个用于生成思维导图的 MCP 服务器",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",