# WebMCP

> Expose website tools, resources, and prompts to client side LLMs.

- **URL**: https://followmcp.com/en/servers/webmcp
- **Category**: Browser
- **Origin**: Community
- **Stars**: 966
- **FMRS Score**: 40/100 (Grade D)
- **Source**: https://github.com/jasonjmcghee/WebMCP

- **Runtimes**: Node.js
- **Auth**: No credential needed

## 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.

## 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
- 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.

## Client config (JSON)
```json
{"command":"npx","args":["-y","@jason.today/webmcp@latest","--mcp"]}
```

## Tools (2)
- `token_generator`: Generates a one-time registration token for connecting to WebMCP websites.
- `mcp_tool_definer`: Helps build an MCP tool schema; related JavaScript can be requested in a follow-up message.
