Skip to main content
Glama

Travel Agent MCP Server

by nxGnosis

Travel Agent MCP Server 🌍✈️

An MCP (Model Context Protocol) server for retrieving visa and immigration information for various countries.

ℹ️ About

This server provides tools to access up-to-date visa and immigration details, helping users plan their international travel with ease. It leverages external APIs to fetch accurate information.

✨ Features

This server exposes the following tools:

GET_VISA_INFO_BY_COUNTRY

Retrieves detailed visa information for a specified country.

  • Parameters:
    • countryCode (string, required): The ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'FR').
  • Returns: Visa type, requirements, validity, and any relevant notes for the specified country.
  • Usage Example:
    { "tool_name": "GET_VISA_INFO_BY_COUNTRY", "arguments": { "countryCode": "CA" } }

GET_IMMIGRATION_INFO_BY_COUNTRY

Retrieves detailed immigration information for a specified country.

  • Parameters:
    • countryCode (string, required): The ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'FR').
  • Returns: Immigration type, requirements, validity, and any relevant notes for the specified country.
  • Usage Example:
    { "tool_name": "GET_IMMIGRATION_INFO_BY_COUNTRY", "arguments": { "countryCode": "DE" } }

🛠️ Setup

  1. Clone the repository (if not already done).
  2. Install dependencies:
    pnpm install
    or
    npm install
  3. Configure Environment Variables: Create a .env file in the root directory or set these variables in your environment:Note: API keys and base URLs are not required for this service at the moment.
  4. Build the project:
    pnpm run build
    or
    npm run build
  5. Start the MCP server:
    pnpm start
    or
    npm start

🚀 Usage

The server communicates over stdio and can be used with any MCP-compatible client. Once the server is running, you can invoke the tools by sending JSON messages to its standard input.

⚠️ Error Handling

Common errors may include:

  • Missing API Keys/Base URLs: Ensure all required environment variables (VISA_API_KEY, VISA_API_BASE_URL, IMMIGRATION_API_KEY, IMMIGRATION_API_BASE_URL) are correctly set.
  • Invalid Country Code: Verify that the provided countryCode is a valid ISO 3166-1 alpha-2 code.
  • API Errors: Issues with the external APIs may result in errors. Check the server logs for more details.

🔑 Environment Variables

This Travel Agent MCP server provides essential tools for accessing visa and immigration information, powered by robust external services.

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides tools to fetch up-to-date visa and immigration information for various countries, helping users plan their international travel with accurate data.

  1. ℹ️ About
    1. ✨ Features
      1. GET_VISA_INFO_BY_COUNTRY
      2. GET_IMMIGRATION_INFO_BY_COUNTRY
    2. 🛠️ Setup
      1. 🚀 Usage
        1. ⚠️ Error Handling
          1. 🔑 Environment Variables

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Enables searching for Airbnb listings and retrieving detailed accommodation information with direct links to Airbnb pages.
              Last updated -
              2
              JavaScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              Provides access to UNHCR refugee statistics through a standardized interface, allowing AI agents to query data by country of origin, country of asylum, and year.
              Last updated -
              Python
            • -
              security
              F
              license
              -
              quality
              Provides tools to query flight and train information including flight searches, train tickets, weather forecasts, and transfer options between different transportation modes.
              Last updated -
              15

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/nxGnosis/TravelAgentMCP'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server