TransportAI MCP Server
This is the backend server for the TransportAI project, implementing the Model Context Protocol (MCP) and integrating with the AviationStack API.
Project Structure
TransportAI/
├── server/ # FastAPI backend
│ └── main.py # Main server file
├── Dockerfile # Docker configuration
├── requirements.txt # Python dependencies
└── .env # Environment variables
Setup Instructions
Local Development
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venvScriptsactivate
- Install dependencies:
pip install -r requirements.txt
- Create a
.envfile in the root directory and add your AviationStack API key:
AVIATIONSTACK_API_KEY=your_api_key_here
- Start the server:
cd server
uvicorn main:app --reload
Smithery AI Deployment
Ensure you have Docker installed on your system
Build the Docker image:
docker build -t transportai-mcp .
- Test the Docker image locally:
docker run -p 8000:8000 -e AVIATIONSTACK_API_KEY=your_api_key_here transportai-mcp
- Deploy to Smithery AI:
- Create a new project in Smithery AI
- Upload the Dockerfile and related files
- Set the environment variable
AVIATIONSTACK_API_KEY - Deploy the application
API Endpoints
MCP Protocol Endpoints
GET /: Server status and version informationGET /mcp/health: Health check endpointPOST /mcp/query: Main MCP query endpoint- Request body:
{ "context": { "session_id": "optional_session_id" }, "query": "Get information for flight TK123", "parameters": { "flight_iata": "TK123" } }
- Request body:
Testing the MCP Server
You can test the MCP server using curl:
curl -X POST http://localhost:8000/mcp/query
-H "Content-Type: application/json"
-d '{
"context": {"session_id": "test_session"},
"query": "Get information for flight TK123",
"parameters": {"flight_iata": "TK123"}
}'
License
MIT
TransportAI Server
Project Details
- Srhot/TransportAI-MCP
- Last Updated: 5/28/2025
Recomended MCP Servers
A Model Context Protocol (MCP) server that provides Xcode-related tools for integration with AI assistants and other MCP...
Bun Server Transport implementation for MCP - MCP SSE
The TypeScript AI agent framework. ⚡ Assistants, RAG, observability. Supports any LLM: GPT-4, Claude, Gemini, Llama.
Omnisend MCP server
Advanced MCP tool for Perplexity and OpenRouter API integration.
Obsidian vault connector for Claude Desktop - enables reading and writing Markdown notes using Model Context Protocol (MCP)
Serper MCP Server supporting search and webpage scraping
A powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
Trabalho de NLP - PUC-RIO
Manage Websets in Claude | Exa Websets with MCP (Model Context Protocol)





