Beekmarks icon

Beekmarks

22

Runs a Model Context Protocol (MCP) server in a web browser using WebAssembly.

概要

Beekmarks is a proof-of-concept demonstrating how to run a Model Context Protocol (MCP) server within a web browser using WebAssembly. This project features a basic calculator tool with real-time results and a key-value storage system with template-based resource handling, showcasing the integration of MCP tools and resources in a browser environment. It utilizes a custom browser transport layer and the MCP SDK for server implementation, providing a foundation for exploring MCP capabilities in a web-based setting.

主な機能

  • Performs basic arithmetic operations within the browser.
  • Provides key-value storage functionality with in-browser persistence.
  • Implements a custom browser transport layer for MCP communication.
  • Uses template-based resource paths for flexible data access.
  • Includes input validation and error handling for tools and resources.

ユースケース

  • Demonstrating MCP server functionality in a browser environment.
  • Prototyping MCP tools and resources for web-based applications.
  • Exploring the feasibility of WebAssembly for MCP server implementations.
Craft Better Prompts with AnyPrompt
Sponsored