math-mcp

math-mcp

3.2

If you are the rightful owner of math-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A reference implementation demonstrating the Model Context Protocol (MCP) over WebSockets using Cloudflare Workers and Durable Objects.

The WebSockets MCP Math Demo is a comprehensive reference implementation that showcases the Model Context Protocol (MCP) over WebSockets. It is designed to demonstrate a complete client-server architecture using Cloudflare Workers and Durable Objects. The implementation supports persistent stateful sessions, bidirectional real-time communication, and tool discovery and invocation. The server and client components are both implemented as Cloudflare Workers, with the server maintaining state through Durable Objects. The WebSocket transport layer allows for efficient, low-latency communication, making it ideal for applications requiring rapid interactions. The project also includes a web interface for user interaction and a programmatic API for developers. Key features include connection management with automatic reconnection, message format standardization, and integration with the MCP TypeScript SDK.

Features

  • Complete MCP client-server architecture using Cloudflare Workers
  • Persistent stateful sessions via Durable Objects
  • Bidirectional real-time communication over WebSockets
  • Tool discovery and invocation
  • Deployment using Cloudflare Workers