The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MCP Remote Call Ping Pong listing page.
An experimental and educational Ping-Pong server demonstrating MCP (Model Context Protocol) calls via FastAPI.
To install the dependencies, run:
Start the FastAPI server with:
The server will start at http://localhost:8080.
Open mcp-api-client.html in a browser to interact with the UI.
GET /ping-pong?prompt_name=<prompt_name>: Retrieves the specified prompt.POST /ping-pong: Invokes MCP tool commands (ping, pong, count).The following example demonstrates using Server-Sent Events (SSE) for communication with the MCP server.
MIT