2026-03-23 18:31:11 +01:00
|
|
|
{
|
|
|
|
|
"name": "create-webclaw",
|
fix(create-webclaw): repair binary install on Windows (and all platforms)
`npx create-webclaw` never used the prebuilt binary on any platform and
silently fell back to `cargo install`, which fails with "'cargo' is not
recognized" / "cargo: not found" unless Rust is installed. Four bugs:
1. Asset name mismatch: getAssetName() hardcoded `webclaw-mcp-<target>`,
but release assets are `webclaw-<tag>-<target>` (versioned, no `mcp-`
infix). The `find()` always returned undefined, so the prebuilt path
was never taken — on every OS, not just Windows. Now the asset name is
built from the release tag_name + a platform→target map.
2. `unzip` is absent on Windows. The `.zip` branch now uses PowerShell
`Expand-Archive` (ships with Windows 10/11) and keeps `unzip` only for
the non-Windows case.
3. The prebuilt failure was swallowed by a bare `catch {}`, hiding the
real cause (a 403 is almost always a GitHub API rate limit). The error
is now surfaced, with a rate-limit hint + GITHUB_TOKEN support on the
api.github.com request (token dropped on CDN redirects).
4. (missed by the report's own suggested fix) Archives extract into a
`webclaw-<tag>-<target>/` subdirectory holding three binaries, so the
old `chmod(BINARY_PATH)` hit a nonexistent path. webclaw-mcp is now
lifted out of that subdir to BINARY_PATH and the rest is cleaned up.
BINARY_NAME/BINARY_PATH also gain the `.exe` suffix on Windows so the
written MCP config points at a real file.
Tested in Docker (no Windows machine available):
- Linux amd64 + arm64 on Debian trixie: full flow installs the binary and
it answers a real MCP initialize handshake (serverInfo webclaw-mcp
0.6.13, 12 tools).
- Windows .zip path validated against the real release zip: Expand-Archive
equivalent extraction, nested `.exe` resolved + lifted, PE header `MZ`.
Executing the .exe needs Windows (the reporter confirmed that on Win11).
- Bug 3: with the GitHub API blocked, the new build prints the real reason
instead of "No pre-built binary found".
Closes #71
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 11:58:14 +02:00
|
|
|
"version": "0.1.5",
|
2026-04-02 11:33:43 +02:00
|
|
|
"mcpName": "io.github.0xMassi/webclaw",
|
2026-03-23 18:31:11 +01:00
|
|
|
"description": "Set up webclaw MCP server for AI agents (Claude, Cursor, Windsurf, OpenCode, Codex, Antigravity)",
|
|
|
|
|
"bin": {
|
|
|
|
|
"create-webclaw": "./index.mjs"
|
|
|
|
|
},
|
|
|
|
|
"type": "module",
|
|
|
|
|
"keywords": [
|
|
|
|
|
"webclaw",
|
|
|
|
|
"mcp",
|
2026-04-02 11:33:43 +02:00
|
|
|
"mcp-server",
|
2026-03-23 18:31:11 +01:00
|
|
|
"ai",
|
2026-04-02 11:33:43 +02:00
|
|
|
"ai-agent",
|
2026-03-23 18:31:11 +01:00
|
|
|
"scraping",
|
2026-04-02 11:33:43 +02:00
|
|
|
"web-scraping",
|
|
|
|
|
"scraper",
|
|
|
|
|
"crawler",
|
|
|
|
|
"extract",
|
|
|
|
|
"markdown",
|
|
|
|
|
"llm",
|
2026-03-23 18:31:11 +01:00
|
|
|
"claude",
|
|
|
|
|
"cursor",
|
|
|
|
|
"windsurf",
|
|
|
|
|
"opencode",
|
|
|
|
|
"codex",
|
|
|
|
|
"antigravity",
|
2026-04-02 11:33:43 +02:00
|
|
|
"tls-fingerprint",
|
|
|
|
|
"cloudflare-bypass"
|
2026-03-23 18:31:11 +01:00
|
|
|
],
|
|
|
|
|
"author": "webclaw",
|
2026-04-02 11:33:43 +02:00
|
|
|
"license": "AGPL-3.0",
|
2026-03-23 18:31:11 +01:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/0xMassi/webclaw"
|
|
|
|
|
},
|
|
|
|
|
"homepage": "https://webclaw.io",
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=18"
|
|
|
|
|
}
|
|
|
|
|
}
|