← Back to directory
W

WebMCP

Community
Expose website tools, resources, and prompts to client side LLMs.
Category
Browser #95 of 104
Stars
★ 966 Popular
Runtime
Node.js
Credentials
No credential needed
License
MIT
Last commit
⚠
Tools
2
40FMRS · D

This is an early implementation demonstrating MCP capabilities exposed by websites to client side LLMs. The README explicitly says it is not W3C compliant and describes security hardening as an open concern.

Strongest · Setup experience 10/20 Weakest · Reliability 6/20

Reliability
6/20
Security and permissions
7/20
Maintenance
8/20
Documentation
9/20
Setup experience
10/20
Why each score
Reliability 6/20
The README outlines MCP initialization, forwarding of tool and resource requests, responses from the web page, and disconnection, so a basic path appears plausible. However, there is no manifest, source, test, or CI evidence to verify the handshake implementation, declared tool behavior, error handling, or dependencies. Static evidence therefore does not establish reliability.
Security and permissions 7/20
The README describes a localhost WebSocket, a server token, one-time registration tokens, and domain-based session channels, indicating some authentication and scoping boundaries. The author also calls the project very early and says security hardening is still needed, citing malicious extensions and prompt injection; permission confirmation, data-flow disclosure, and token-protection details cannot be verified from the supplied material. The available evidence does not show a red-line issue, so no red-line score is applied.
Maintenance 8/20
The supplied repository details say the project is not archived and has an MIT license, with 7 open issues. The README points readers to the official successor and states that this implementation does not comply with the W3C specification. There is no evidence of commit or release cadence, issue response, or dependency updates, so ongoing maintenance and support are uncertain.
Documentation 9/20
The README provides an npx client setup example, website integration steps, token registration instructions, an architecture flow, built-in tools, and Docker notes. It also discloses that the implementation is not W3C-compliant and that security is early. Verifiable tool parameters, platform limits, troubleshooting, and dependency behavior are absent, and no server manifest is supplied.
Setup experience 10/20
The README gives an npx example for several mainstream clients, a manual configuration hint, website script integration steps, and disconnection instructions. The runtime and platform compatibility are unspecified, and there is no evidence of a verified configuration or end-to-end execution. Setup also requires generating and pasting a token, and some clients may need restarting.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkControls a browser

Best for

  • Developers or users exploring the early WebMCP concept who are willing to try an experimental implementation.
  • Website owners who want to add the WebMCP widget to their site.

Not for

  • Users who require an implementation compliant with the W3C WebMCP specification or formal standards compatibility.
  • Production deployments that require demonstrated strong security protections.

Required permissions

  • The MCP client connects to a local MCP/WebSocket server; a website page registers with a token and connects to its assigned channel.
  • Adding WebMCP to a website requires loading `webmcp.js` on the page.

Risks and side effects

  • The author describes the project as very early and says this implementation is not W3C compliant.
  • The README identifies malicious extensions and prompt injection among security concerns that still need hardening; a registration token is discarded on registration, while the page receives a session token.
  • Requests for website-provided tools are performed by the page; connect only sites you trust.

Setup

Before you start

Runtime:Node.js

The README gives npx -y @jason.today/webmcp@latest --mcp as the manual MCP setup command. It also documents npx -y @jason.today/webmcp@latest --config claude for Claude configuration. To connect a website, paste the model-generated registration token into the site's input. Restart the client if needed to load new tools.

MCP config · JSON
{"command":"npx","args":["-y","@jason.today/webmcp@latest","--mcp"]}

Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.

.vscode/mcp.json
{
  "command": "npx",
  "args": [
    "-y",
    "@jason.today/webmcp@latest",
    "--mcp"
  ]
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
{
  "command": "npx",
  "args": [
    "-y",
    "@jason.today/webmcp@latest",
    "--mcp"
  ]
}

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Check that it works

After connecting, check that token_generator and mcp_tool_definer appear in the client's tool list. Call token_generator to generate a registration token and confirm the server responds.

Troubleshooting

  1. Check that the client configuration uses a README command and the intended client name.
  2. Confirm the local server is running and the page registered with a valid token and connected.
  3. If new tools do not appear, restart the client; some clients require a restart.
  4. Check whether the tab was closed, disconnect was clicked, or the server was stopped with `npx @jason.today/webmcp -q`.

Things to try

Once connected, you can ask your AI assistant things like:

  • Generate a token for connecting to a WebMCP website.
  • Help me define the schema for an MCP tool.

Tools 2

token_generator writes
Generates a one-time registration token for connecting to WebMCP websites.
mcp_tool_definer read-only
Helps build an MCP tool schema; related JavaScript can be requested in a follow-up message.

Use cases

Try a website widget that exposes site tools, resources, and prompts to a client side LLM.
Use domain-scoped tools from multiple connected websites.

Overview

WebMCP is an early proposal and implementation for websites to expose tools, resources, and prompts to client side LLMs through a widget. It connects an MCP client to web pages through a localhost only WebSocket server and supports multiple connected sites with tools scoped by domain. This implementation is not compliant with the W3C WebMCP specification; the README points readers to the official W3C project.

Similar servers

Source revision d3a442733a8e Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/webmcp.svg)](https://followmcp.com/en/servers/webmcp)