Skip to main content
Glama
LahiruSanjana

TripWeaver MCP Server

TripWeaver: MCP-Based Multi-Agent Travel Planner

TripWeaver is a multi-agent travel planning application that combines FastAPI, Gradio, LangGraph, and MCP tools to help users search hotels, flights, and plan trips.

Features

  • Multi-agent travel planning workflow

  • Streaming backend responses

  • Gradio-based chat interface

  • MCP tool endpoints for hotel and flight actions

Related MCP server: expedia-travel-recommendations-mcp

Tech Stack

  • Python

  • FastAPI

  • Gradio

  • LangGraph

  • MCP

Run locally

  1. Create and activate a virtual environment

    python -m venv .venv
    .venv\Scripts\activate
  2. Install dependencies

    pip install -r requirements.txt
  3. Start the backend

    python main.py
  4. Start the MCP server

    python mcp_travel_server.py
  5. Start the frontend

    python frontend.py

Project structure

  • main.py: FastAPI streaming backend

  • mcp_travel_server.py: MCP tool server

  • frontend.py: Gradio UI

  • agents/: orchestration and tool agents

Related MCP Connectors

Related MCP Servers