JW

jasonjmcghee/webmcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

917 stars 53 forks 品質 66 トレンド 23MIT

初期のWebMCP提案/実装 - その後、より有能なウェブ開発者によって進化・開発が進められています:https://github.com/webmachinelearning/webmcp

概要

補足日:2026年2月12日 おそらく公式のW3Cリポジトリ+スペック:https://github.com/webmachinelearning/webmcpが欲しいでしょう。 これは初期のWebMCP提案・実装でした。私はただ夢を持った人間でした。 WebMCPのアイデアはその後進化し、ウェブ開発のより有能な人々によって取り組んでいます。 この実装はW3C仕様に準拠しています。 とはいえ、ぜひWebMCPの価値を示すためにぜひ試してみてください。 クライアントサイドLLMをサポートするウェブサイトの提案とコード WebMCPは、ウェブサイトがツールやリソース、プロンプトなどをLLMに共有できるようにします。つまり、WebMCPはウェブサイトをMCPサーバーとして機能させることを可能にします。APIキーの共有はありません。好きなモデルを使ってください。

概要(AI 翻訳)

Added 確認:2026年2月12日


おそらく公式のW3Cリポジトリ+スペック:https://github.com/webmachinelearning/webmcpが欲しいでしょう。

これは初期のWebMCP提案・実装でした。私はただ夢を持った人間でした。

WebMCPのアイデアはその後進化し、ウェブ開発のより有能な人々によって取り組んでいます。

この実装はW3C仕様に準拠していません。

とはいえ、ぜひWebMCPの価値を示すためにぜひ試してみてください。


WebMCP

クライアントサイドLLMをサポートするウェブサイトの提案とコード

WebMCPは、ウェブサイトがツールやリソース、プロンプトなどをLLMに共有できるようにします。つまり、WebMCPはウェブサイトをMCPサーバーとして機能させることを可能にします。APIキーの共有はありません。好きなモデルを使ってください。

こちらは私が作ったWebMCP対応のシンプルなウェブサイトです

それは、ウェブサイトの所有者が自分のサイトに設置できるウィジェットの形で、クライアントサイドのLLMがユーザーやエージェントに優れたUXを提供するために必要なツールを公開できます。

_The見た目、手触り、使い方、セキュリティは、いずれも貢献や建設的な批評を歓迎します。MCPクライアントがWebMCPの機能を直接構築するのは理想的なoutcome._のように思えます

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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.

GitHub で README 全文を見る

インストール

npx -y @jason.today/webmcp@latest --config claude
MCP 初心者?mcpskill.org のガイドから始めましょう →