@atlisp/mcp 1.0.3 → 1.0.4
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 +79 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,85 @@ npm i -g @atlisp/mcp
|
|
|
21
21
|
|
|
22
22
|
## 使用方法
|
|
23
23
|
|
|
24
|
+
### Agent MCP 配置
|
|
25
|
+
|
|
26
|
+
#### OpenHands / OpenDeepResearcher
|
|
27
|
+
|
|
28
|
+
在配置中添加:
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"mcp_servers": {
|
|
33
|
+
"atlisp-mcp": {
|
|
34
|
+
"command": "atlisp-mcp",
|
|
35
|
+
"args": [],
|
|
36
|
+
"env": {
|
|
37
|
+
"TRANSPORT": "stdio"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
#### OpenClaude
|
|
45
|
+
|
|
46
|
+
在配置文件中添加:
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
mcp_servers:
|
|
50
|
+
atlisp-mcp:
|
|
51
|
+
command: atlisp-mcp
|
|
52
|
+
env:
|
|
53
|
+
TRANSPORT: stdio
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
#### Hermes (Claude 独立版)
|
|
57
|
+
|
|
58
|
+
在 Hermes 设置中找到 MCP Server 配置,添加:
|
|
59
|
+
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"name": "atlisp-mcp",
|
|
63
|
+
"command": "atlisp-mcp",
|
|
64
|
+
"args": [],
|
|
65
|
+
"env": {
|
|
66
|
+
"TRANSPORT": "stdio"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
#### Cline / Cursor / Windsurf
|
|
72
|
+
|
|
73
|
+
在这些 IDE 的 MCP 设置中添加:
|
|
74
|
+
|
|
75
|
+
```json
|
|
76
|
+
{
|
|
77
|
+
"mcpServers": {
|
|
78
|
+
"atlisp-mcp": {
|
|
79
|
+
"command": "atlisp-mcp",
|
|
80
|
+
"args": [],
|
|
81
|
+
"env": {
|
|
82
|
+
"TRANSPORT": "stdio"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
#### 使用 HTTP 模式
|
|
90
|
+
|
|
91
|
+
如果 agent 不支持 stdio,可以改用 HTTP 模式:
|
|
92
|
+
|
|
93
|
+
```json
|
|
94
|
+
{
|
|
95
|
+
"mcpServers": {
|
|
96
|
+
"atlisp-mcp": {
|
|
97
|
+
"url": "http://localhost:8110/mcp"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
24
103
|
### 启动服务器
|
|
25
104
|
|
|
26
105
|
**同时支持HTTP 和studio模式**:
|