hon2be

Webmcp Gate — Development skill for Claude Code

Development community

Authenticated bridge from a logged-in web app tab to Claude Code, Codex and other MCP agents over a local WebSocket (no browser extension).

How to install Webmcp Gate

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hon2be/webmcp-gate and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Webmcp Gate does

Authenticated bridge from a logged-in web app tab to Claude Code, Codex and other MCP agents over a local WebSocket (no browser extension).

Alternatives in Development

  • Feishu Claude Code — Bridge Claude Code CLI with Feishu/Lark via WebSocket 85 ★
  • Review Extension — Browser-extension + bridge review with extension-reviewer (Primary Owner) 52 ★
  • Claude Session Viewer — Session Explorer: a local web app for browsing Claude Code and OpenAI Codex CLI session histories, built with 42 ★

README

webmcp-gate

[![hon2be/webmcp-gate MCP server](https://glama.ai/mcp/servers/hon2be/webmcp-gate/badges/score.svg)](https://glama.ai/mcp/servers/hon2be/webmcp-gate)

Let an agent use the tools of a web app you are logged in to, safely.

A small local relay connects your page to Claude Code, Codex or any MCP agent. Risky actions are approved by a person in the page, not by the agent. No browser extension. [한국어](README.ko.md)

agent ──(MCP · stdio)──▶ relay ◀──(WebSocket · 127.0.0.1)── your logged-in tab
                                                            runs the tools, asks you to approve

**Experimental** (`0.1.0-alpha.0`). Tried on macOS in headless Chrome, with a live Codex session and a live Claude Code session (read-only calls). Not tried on a production app or other browsers. [What was checked](docs/status.md)

Why this one

  • A pairing code per session, never sent: both sides only prove they know it.
  • Allowed origins are listed one by one. No wildcard, nothing to switch off.
  • A person approves risky actions in the page, and the relay re-checks the call afterwards.
  • Thousands of tools? The agent gets search, describe, read and call.
  • Your own MCP tools with registerTool in a config file.

Try it

git clone https://github.com/hon2be/webmcp-gate && cd webmcp-gate
npm install && npm run build
node examples/serve.mjs 01-hello        # the page, on http://localhost:3000

In another terminal:

cd examples/01-hello/server
node ../../../plugins/claude/dist/cli.mjs trust   # approve the example config
claude --plugin-dir ../../../plugins/claude

Ask "show the webmcp-gate status", paste the `wgate1.…` string into the page, press **Connect**, then ask the agent to read `demo.echo`. For the approval dialog, try [`examples/02-approval`](examples/02-approval).

Install the plugin

# Claude Code
/plugin marketplace add hon2be/webmcp-gate
/plugin install webmcp-gate@webmcp-gate

# Codex
codex plugin marketpl