@ada-mcp/mcp-server 0.1.27 → 0.1.29
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 +19 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,29 +6,29 @@ ADA MCP server package that supports:
|
|
|
6
6
|
- Remote HTTP mode (`server`) with API key authentication
|
|
7
7
|
- MCP **Streamable HTTP** on `POST|GET|DELETE /mcp` (same port as legacy REST), with optional SSE per MCP spec (`@modelcontextprotocol/sdk` transport)
|
|
8
8
|
|
|
9
|
-
## 标准安装(
|
|
9
|
+
## 标准安装(MCP)
|
|
10
10
|
|
|
11
|
-
请使用 **`@ada-mcp/launcher@0.1.
|
|
11
|
+
请使用 **`@ada-mcp/launcher@0.1.29`** 拉起本包(见 [launcher README](../ada-mcp-launcher/README.md)):
|
|
12
12
|
|
|
13
13
|
```json
|
|
14
14
|
{
|
|
15
15
|
"mcpServers": {
|
|
16
16
|
"ada-mcp": {
|
|
17
17
|
"command": "pnpm",
|
|
18
|
-
"args": ["dlx", "@ada-mcp/launcher@0.1.
|
|
18
|
+
"args": ["dlx", "@ada-mcp/launcher@0.1.29"]
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
本包版本:**`@ada-mcp/mcp-server@0.1.
|
|
24
|
+
本包版本:**`@ada-mcp/mcp-server@0.1.29`**(由 launcher 默认拉取;依赖锁定 `playwright@1.59.1`)。
|
|
25
25
|
|
|
26
26
|
直接调试本包(无 launcher 拉包前测速):
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
pnpm dlx @ada-mcp/mcp-server@0.1.
|
|
29
|
+
pnpm dlx @ada-mcp/mcp-server@0.1.29
|
|
30
30
|
# npx 等价:
|
|
31
|
-
npx -y @ada-mcp/mcp-server@0.1.
|
|
31
|
+
npx -y @ada-mcp/mcp-server@0.1.29
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
## 启动时自动安装依赖(默认仅 Playwright)
|
|
@@ -54,15 +54,15 @@ npx -y @ada-mcp/mcp-server@0.1.27
|
|
|
54
54
|
- `ADA_PLAYWRIGHT_INSTALL_TIMEOUT_MS`:浏览器下载超时(默认 30 分钟 / 1800000ms)
|
|
55
55
|
- `ADA_INSTALL_STRATEGY_TIMEOUT_MS`:npm 装包超时(默认 2 分钟)
|
|
56
56
|
|
|
57
|
-
##
|
|
57
|
+
## 代理与镜像
|
|
58
58
|
|
|
59
|
-
| 阶段 |
|
|
60
|
-
|
|
61
|
-
| `pnpm dlx @ada-mcp/launcher` |
|
|
62
|
-
| `pnpm dlx @ada-mcp/mcp-server` |
|
|
63
|
-
| 启动后 `install-deps` |
|
|
59
|
+
| 阶段 | 说明 |
|
|
60
|
+
|------|------|
|
|
61
|
+
| `pnpm dlx @ada-mcp/launcher` | 拉包前 registry 测速(推荐) |
|
|
62
|
+
| `pnpm dlx @ada-mcp/mcp-server` | 依赖安装由 preinstall / `install-deps` 测速 |
|
|
63
|
+
| 启动后 `install-deps` | npm 与 Playwright CDN 候选测速 |
|
|
64
64
|
|
|
65
|
-
默认 npm
|
|
65
|
+
默认 npm 候选:npmmirror → 腾讯云 → 华为云 → npm 官方。
|
|
66
66
|
|
|
67
67
|
| 变量 | 说明 |
|
|
68
68
|
|------|------|
|
|
@@ -83,27 +83,27 @@ npx -y @ada-mcp/mcp-server@0.1.27
|
|
|
83
83
|
在标准 `args` 后追加,例如安装全部依赖:
|
|
84
84
|
|
|
85
85
|
```json
|
|
86
|
-
"args": ["dlx", "@ada-mcp/launcher@0.1.
|
|
86
|
+
"args": ["dlx", "@ada-mcp/launcher@0.1.29", "--install-deps=all"]
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
##
|
|
89
|
+
## MCP Host 配置示例
|
|
90
90
|
|
|
91
|
-
**pnpm(推荐)**:`pnpm` + `dlx @ada-mcp/launcher@0.1.
|
|
91
|
+
**pnpm(推荐)**:`pnpm` + `dlx @ada-mcp/launcher@0.1.29`
|
|
92
92
|
|
|
93
|
-
**npx
|
|
93
|
+
**npx 等价**:`npx` + `-y @ada-mcp/launcher@0.1.29`(内层同样 `npx -y` mcp-server,测速逻辑与 pnpm 一致)
|
|
94
94
|
|
|
95
95
|
```json
|
|
96
96
|
{
|
|
97
97
|
"mcpServers": {
|
|
98
98
|
"ada-mcp": {
|
|
99
99
|
"command": "npx",
|
|
100
|
-
"args": ["-y", "@ada-mcp/launcher@0.1.
|
|
100
|
+
"args": ["-y", "@ada-mcp/launcher@0.1.29"]
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
Windows 若找不到 `pnpm`,可将 `command` 改为 `pnpm.cmd` 绝对路径;无 pnpm 时只能直接 `npx -y @ada-mcp/mcp-server@0.1.
|
|
106
|
+
Windows 若找不到 `pnpm`,可将 `command` 改为 `pnpm.cmd` 绝对路径;无 pnpm 时只能直接 `npx -y @ada-mcp/mcp-server@0.1.29`(无 launcher 拉包测速)。
|
|
107
107
|
|
|
108
108
|
## Remote mode
|
|
109
109
|
|