Connect AI Assistant to Travel Code
Search for flights, hotels, and manage bookings with AI directly from your IDE
Claude
Web Claude.ai
claude.ai/customize/connectors → Add Connector → paste URL
https://mcp.travel-code.com/mcp
App Claude Desktop
Settings → MCP Servers → Edit Config
{
"mcpServers": {
"travelcode": {
"type": "http",
"url": "https://mcp.travel-code.com/mcp"
}
}
}
ChatGPT
Web chatgpt.com
Settings → Tools → Add MCP Server → paste URL
App ChatGPT Desktop
Settings → Tools → Add MCP Server → paste URL
https://mcp.travel-code.com/mcp
Gemini
Web gemini.google.com
Settings → Extensions → Add MCP → paste URL
https://mcp.travel-code.com/mcp
CLI Claude Code
Run in terminal:
claude mcp add --transport http travelcode https://mcp.travel-code.com/mcp
CLI OpenAI Codex CLI
Add to ~/.codex/config.yaml
mcpServers:
travelcode:
type: http
url: https://mcp.travel-code.com/mcp
IDE Cursor
Settings → MCP → Add Server
{
"mcpServers": {
"travelcode": {
"url": "https://mcp.travel-code.com/mcp"
}
}
}
IDE Other (Windsurf, VS Code + Copilot, etc.)
Use this URL in MCP settings:
https://mcp.travel-code.com/mcp
How it works
- Send any travel request to your AI assistant
- On first use, the Travel Code authorization window will open
- Sign in and click "Allow"
- Done — the assistant can now search flights, hotels, and manage bookings
Available tools
Search for flights
Hotel search
Booking management
Airport directory
Airline directory
Flight delay statistics
Booking modifications
Booking cancellations
FAQ
Do I need to install anything on my server? +
No. The MCP server runs in the cloud. You only need to specify the URL in your IDE or AI tool settings.
Is it secure? +
Yes. We use OAuth 2.1 with PKCE. Your password is never shared with the AI assistant — it only receives a temporary access token.
Which tools are supported? +
Any tool with MCP support: Claude, ChatGPT, Gemini, Cursor, Windsurf, VS Code with Copilot, and others.
What happens if the session expires? +
The client will automatically refresh the token. If that fails, you'll be prompted to sign in again.