🏓 MCP Ping-Pong Server with FastAPI\
\ Experimental and educational Ping-Pong server demonstrating MCP (Model Context Protocol) calls via FastAPI\ \
Features\
\
- ✅ FastAPI backend for high-performance API endpoints\
- 🔄 MCP integration for command handling\
- 🔐 Thread-safe session management\
\
Quick Start\
\
Installation\
\
poetry install\\
Run the Server\
\
python mcp-api-server.py\\ Server will start at http://localhost:8080\ \
UI\
\ Open mcp-client.html\ \ \u003cimg alt="ui" src="doc/pingpong-ui.png" width="400"/\u003e\ \
API Endpoints\
\
GET /ping-pong?prompt_name=\u003cprompt_name\u003e: Retrieves the specified prompt.\POST /ping-pong: Invokes MCP tool commands (ping,pong,count).\
\
📄 License\
\ MIT © kimtth
