WebMCP
A framework that enables websites to share tools, resources, and prompts with client-side LLMs without requiring API keys, allowing users to interact with web services using their preferred models.
What is WebMCP?
WebMCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to framework that enables websites to share tools, resources, and prompts with client-side llms without requiring api keys, allowing users to interact with web services using their preferred models.
A framework that enables websites to share tools, resources, and prompts with client-side LLMs without requiring API keys, allowing users to interact with web services using their preferred models.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A framework that enables websites to share tools, resources,
Use Cases
Maintainer
Works with
Installation
NPM
npx -y webmcpManual Installation
npx -y webmcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use WebMCP
WebMCP is a TypeScript framework that allows websites to expose their own MCP tools, resources, and prompts to users' local AI clients without requiring server-side API keys or user authentication on the website. Users run a local WebMCP proxy that bridges their MCP-compatible AI client (Claude, Cursor, Cline, Windsurf) to any WebMCP-enabled website via a token-based WebSocket connection, letting them interact with web services using their own preferred models. Web developers embed a single script tag to make their site's tools available to any user who has WebMCP installed.
Prerequisites
- Node.js 18+ with npx available
- An MCP-compatible client: Claude Desktop, Cursor, Cline, or Windsurf
- No API keys required—WebMCP uses token-based local authentication
- For website developers: ability to add a script tag to your site's HTML
Install and auto-configure WebMCP for your MCP client
Run the WebMCP setup command specifying your MCP client. It automatically adds WebMCP to the correct configuration file for claude, cursor, cline, or windsurf.
npx -y @jason.today/webmcp@latest --config claudeStart the WebMCP MCP server manually (alternative)
If you prefer manual configuration, start the WebMCP server in MCP mode and add it to your client config yourself.
npx -y @jason.today/webmcp@latest --mcpAdd WebMCP to your MCP client config
Manually register WebMCP in your Claude Desktop or other client configuration if you skipped the --config auto-setup.
{
"mcpServers": {
"webmcp": {
"command": "npx",
"args": ["-y", "webmcp"]
}
}
}Generate a registration token
Ask your AI assistant to generate a WebMCP registration token, or generate one directly from the CLI. Tokens are single-use and discarded after registration.
npx @jason.today/webmcp --newConnect to a WebMCP-enabled website
Visit any website that has embedded the WebMCP script tag. A widget will appear in the bottom right corner prompting you to enter your registration token to connect your local AI client.
Embed WebMCP in your own website (for developers)
Add the WebMCP script to your site to expose your tools, resources, and prompts to users' local AI clients with no backend changes needed.
<script src="webmcp.js"></script>WebMCP Examples
Client configuration
Claude Desktop configuration for the WebMCP proxy server. Configuration is stored in ~/.webmcp.
{
"mcpServers": {
"webmcp": {
"command": "npx",
"args": ["-y", "webmcp"]
}
}
}Prompts to try
After connecting WebMCP and linking to a WebMCP-enabled website, try these interactions.
- "Generate a registration token so I can connect to a WebMCP-enabled site"
- "What tools does the current connected website expose?"
- "Use the website's search tool to find articles about TypeScript best practices"
- "Show me the available prompts from the connected web service"
- "Disconnect from the current website and generate a new token for a different site"Troubleshooting WebMCP
WebMCP widget does not appear on the website
Confirm the website has embedded the WebMCP script tag. The widget renders in the bottom right corner—check if it's hidden by other UI elements or blocked by a content security policy. Open the browser console for any script loading errors.
Registration token is rejected by the website
WebMCP tokens are single-use. If the token was already used or expired, generate a new one with `npx @jason.today/webmcp --new` or ask your AI client to generate one via the token generator tool. Ensure the WebMCP local server is running before attempting registration.
MCP tools from the website are not showing up in Claude
The WebMCP server must be running and connected to the website before Claude can see its tools. Restart Claude Desktop after editing the MCP config, and verify the local WebSocket server started (check ~/.webmcp for config). Shut down and restart with `npx @jason.today/webmcp -q` then relaunch.
Frequently Asked Questions about WebMCP
What is WebMCP?
WebMCP is a Model Context Protocol (MCP) server that framework that enables websites to share tools, resources, and prompts with client-side llms without requiring api keys, allowing users to interact with web services using their preferred models. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install WebMCP?
Install via npm with the command: npx -y webmcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with WebMCP?
WebMCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is WebMCP free to use?
Yes, WebMCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
WebMCP Alternatives — Similar Developer Tools Servers
Looking for alternatives to WebMCP? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up WebMCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use WebMCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.