@atlisp/mcp 1.0.4 → 1.0.5

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 -23
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,8 +15,16 @@ MCP (Model Context Protocol) Server for @lisp on CAD - 为 CAD 环境提供 @lis
15
15
 
16
16
  ## 安装
17
17
 
18
+ ### Windows (PowerShell)
19
+
20
+ ```powershell
21
+ iwr -useb https://atlisp.cn/install.ps1 | iex
22
+ ```
23
+
24
+ ### macOS / Linux
25
+
18
26
  ```bash
19
- npm i -g @atlisp/mcp
27
+ npm i -g @atlisp/mcp
20
28
  ```
21
29
 
22
30
  ## 使用方法
@@ -131,22 +139,6 @@ curl http://localhost:8110/health
131
139
 
132
140
  HTTP 模式:`POST http://localhost:8110/mcp`
133
141
 
134
- #### 列出工具
135
-
136
- ```bash
137
- curl -X POST http://localhost:8110/mcp \
138
- -H "Content-Type: application/json" \
139
- -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
140
- ```
141
-
142
- #### 调用工具
143
-
144
- ```bash
145
- curl -X POST http://localhost:8110/mcp \
146
- -H "Content-Type: application/json" \
147
- -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"工具名","arguments":{参数}}}'
148
- ```
149
-
150
142
  ## 可用工具
151
143
 
152
144
  | 工具名称 | 描述 | 参数 |
@@ -170,12 +162,6 @@ curl -X POST http://localhost:8110/mcp \
170
162
  - **GStarCAD** (文件扩展名: `.des`)
171
163
  - **BricsCAD** (文件扩展名: `.des`)
172
164
 
173
- ## 技术栈
174
-
175
- - **Runtime**: Node.js >= 18
176
- - **MCP SDK**: `@modelcontextprotocol/sdk`
177
- - **CAD 连接**: `edge-js` (通过 .NET COM 互操作)
178
-
179
165
  ## 工作原理
180
166
 
181
167
  1. MCP Server 通过 `edge-js` 调用 .NET 代码
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlisp/mcp",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "MCP Server for @lisp on CAD",
5
5
  "type": "module",
6
6
  "bin": {