Jason McGhee's WebMCP: Turning Websites Into AI Tool Servers

Table of content
Jason McGhee's WebMCP: Turning Websites Into AI Tool Servers

Jason McGhee builds tools that make AI more useful in everyday workflows. His WebMCP project lets any website act as an MCP server, allowing AI agents to interact with web services directly in the browser. The idea caught enough attention that W3C is now incubating it as a web standard.

Background

GitHub | Twitter | Site

WebMCP: Websites as AI Tool Providers

The core problem WebMCP solves: connecting AI agents to web services typically requires downloading separate MCP servers, managing API keys, or automating browsers with tools like Playwright. McGhee saw a simpler path.

“If there’s a standard instead of needing to download the Jira MCP server, you just visit their website and all the tools are described and usable from there.”

WebMCP works through a browser widget that website owners add to their sites. Users connect their AI assistants using one-time tokens. No API keys change hands. Everything runs client-side.

// Website adds the widget
<script src="webmcp.js"></script>

// User connects via their MCP client
npx -y @jason.today/webmcp@latest --config claude

The architecture uses a localhost WebSocket server:

ComponentRole
MCP ClientConnects to local server with token
WebSocket ServerRoutes requests between client and websites
Website WidgetExposes tools, handles authentication

Tools are domain-scoped to prevent naming conflicts. Users can connect to multiple WebMCP-enabled sites simultaneously.

W3C Standardization

McGhee’s proposal gained traction. W3C’s Web Machine Learning Community Group is now developing WebMCP as a browser-native feature.

“WebMCP is being incubated in W3C / webmachinelearning, so highly recommend checking that out as it’s what will turn into WebMCP being in your browser.”

If standardization succeeds, WebMCP becomes a native browser capability. Similar trajectory to Service Workers or Web Workers.

Other Projects

McGhee builds tools that extend what you can do with AI locally:

ProjectDescription
remRecords everything on your Mac screen, stores locally, makes it searchable
claude-debugs-for-youMCP server + VS Code extension for AI-assisted debugging
plockUse an LLM from anywhere you can type
portable-hnswVector search index served from CDN, runs in browser

The pattern across his work: bring AI capabilities closer to where you already work, keep data local, avoid unnecessary server round-trips.

Key Takeaways

PrincipleImplementation
Skip the API key danceWebMCP uses one-time tokens, no credentials shared
Browser as sandboxClient-side execution provides security boundary
Build for standardsProposals that solve real problems attract standardization
Local-first AIrem, plock, portable-hnsw all process data on device

Next: Simon Willison’s LLM Workflow

Topics: mcp open-source local-first automation