@atlisp/mcp 1.0.2 → 1.0.3
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 +7 -13
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,37 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
MCP (Model Context Protocol) Server for @lisp on CAD - 为 CAD 环境提供 @lisp 包管理服务的 MCP 服务器。
|
|
4
4
|
|
|
5
|
+
同时为 AI AGENT 操控 cad 提供调用工具和通道。
|
|
6
|
+
|
|
5
7
|
## 功能特性
|
|
6
8
|
|
|
7
9
|
- 连接 AutoCAD/ZWCAD/GStarCAD/BricsCAD
|
|
8
10
|
- 执行 AutoLISP 代码
|
|
9
|
-
- 管理 @lisp 包(列出、搜索、安装)
|
|
10
11
|
- 获取 CAD 平台信息
|
|
11
12
|
- 通过 MCP 协议提供标准化接口
|
|
13
|
+
- 管理 @lisp 包(列出、搜索、安装)
|
|
14
|
+
|
|
12
15
|
|
|
13
16
|
## 安装
|
|
14
17
|
|
|
15
18
|
```bash
|
|
16
|
-
|
|
17
|
-
npm install
|
|
19
|
+
npm i -g @atlisp/mcp
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
## 使用方法
|
|
21
23
|
|
|
22
24
|
### 启动服务器
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
**同时支持HTTP 和studio模式**:
|
|
25
27
|
```bash
|
|
26
|
-
|
|
27
|
-
# 或
|
|
28
|
-
TRANSPORT=http node src/index.js
|
|
28
|
+
atlisp-mcp
|
|
29
29
|
```
|
|
30
|
-
|
|
31
|
-
**Stdio 模式**(用于 MCP 客户端):
|
|
32
|
-
```bash
|
|
33
|
-
TRANSPORT=stdio node src/index.js
|
|
34
|
-
```
|
|
35
|
-
|
|
36
30
|
### 环境变量
|
|
37
31
|
|
|
38
32
|
| 变量 | 默认值 | 说明 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlisp/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "MCP Server for @lisp on CAD",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"type": "git",
|
|
32
32
|
"url": "https://gitee.com/atlisp/atlisp-kernel.git"
|
|
33
33
|
},
|
|
34
|
-
"homepage": "https://gitee.com/atlisp
|
|
34
|
+
"homepage": "https://gitee.com/atlisp",
|
|
35
35
|
"bugs": {
|
|
36
|
-
"url": "https://gitee.com/
|
|
36
|
+
"url": "https://gitee.com/organizations/atlisp/issues"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@modelcontextprotocol/sdk": "^1.0.0",
|