openclaw-mcp 1.6.0 → 2.0.0-beta.1
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 +27 -10
- package/dist/index.js +988 -419
- package/docs/configuration.md +2 -1
- package/docs/deployment.md +1 -1
- package/docs/index.html +1 -1
- package/package.json +9 -3
package/docs/configuration.md
CHANGED
|
@@ -10,8 +10,9 @@ All configuration can be done via environment variables. Copy `.env.example` to
|
|
|
10
10
|
| ------------------------ | --------------------------------------- | ------------------------ |
|
|
11
11
|
| `OPENCLAW_URL` | OpenClaw gateway URL | `http://127.0.0.1:18789` |
|
|
12
12
|
| `OPENCLAW_GATEWAY_TOKEN` | Bearer token for gateway authentication | (none) |
|
|
13
|
-
| `OPENCLAW_TIMEOUT_MS` | Request timeout in milliseconds
|
|
13
|
+
| `OPENCLAW_TIMEOUT_MS` | Request timeout in milliseconds. For async (streamed) tasks this is an **idle** timeout — it resets on every received chunk, so long-running gateway work is only aborted when the stream goes silent. | `120000` (2 min) |
|
|
14
14
|
| `OPENCLAW_MODEL` | Model name for chat completions | `openclaw` |
|
|
15
|
+
| `OPENCLAW_TASK_CONCURRENCY` | How many async tasks run in parallel (1–20) | `3` |
|
|
15
16
|
|
|
16
17
|
### Multi-Instance Mode
|
|
17
18
|
|
package/docs/deployment.md
CHANGED
|
@@ -210,7 +210,7 @@ You're running behind a reverse proxy but haven't set `MCP_ISSUER_URL`. The OAut
|
|
|
210
210
|
|
|
211
211
|
### `POST /` or `GET /` returns 404 after OAuth succeeds
|
|
212
212
|
|
|
213
|
-
Your Claude.ai connector URL is missing the `/mcp` path. The MCP Streamable HTTP transport is mounted at `/mcp`, not at the server root (which is intentional — root is reserved for `/health`, `/.well-known/*`,
|
|
213
|
+
Your Claude.ai connector URL is missing the `/mcp` path. The MCP Streamable HTTP transport is mounted at `/mcp`, not at the server root (which is intentional — root is reserved for `/health`, `/.well-known/*`, and OAuth endpoints). Update the connector URL in Claude.ai to end with `/mcp`, e.g. `https://mcp.your-domain.com/mcp`.
|
|
214
214
|
|
|
215
215
|
### `invalid_request` / `Unregistered redirect_uri` on `/authorize`
|
|
216
216
|
|
package/docs/index.html
CHANGED
|
@@ -652,7 +652,7 @@ MCP_CLIENT_SECRET=$MCP_CLIENT_SECRET \
|
|
|
652
652
|
MCP_ISSUER_URL=https://mcp.your-domain.com \
|
|
653
653
|
CORS_ORIGINS=https://claude.ai \
|
|
654
654
|
OPENCLAW_GATEWAY_TOKEN=your-token \
|
|
655
|
-
npx openclaw-mcp --transport
|
|
655
|
+
npx openclaw-mcp --transport http --port 3000</code></pre>
|
|
656
656
|
</div>
|
|
657
657
|
</div>
|
|
658
658
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"mcpName": "io.github.freema/openclaw-mcp",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server for OpenClaw AI assistant integration",
|
|
6
6
|
"author": "Tomáš Grasl <https://www.tomasgrasl.cz/>",
|
|
@@ -40,10 +40,16 @@
|
|
|
40
40
|
"node": ">=20.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@modelcontextprotocol/
|
|
44
|
-
"
|
|
43
|
+
"@modelcontextprotocol/express": "^2.0.0-beta.4",
|
|
44
|
+
"@modelcontextprotocol/node": "^2.0.0-beta.4",
|
|
45
|
+
"@modelcontextprotocol/server": "^2.0.0-beta.4",
|
|
46
|
+
"express": "^5.2.1",
|
|
47
|
+
"express-rate-limit": "^8.6.0",
|
|
48
|
+
"yargs": "^17.7.2",
|
|
49
|
+
"zod": "^4.4.3"
|
|
45
50
|
},
|
|
46
51
|
"devDependencies": {
|
|
52
|
+
"@types/express": "^5.0.6",
|
|
47
53
|
"@types/node": "^20.11.0",
|
|
48
54
|
"@types/yargs": "^17.0.32",
|
|
49
55
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|