An experimental and educational Ping-Pong server demonstrating MCP (Model Context Protocol) calls via FastAPI. Features - ✅ FastAPI/FastMCP backend for remote MCP calls through API endpoints or SSE - 🔄 MCP integration for command handling - 🔐 Thread-safe session management Quick Start Installation To install the dependencies, run: 1. Call MCP Tool through API Run the Server Start the FastAPI server with: The server will start at http://localhost:8080. UI Open mcp-api-client.html in a browser to interact with the UI. API Endpoints - GET /ping-pong?prompt_name= : Retrieves the specified prompt. - POST /ping-pong: Invokes MCP tool commands (ping, pong, count). 2. Call MCP Tool through SSE transport The following example demonstrates using Server-Sent Events (SSE) for communication with the MCP server. Run the SSE Server Run the SSE Client Sample Output References - FastAPI SSE MCP - MCP Weather SSE - MCP Chinese Getting Started Guide 📄 License MIT