webmcp-bridge

ElBartoTn/webmcp-bridge
★ 0 stars TypeScript Browser/Web Updated 7d ago
Expose a page's WebMCP tools as a real MCP server: an in-page JSON-RPC handler (initialize/tools/list/tools/call) over a pluggable transport.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "webmcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "ElBartoTn/webmcp-bridge"
      ]
    }
  }
}

README Excerpt

Expose a page's [WebMCP](https://github.com/webmachinelearning/webmcp) tools as a **real MCP server**. `createMcpBridge` is an in-page JSON-RPC handler that speaks the Model Context Protocol methods — `initialize`, `tools/list`, `tools/call`, and `ping` — reading from the tools your page registered via `navigator.modelContext.registerTool`, over a **pluggable transport** you supply (WebSocket, postMessage, an extension port, anything).

Tools (8)

initializepingprotocolVersionsearch_hotelsserverInfotargettoolstransport

Topics

ai-agentsjson-rpcmcpmodel-contextwebmcp