Garage-on-the-Go MCP Server
Provides tools for vehicle service search, mechanic matching, and booking generation as part of a multi-agent AI system for roadside assistance.
README
Garage-on-the-Go AI Agent 🛠️
Kaggle AI Agents Capstone Project: Intensive Vibe Coding
Project Scope
Garage-on-the-Go AI Agent is a Kaggle capstone prototype designed to demonstrate multi-agent vehicle diagnostics, service estimation, and mobile mechanic matching.
- Capstone Prototype: Built for Kaggle AI Agents Capstone evaluation and portfolio demonstration.
- Simulated Operations: Uses mock service catalog data and simulated mechanic profiles for Guwahati-style areas.
- No Real Dispatching: The generated booking receipt is a demo output and does not trigger real mechanic assignment, payment, or physical dispatch.
📌 Problem Statement
Stranded motorists facing sudden vehicle failures lack an immediate, reliable way to:
- Safely diagnose whether their vehicle is safe to drive or requires immediate towing.
- Estimate realistic, local maintenance costs without visiting physical workshops.
- Quickly find and book available mock mechanics operating in their specific neighborhood.
💡 Solution
A localized, secure mobile mechanic coordinator driven by an ADK-inspired multi-agent orchestration sequential pipeline:
- Triage Agent: Conducts safety and urgency classification.
- Estimate Agent: Matches the query to a structured catalog, determining base service details and pricing ranges.
- Booking Agent: Assigns mock mechanic specialists located in Guwahati areas and compiles a finalized booking summary.
🛠️ Architecture & Multi-Agent Flow
The workflow is coordinated sequentially by a Root Agent orchestrator:
[User Input]
│
▼
[Security Shield] ──► 1. Input Guard (Rejects injections / size limits)
│ 2. PII Redactor (Filters email/phone for privacy)
▼
[Root Agent (Orchestrator)]
│
├─► [Triage Agent] ──► Diagnoses causes, Urgency levels, Safety directions
│
├─► [Estimate Agent] ──► Queries Service Catalog Tool, determines Cost range
│
└─► [Booking Agent] ──► Invokes Mechanic Match Tool, compiles Receipt
│
▼
[Final Output] ──► Booking Confirmation Receipt JSON & Dashboard Cards
🎓 Kaggle Course Concepts Demonstrated
- Multi-agent orchestration: Uses a sequential coordination pipeline (Triage -> Estimate -> Booking) directed by a central Root Orchestrator.
- Gemini API via google-genai with fallback mode: Migrated to the modern
google-genaiSDK targeting thegemini-2.5-flashmodel. Includes a full deterministic rule-based fallback if the API key is not present or calls fail. - Real ADK integration layer under adk_agent/: Exposes the vehicle diagnostics agent tools using the official Google Agent Development Kit framework configuration.
- Real MCP server under mcp_server/real_mcp_server.py: Exposes tools (
search_services,find_mechanic, andgenerate_booking) to external clients using the officialFastMCPframework on standard stdio transport. - Security guardrails: Includes prompt injection protection, input length restrictions, and regex-based redaction of phone/email PII before processing.
- Streamlit deployability: Provides an interactive browser-based web demo interface ready for cloud environment testing. Features visual status chips, summary cards, confidence meters, and a structured Agent Execution Trace / Reasoning Flow panel.
🚀 Setup & Execution
Prerequisites
- Python 3.8+ installed on your system.
Installation
- Clone or navigate to the project directory:
cd garage-on-the-go-agent - Create and activate a virtual environment:
python -m venv venv # On Windows (PowerShell): .\venv\Scripts\Activate.ps1 # On macOS/Linux: source venv/bin/activate - Install the dependencies:
pip install -r requirements.txt
Configuration
-
(Optional) Create a
.envfile in the root directory and add your Google Gemini API key:GEMINI_API_KEY=your_actual_api_key_hereNote: If no API key is specified, the application automatically runs in rule-based offline fallback mode using the Maruti/Pulsar heuristics.
⚠️ WARNING: Never commit your
.envfile or expose raw API keys to GitHub.
🕹️ How to Run
1. Run the Streamlit Interface
To view the Streamlit web demo:
streamlit run app.py
2. Run the CLI Terminal Demo
To run the interactive command-line utility:
python main.py
3. Run Automated Self-Tests
To run the programmatic validation suite verifying security guardrails, PII filters, and pipeline routing:
python main.py --test
4. Run the Google ADK Wrapper
To verify tool registration and inspect the Google Agent Development Kit setup:
python adk_agent/agent.py
5. Run the Real MCP Server
To execute the tool server via standard stdio transport:
python mcp_server/real_mcp_server.py
Or run the server in development mode using the FastMCP command-line tool:
mcp dev mcp_server/real_mcp_server.py
🧪 Demo Scenario
Try entering the following description in the CLI or Streamlit text input:
"My car's engine is making a loud knocking sound, and the dashboard temperature gauge is in the red. I see some coolant leaking onto the driveway. Call me at 98765-43210 or email user@test.com to confirm."
Expected Results:
- Security Guard: Redacts
98765-43210to[PHONE REDACTED]anduser@test.comto[EMAIL REDACTED]. - Triage: Diagnoses a cooling system/radiator issue, marks urgency as Critical, and issues a safety recommendation to stop driving immediately.
- Estimate: Selects Coolant Flush & Top Up or Engine Diagnostics from the catalog, calculating a total pricing breakdown.
- Booking: Matches an available mechanic in your location area (e.g. Rajen Kalita for Beltola) and prints a receipt with booking ID.
⚠️ Limitations & Future Scope
- Current Limitations: This is a prototype system that operates entirely on mock data, with no real GPS positioning, no payment gateway integration, and no real-world mechanic booking or dispatching.
- Future Scope: Integration with real mechanic dashboards via Websockets, mapping visual routing APIs, and deploying native MCP server adapters to bind directly into developer IDE hosts.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。