WebMCP

v1.0.0Developer Toolsstable

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.

aimcptypescriptllmlocal
Share:
1,063
Stars
0
Downloads
0
Weekly
0/5

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

Share web tools with client-side LLMs
Keyless API integration for websites
jasonjmcghee

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y webmcp

Manual Installation

npx -y webmcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 claude
2

Start 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 --mcp
3

Add 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"]
    }
  }
}
4

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 --new
5

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

6

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.

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.

Quick Config Preview

{ "mcpServers": { "webmcp": { "command": "npx", "args": ["-y", "webmcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides