MCP Agent & Server Ecosystem MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/DarshanHegdeP/MCP
cd MCP
pip install -r requirements.txt
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "GROQ_API_KEY=${GROQ_API_KEY}" mcp-agent-ecosystem -- python "<FULL_PATH_TO_MCP>/dist/index.js"

Replace <FULL_PATH_TO_MCP>/dist/index.js with the actual folder you prepared in step 1.

Required:GROQ_API_KEY
README.md

An autonomous agent ecosystem leveraging Groq and Playwright via MCP.

🚀 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(Decision Maker: LLM + Planning)"]:::purple
            LLM["🧠 LLM (Groq - Llama 3.3)(Reasoning / Decision Making)"]:::purple
            Client["🔌 MCPClient(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_navigatebrowser_clickduckduckgo_searchairbnb_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(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(Decision Maker)"]:::purple
            LLMS["🧠 Groq LLM"]:::purple
            ClientS["🔌 MCPClient(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-versatile for 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 FastMCP server for wrapping agentic workflows as reusable tools.

📂 Project Structure

Component Responsibility
app.py The flagship CLI chat interface and agent controller.
server.py A FastMCP server implementation providing the run_task tool.
`brows

Tools (1)

run_taskOrchestrates multi-server workflows by executing a query through the agentic system.

Environment Variables

GROQ_API_KEYrequiredAPI key for Groq high-performance inference

Configuration

claude_desktop_config.json
{"mcpServers": {"mcp-agent": {"command": "python", "args": ["server.py"]}}}

Try it

Use the run_task tool to search for the latest documentation on Playwright and summarize the key features.
Navigate to airbnb.com and find available listings for a weekend trip to Tokyo.
Perform a search for recent news about AI regulations and compile a summary of the findings.
Use the agent to automate the process of navigating to a website and extracting specific data points.

Frequently Asked Questions

What are the key features of MCP Agent & Server Ecosystem?

High-performance reasoning powered by Groq's llama-3.3-70b-versatile. Autonomous browser control via Playwright integration. Multi-server orchestration using the Model Context Protocol. State-aware memory for handling complex, iterative requests. Custom FastMCP server implementation for reusable agentic workflows.

What can I use MCP Agent & Server Ecosystem for?

Automating complex web research tasks that require multiple search and navigation steps.. Integrating autonomous agent capabilities into existing MCP-compatible clients like VS Code Copilot.. Building iterative workflows that require maintaining conversation state across multiple tool executions.. Rapidly prototyping agentic applications that leverage external MCP tool providers..

How do I install MCP Agent & Server Ecosystem?

Install MCP Agent & Server Ecosystem by running: git clone https://github.com/DarshanHegdeP/MCP && cd MCP && pip install -r requirements.txt

What MCP clients work with MCP Agent & Server Ecosystem?

MCP Agent & Server Ecosystem works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep MCP Agent & Server Ecosystem docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare