Skip to main content
Glama

Travel MCP Server

A robust Model Context Protocol (MCP) server for flight bookings, payments, and company policies.

Features

  • Tools: Search flights, Book flights, Process payments.

  • Resources: User profiles, Pricing rules, Company policies.

  • Prompts: Standardized flight booking prompt.

  • Transport: Stdio (Standard Input/Output) - ready for local agents.

Related MCP server: mcp-flight-search

Installation

Prerequisites

  • Python 3.10 or higher

Setup

  1. Clone this repository or download the source code.

  2. No external dependencies are required for the server itself!

Usage

Running Locally

To test the server, you can run the main script directly. It listens on stdin.

python main.py

Connecting an Agent

If you are building an MCP Client (like a Gemini or Claude agent), point it to the main.py file with the python executable.

Example Command:

python main.py

Logic Flow

  1. List Tools: Send {"type": "list_tools"}

  2. Call Tool: Send {"type": "call_tool", "tool": "...", "arguments": {...}}

File Structure

  • main.py: Entry point.

  • protocol/: Protocol handling logic.

  • tools/: Tool implementation (Flights, Payments, etc).

  • resources/: Static or dynamic resources.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that connects to Amadeus API, enabling AI assistants to search flights, analyze prices, find best travel deals, and plan multi-city trips.
    10 npm
    6
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A server that implements the Model Context Protocol (MCP) with StreamableHTTP transport, enabling standardized interaction with model services through a RESTful API interface.
    340 npm
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An interactive travel planning server that integrates flight searching, weather forecasting, and route calculation through external APIs like Amadeus and OpenWeather. It uses the Model Context Protocol to enable AI assistants to autonomously manage travel logistics and discover local services.
    -