MW

miguelspizza/webmcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1107 stars 82 forks 质量 61 趋势 0NOASSERTION

将MCP的力量带入网络

概览

🚨 WebMCP API 已被接受为 W3C 交付成果,正在向官方网页标准开发过渡。社区及所有相关工作已迁移至 WebMCP 解释库。欢迎加入我们的网站!🚨 📝 仓库状态:MCP-B 扩展已不再开源。该仓库代表代码库的旧版本,仅供历史参考维护。所有开源内容(传输等)均已移植至 WebMCP Github 组织。 WebMCP 是 MCP-B 实现的底层协议。它是一种协议,将浏览器中的 JavaScript 功能暴露给 LLM 作为 MCP 工具。 欲深入了解,请参见此处:https://mcp-b.

概述(AI 翻译)

[!重要] 🚨 WebMCP API 已被接受为 W3C 交付物,正在转向官方的网页标准开发。社区及所有相关工作已迁移至 WebMCP 解释库。欢迎加入我们!🚨

[!重要] 📝 仓库状态:MCP-B 扩展已不再开源。该仓库代表代码库的旧版本,仅作为历史参考维护。所有开源内容(传输等)均已移植至 WebMCP Github 组织。

WebMCP:

🚀 快速入门 • ✨ 现场演示 • 📚 文档 • 🤝 贡献

加入我们的社区

协议

WebMCP 是 MCP-B 实现的底层协议。它是一种协议,将浏览器中的 JavaScript 功能暴露给 LLM 作为 MCP 工具。

欲深入了解,请参见此处:https://mcp-b.ai/blogs

现场演示

立即观看MCP-B的实际操作:

示例

请查看我们的示例库:MCP-B 示例

示例库包含:

  • Vanilla TypeScript 演示:一个简单的待办应用,MCP工具允许AI管理任务
  • React 演示:带有 MCP-B 集成的现代 React 应用

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

[!IMPORTANT] 🚨 The WebMCP API has been accepted as a W3C deliverable and is transitioning to official web standard development. The community and all related work has moved to the WebMCP explainer repository. Please join us there! 🚨

[!IMPORTANT] 📝 Repository Status: The MCP-B extension is no longer open source. This repository represents an older version of the codebase and is maintained for historical reference only. All open source content (transports, etc.) have been ported to the WebMCP Github Org.

WebMCP:

🚀 Quick Start • ✨ Live Demo • 📚 Documentation • 🤝 Contributing

Join Our Community

The protocol

WebMCP is the underlying protocol which MCP-B implements. It is a protocol which exposes function in your browser javascript to LLM’s as MCP tools.

For a more indepth understanding, refer here: https://mcp-b.ai/blogs

Live Demo

See MCP-B in action right away:

Examples

Check out our examples repository: MCP-B Examples

The examples repository contains:

  • Vanilla TypeScript Demo: A simple todo app where MCP tools allow AI to manage tasks
  • React Demo: Modern React application with MCP-B integration
  • Script Tag Demo: The simplest integration - add MCP-B to any website using just a script tag

Community Examples

These demos highlight how MCP-B integrates into websites without needing complex setups. Install the MCP-B Chrome Extension to interact with the tools via the extension’s chat interface or tool inspector.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →