Demonstrates remote Model Context Protocol (MCP) calls using a Ping-Pong server implemented with FastAPI.
Sponsored
This experimental Ping-Pong server showcases remote MCP (Model Context Protocol) calls via a FastAPI backend. It offers a practical demonstration of integrating MCP for command handling through API endpoints or Server-Sent Events (SSE), complete with thread-safe session management. The project provides both an API-based interaction using a simple HTML UI and an SSE-based interaction for real-time communication, serving as an educational resource for understanding and implementing MCP in different server architectures.
Características Principales
01FastAPI/FastMCP backend for remote MCP calls via API or SSE
02Thread-safe session management
03SSE-based communication example
04MCP integration for command handling (ping, pong, count)
05Example API client (HTML)
061 GitHub stars
Casos de Uso
01Implementing command handling via API endpoints
02Learning and experimenting with MCP integration in web applications
03Demonstrating real-time communication using Server-Sent Events