EasyAirClaim MCP Server
This MCP server provides tools for developers to query, create, and manage test data for the EasyAirClaim application, including customers and flight delay claims. It is intended for development and testing only, with full database access and no authentication.
README
EasyAirClaim MCP Server
Model Context Protocol (MCP) Server for EasyAirClaim development and testing.
ā ļø Development Only
This server is for DEVELOPMENT AND TESTING ONLY!
- Full database access without authentication
- Never use with production data
- Only connect to development/test databases
Features
- š Query Data: Check customers, claims, files existence
- ⨠Create Test Data: Quickly generate realistic test scenarios
- š Manage Claims: Update statuses, add notes, track workflow
- š ļø Dev Utilities: Seed data, reset database, validate integrity
Quick Start
1. Start the Server
cd /home/david/easyairclaim-mcp
cp .env.example .env
docker-compose up -d
2. Configure Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"easyairclaim-dev": {
"command": "curl",
"args": ["-N", "-H", "Accept: text/event-stream", "http://localhost:39128/sse"]
}
}
}
Restart Claude Desktop.
3. Test Connection
In Claude Desktop:
Check the EasyAirClaim MCP server health
Available Tools (18)
Health & System
health_check- Server and database connectivityget_database_stats- Entity counts and statisticsget_environment_info- Configuration details
Customer Management
create_customer- Create new customerget_customer- Get customer by IDget_customer_by_email- Find by emaillist_customers- Paginated listdelete_customer- Remove customer
Claim Management
create_claim- Create claim with EU261 calculationget_claim- Get claim detailslist_claims- List with filterstransition_claim_status- Update statusadd_claim_note- Add admin note
Development Utilities
seed_realistic_data- Generate test datacreate_test_scenario- Create customer + claimreset_database- Clear test data (ā ļø destructive)validate_data_integrity- Check for issues
Example Usage
# Check if customer exists
Is customer test@example.com in the database?
# Create test data
Create a customer and a delayed Lufthansa flight claim
# List claims
Show me all claims in 'under_review' status
# Update claim
Move claim CLM-12345 to approved status
# Seed data
Create 10 realistic test claims
# Get overview
Show me database statistics
Architecture
- FastAPI with SSE support for MCP protocol
- Direct SQLAlchemy connection to EasyAirClaim database
- Imports main app models/services (read-only)
- Docker container with health checks
Project Structure
easyairclaim-mcp/
āāā server.py # MCP server with SSE endpoint
āāā config.py # Configuration management
āāā database.py # Async database connection
āāā tools/ # MCP tool implementations
ā āāā health_tools.py # System tools
ā āāā customer_tools.py # Customer management
ā āāā claim_tools.py # Claim management
ā āāā dev_tools.py # Development utilities
āāā docker-compose.yml # Container configuration
āāā Dockerfile # Container image
āāā requirements.txt # Python dependencies
āāā MCP_USAGE_GUIDE.md # Comprehensive guide
Configuration
Edit .env file:
ENVIRONMENT=development
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/flight_claim
MCP_PORT=39128
ENABLE_DESTRUCTIVE_OPS=true
Ports
- 39128 - MCP SSE endpoint
- 8083 - Status dashboard (optional)
Safety Features
- Environment validation (blocks production)
- Destructive operation guards
- Read-only main app code mount
- Health check monitoring
Troubleshooting
Server not responding
docker logs easyairclaim-mcp-server
docker-compose restart
Database connection issues
Check that main app database is running:
docker ps | grep postgres
Tool errors in Claude
- Verify parameter types
- Check UUID format for IDs
- Use YYYY-MM-DD date format
- Use uppercase IATA airport codes
Documentation
See MCP_USAGE_GUIDE.md for:
- Detailed tool documentation
- Usage examples
- Development workflows
- Troubleshooting guide
Development
Run locally (without Docker)
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
python server.py
View logs
docker-compose logs -f
Stop server
docker-compose down
Security Note
This MCP server has:
- ā No authentication
- ā No authorization
- ā No rate limiting
- ā Full database access
NEVER connect to production databases or use with real customer data!
Version: 1.0.0
Created: 2026-01-14
Location: /home/david/easyairclaim-mcp/
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.