lang-ai/mcp-hosted-poc
3.2
If you are the rightful owner of mcp-hosted-poc 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.
The Cancellation Analyzer MCP Server is a Python-based server designed to analyze customer cancellation survey data, integrating with Claude web via HTTP/SSE transport.
Cancellation Analyzer MCP Server
A Python-based Model Context Protocol (MCP) server for analyzing customer cancellation survey data, designed for Claude web integration via HTTP/SSE transport.
Features
- MCP protocol over HTTP and SSE
- FastAPI server with CORS enabled
- Tool for analyzing cancellation data (dummy results)
- Production-ready with Gunicorn/Uvicorn
Project Structure
cancellation-analyzer-mcp/
āāā src/
ā āāā main.py # FastAPI + MCP server
ā āāā mcp_server.py # MCP server logic
ā āāā analyzer.py # Analysis logic
āāā requirements.txt
āāā .env # Environment variables
āāā gunicorn.conf.py # Production server config
āāā README.md
Setup
pip install -r requirements.txt
Running
- Development:
python src/main.py
- Production:
gunicorn src.main:app -c gunicorn.conf.py
Endpoints
GET /
- Service infoGET /health
- Health checkPOST /mcp/list_tools
- List available toolsPOST /mcp/call_tool
- Call analysis toolGET /mcp/sse
- Server-Sent Events endpoint
Integration URL
http://YOUR_EC2_PUBLIC_IP:8000/mcp
Environment Variables
See .env
for configuration.