How sushruth3002/mcp works
Trip Planner is a conversational trip-planning PoC. Its principal workflow accepts a request through the multi-agent chatbot, routes work to Team, Food, and Travel agents, accesses organizational and preference data plus travel services through MCP tools, and returns a synthesized answer. The single-agent chatbot and simulated orchestrator are alternative entry points. Agent routing and MCP tool calls are visible in sampled source; some advertised recommendation details and integrations are documented in the README but their full implementation was not sampled.
Main entry points: mcp_server.py MCP tool server · a2a_chatbot.py Orchestrator agent · chatbot.py Single-agent chatbot · orchestrator.py Simulated orchestrator
Components 16
Chat interfaces
- Multi-agent chatbot
src/a2a_chatbot.py - Single-agent chatbot
src/chatbot.py - Simulated orchestrator
src/orchestrator.py
Agent coordination
- Orchestrator agent
src/a2a_chatbot.py - Team agent
src/a2a_chatbot.py - Food agent
src/a2a_chatbot.py - Travel agent
src/a2a_chatbot.py
MCP tools
- MCP tool server
src/mcp_server.py - Database connections
src/db_utils.py
Data and services
- Neo4j organization graph
data/neo4j_init.cypher - Postgres trip data
data/postgres_init.sql - Gemini API
- OpenWeatherMap
- RestCountries API
Other components
- Traveler
- Trip plan response
Connections 22
- Traveler → Multi-agent chatbot: asks
- Traveler → Single-agent chatbot: asks
- Traveler → Simulated orchestrator: starts mission
- Multi-agent chatbot → Orchestrator agent: runs
- Single-agent chatbot → MCP tool server: opens MCP session
- Simulated orchestrator → MCP tool server: opens MCP session
- Orchestrator agent → Gemini API: analyzes and routes
- Orchestrator agent → Team agent: dispatches
- Orchestrator agent → Food agent: dispatches
- Orchestrator agent → Travel agent: dispatches
- Team agent → MCP tool server: calls Cypher tool
- Food agent → MCP tool server: calls SQL tool
- Travel agent → MCP tool server: calls travel tools
- MCP tool server → Database connections: gets connections
- MCP tool server → Neo4j organization graph: queries
- MCP tool server → Postgres trip data: queries
- MCP tool server → OpenWeatherMap: fetches forecast
- MCP tool server → RestCountries API: fetches country info
- Orchestrator agent → Trip plan response: synthesizes
- Single-agent chatbot → Trip plan response: presents
- Simulated orchestrator → Trip plan response: prints plan
- Trip plan response → Traveler: returns