mcp-hosted-poc

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 info
  • GET /health - Health check
  • POST /mcp/list_tools - List available tools
  • POST /mcp/call_tool - Call analysis tool
  • GET /mcp/sse - Server-Sent Events endpoint

Integration URL

http://YOUR_EC2_PUBLIC_IP:8000/mcp

Environment Variables

See .env for configuration.