MCP Agent & Server Ecosystem
Enables the agent to connect to and orchestrate tasks through an Airbnb MCP server, allowing for automated interaction with the platform.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Agent & Server EcosystemSearch for the best-rated Airbnbs in Austin for next month and summarize the reviews."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π MCP Agent & Server Ecosystem
A state-of-the-art demonstration of the Model Context Protocol (MCP), featuring autonomous agents, browser automation, and multi-server orchestration. This ecosystem leverage's Groq's high-performance inference to provide a seamless agentic experience.
ποΈ Architecture Overview
The system operates in two distinct modes. Below are the precise technical architectures for both the interactive CLI and the standalone MCP Server mode.
π― 1. MCP Architecture - Direct CLI Mode (app.py)
In this mode, the user interacts directly with the terminal-based agent which handles reasoning and tool execution in a single host process.
graph TD
%% Color Definitions
classDef blue fill:#3498db,stroke:#333,stroke-width:2px,color:#fff
classDef lightblue fill:#87ceeb,stroke:#333,stroke-width:2px,color:#000
classDef purple fill:#9b59b6,stroke:#333,stroke-width:2px,color:#fff
classDef yellow fill:#f1c40f,stroke:#333,stroke-width:2px,color:#000
classDef orange fill:#e67e22,stroke:#333,stroke-width:2px,color:#fff
classDef red fill:#e74c3c,stroke:#333,stroke-width:2px,color:#fff
classDef green fill:#2ecc71,stroke:#333,stroke-width:2px,color:#fff
User["π€ User"]:::blue
App["π₯οΈ app.py (CLI Interface)"]:::lightblue
subgraph Host ["π¦ MCP Host (Application Space)"]
direction TB
subgraph AgentBox ["πͺ MCPAgent (Decision Maker)"]
Agent["π€ MCPAgent<br/>(Decision Maker: LLM + Planning)"]:::purple
LLM["π§ LLM (Groq - Llama 3.3)<br/>(Reasoning / Decision Making)"]:::purple
Client["π MCPClient<br/>(Tool Execution Layer / Connector)"]:::yellow
Agent --- LLM
Agent --- Client
end
end
Config["π browser_mcp.json (Registry)"]:::orange
subgraph ServersBox ["π₯ MCP Servers (Tool Providers)"]
PW["π Playwright MCP Server"]:::red
AB["π Airbnb MCP Server"]:::red
DDG["π DuckDuckGo MCP Server"]:::red
end
subgraph ToolsBox ["π© Tools Layer"]
Tools["browser_navigate<br/>browser_click<br/>duckduckgo_search<br/>airbnb_search"]:::green
end
%% Logical Connections
User --> App
App --> Agent
Client -->|reads config| Config
Client --> PW
Client --> AB
Client --> DDG
PW --> Tools
AB --> Tools
DDG --> Toolsπ― 2. MCP Architecture - Server Mode (server.py)
In this mode, the project acts as an MCP server itself, exposing its capabilities to external clients like VS Code Copilot.
graph TD
%% Color Definitions
classDef blue fill:#3498db,stroke:#333,stroke-width:2px,color:#fff
classDef lightblue fill:#87ceeb,stroke:#333,stroke-width:2px,color:#000
classDef purple fill:#9b59b6,stroke:#333,stroke-width:2px,color:#fff
classDef yellow fill:#f1c40f,stroke:#333,stroke-width:2px,color:#000
classDef orange fill:#e67e22,stroke:#333,stroke-width:2px,color:#fff
classDef red fill:#e74c3c,stroke:#333,stroke-width:2px,color:#fff
classDef green fill:#2ecc71,stroke:#333,stroke-width:2px,color:#fff
Ext["π External Client<br/>(Caller of MCP Server)"]:::blue
subgraph ServerHost ["π¦ MCP Host (server.py)"]
Server["βοΈ server.py (FastMCP Server)"]:::lightblue
Task["π οΈ run_task(query)"]:::lightblue
subgraph AgentBoxServer ["πͺ MCPAgent"]
AgentS["π€ MCPAgent<br/>(Decision Maker)"]:::purple
LLMS["π§ Groq LLM"]:::purple
ClientS["π MCPClient<br/>(Tool Connector)"]:::yellow
AgentS --- LLMS
AgentS --- ClientS
end
end
ConfigS["π browser_mcp.json"]:::orange
subgraph ServersBoxServer ["π₯ MCP Servers (Tool Providers)"]
PWS["π Playwright"]:::red
ABS["π Airbnb"]:::red
end
subgraph ToolsBoxServer ["π© Tools"]
TS["browser, search, etc."]:::green
end
%% Logical Connections
Ext -->|Calls run_task| Server
Server --> Task
Task --> AgentS
ClientS -->|reads config| ConfigS
ClientS --> PWS
ClientS --> ABS
PWS --> TS
ABS --> TS⨠Key Features
β‘ High-Performance Inference: Powered by Groq's
llama-3.3-70b-versatilefor near-instantaneous reasoning.π Autonomous Browser Control: Deep integration with Playwright for navigating and interacting with the web.
π Flexible Server Protocol: Connects to any standard MCP server for extensible tool capabilities.
π State-Aware Memory: (In
app.py) Maintains conversation state to handle complex, iterative requests.π οΈ Custom Server Extension: Includes its own
FastMCPserver for wrapping agentic workflows as reusable tools.
π Project Structure
Component | Responsibility |
| The flagship CLI chat interface and agent controller. |
| A |
| The core registry for all connected MCP services. |
| Project dependencies managed via Python's |
| Secure storage for sensitive API keys. |
π οΈ Getting Started
1. Environment Setup
Ensure you have uv installed and a valid Groq API key.
# Clone the environment variables
echo "GROQ_API_KEY=your_key_here" > .env2. Launch the Ecosystem
You can interact with the agent directly or run the custom server.
Start the Interactive Agent:
python app.pyExpose the Custom MCP Server:
python server.pyπ Implementation Notes
The ecosystem is built on the mcp_use library, bridging LangChain components with the Model Context Protocol. The MCPAgent is configured with safety rails like max_steps to prevent infinite loops during autonomous execution.
π₯ MCP enables a single agent to interact with multiple tool providers via standardized servers.
Note: The previous mcp.json was detected as missing or redundant; all core configuration is now consolidated in browser_mcp.json.
Made with β€οΈ for the MCP Community
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/DarshanHegdeP/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server