Webmcp MCP Server
Early WebMCP proposal / implementation - since evolved and worked on by much more capable folks that develop the web: https://github.com/webmachinelearning/webmcp
Webmcp scores 36 (Limited), licensed MIT and written in JavaScript. It installs as a local process. It does not declare tools yet. Filed under AI and memory. GitHub shows 961 stars. Package registries report about 673 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
36 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, no docs link.
How quality is graded
Where the 36 comes from
0 + 5 + 10 + 10 + 4 + 7 = 36. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 10 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "jasonjmcghee-webmcp": { "command": "npx", "args": [ "-y", "@jason.today/webmcp" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Added For Clarification: February 12th, 2026
You likely want the official W3C repo + spec: https://github.com/webmachinelearning/webmcp
This was an early WebMCP proposal / implementation. I was just a guy with a dream.
The idea of WebMCP has since evolved and is being worked on by much more capable folks that develop the web.
This implementation is not compliant with the W3C spec.
All this being said, please do feel free to try it out, as it demonstrates the value of WebMCP.
WebMCP
A proposal and code for websites to support client side LLMs
WebMCP allows websites to share tools, resources, prompts, etc. to LLMs. In other words, WebMCP allows a website to be an MCP server. No sharing API Keys. Use any model you want.
Here's a simple website I built that is WebMCP-enabled
It comes in the form of a widget that a website owner can put on their site and expose tools to give client-side LLMs what they need to provide a great UX for the user or agent.
The look, feel, how it's used, and security are all absolutely open for contribution / constructive criticism. MCP Clients directly building WebMCP functionality seems like an ideal outcome.
An end-user can connect to any number of websites at a time - and tools are "scoped" (by name) based on the domain to simplify organization.
Super Quick Demo (20 seconds, Sound on ๐)
https://github.com/user-attachments/assets/61229470-1242-401e-a7d9-c0d762d7b519
Getting started (using your LLM with websites using WebMCP)
Installation
Just specify your MCP client (claude, cursor, cline, windsurf, or a path to json)
npx -y @jason.today/webmcp@latest --config claude
If you're interested in setting it up manually, use the command npx -y @jason.today/webmcp@latest --mcp.
Auto-install was inspired by Smithery, but their code is AGPL so I wrote this myself. If it doesn't work for you or you don't see your mcp client, please file an issue.
Using WebMCP
When you're ready to connect to a website, you can ask your model to generate you an mcp token.
Copy the token and paste it to the website's input. As soon as the website registers with it, it's thrown away and cannot be used for subsequent registrations or anything else. The website will receive its own session token for making requests.
If you'd rather your model / service never see the token, you can manually execute npx @jason.today/webmcp --new instead.
Some MCP clients, including Claude Desktop, need to be restarted to get access to new tools. (at least at time of writing)
To disconnect, you can close the browser tab, click "disconnect", or shut down the server with npx @jason.today/webmcp -q.
All configuration files are stored in ~/.webmcp directory.
Getting started (adding WebMCP to your website)
To use WebMCP, simply include webmcp.js on your page (via src or directly):
<script src="webmcp.js"></script>
The WebMCP widget will automatically initialize and appear in the bottom right corner of your page. Clicking on it will ask for a webmcp token which the end-user will generate.
Full Demo (3 minutes)
https://github.com/user-attachments/assets/43ad160a-846d-48ad-9af9-f6d537e78473
More Info About How It Works
The bridge between the MCP client and the website is a localhost-only (not accessible to requests outside your computer) websocket server. Because it is configured to allow requests from your local web browser, authentication / token exchange is required, in case you visit a website attempting to abuse this.
Ideally the web browser itself would have an explicit permission for this, like webcam or microphone use.
- The MCP client connects to the
/mcppath using the server token from.env(auto-generated) - The server generates a registration token (instigated via the built-in mcp tool by a model or the
--newcommand) - Web clients connect to the
/registerendpoint with this token and its domain. - Web pages connect to their assigned channel based on their domain.
- When an LLM wants to use a tool / resource / prompt, the request flows from:
- MCP Client โ MCP Server โ WebSocket Server โ Web Page with the tool / resource / prompt
- (similar for requesting a list of tools / resources / prompts)
- The web page performs the request (e.g. call tool) and sends the result back through the same path
- Multiple web pages can be connected simultaneously, each with their own set of tools and tokens
- The MCP client sees all tools as a unified list, with channel prefixes to avoid name collisions
sequenceDiagram
participant User
participant MCP as MCP Client
participant Server as MCP Server
participant WS as WebSocket Server
participant Web as Website
%% Initial connection
MCP->>Server: Connect to /mcp with internal server token
%% Website registration token
User->>MCP: Request registration token
MCP->>Server: Request registration token
Server-->>MCP: Return registration token
MCP-->>User: Display registration token
%% Website registration
User->>Web: Paste registration token
Web->>WS: Connect to /register with token & domain (registration token deleted)
WS-->>Web: Assign channel & session token
Web->>WS: Connect to assigned channel
%% Tool interaction
MCP->>Server: Request tools list
Server->>WS: Forward request
WS->>Web: Request tools
Web-->>WS: Return tools list
WS-->>Server: Forward tools list
Server-->>MCP: Return tools list
%% Tool execution
MCP->>Server: Tool request
Server->>WS: Forward request
WS->>Web: Execute tool
Web-->>WS: Return result
WS-->>Server: Forward result
Server-->>MCP: Return result
%% Disconnection
User->>Web: Disconnect
Web->>WS: Close connection
Security
This is a super early project. I'm very interested in hardening security to prevent malicious extensions etc. from being able to perform prompt injection attacks and similar. If you have constructive ideas, please reach out or open an issue.
Built in tools
- Token generator (for connecting to WebMCP websites)
- MCP Tool Definer (to simplify building the schema of a tool for use with MCP)
- You can ask for the javascript (if relevant) in a follow-up message for use with WebMCP
Docker
There is a Dockerfile specifically for Smithery deployment.
If you'd like to use docker to run the websocket server, I've added a docker-compose.yml for demonstration purposes.
If --docker is provided to the mcp client config alongside --mcp, it will assume the server is running. This will allow you to dockerize the main process (websocket server), and your mcp client will connect to your docker container via websocket. Similarly, websites will communicate with your docker container.
Frequently asked questions
What is Webmcp MCP Server?
Early WebMCP proposal / implementation - since evolved and worked on by much more capable folks that develop the web: https://github.com/webmachinelearning/webmcp
How do I install Webmcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Webmcp MCP Server runs locally from the npm package @jason.today/webmcp with the command npx -y @jason.today/webmcp.
Is Webmcp MCP Server free and open source?
Yes. Webmcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Webmcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Webmcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Webmcp MCP Server's trust score calculated?
Webmcp MCP Server scores 36 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetโBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.