Skip to content

Releases: charleswei118/web2mcp

v0.2.0 — catalog mode: 665 endpoints in ~300 tokens

Choose a tag to compare

@charleswei118 charleswei118 released this 31 Oct 12:36
fb3c3bb

Highlights

Catalog mode. Exposing every endpoint as its own MCP tool floods the model's context. Catalog mode exposes just two tools, search_api and call_api.

GitHub REST spec (665 GET operations) Tools Approx. context
Default mode 665 ~147,000 tokens
Catalog mode 2 ~300 tokens

Try it on the demo: https://web2mcp.cwei59969.workers.dev/mcp?mode=catalog, or set TOOL_MODE = "catalog" for your own deployment.

One-click deploy. The Deploy to Cloudflare button now asks for an AUTH_TOKEN and explains each setting, so a fresh deployment is protected from the start.

Also

  • scripts/openapi2connector.js: fixed an infinite loop when truncated tool names collide
  • Published to the official MCP Registry as io.github.charleswei118/web2mcp
  • Zero runtime dependencies, as before

Full notes in CHANGELOG.md.

v0.1.0 – first public release

Choose a tag to compare

@charleswei118 charleswei118 released this 31 Oct 09:20

First public release of web2mcp, a zero-dependency MCP gateway for Cloudflare Workers.

Highlights

  • MCP Streamable HTTP (JSON-RPC 2.0): initialize, tools/list, tools/call, ping
  • Config-driven connectors: validation, defaults, enums, regex, path/query/body templates, ${SECRET} and optional ${?SECRET}
  • Response trimming with pick / fields
  • Optional bearer auth (AUTH_TOKEN), CONNECTORS_JSON, ENABLED_CONNECTORS
  • OpenAPI 3 → connector converter (scripts/openapi2connector.js)
  • Built-in connectors: Wikipedia, Hacker News, Open-Meteo geocode + weather, Frankfurter currency, GitHub, Jina Reader

Try it

Live demo endpoint: https://web2mcp.cwei59969.workers.dev/mcp

Or deploy your own with the Deploy to Cloudflare button in the README.