The Ultimate AI Agent powered by Model Context Protocol (MCP)
Next-generation AI automation at your fingertips!
MCP Agent is a revolutionary AI automation tool that combines the power of:
- ๐ง Advanced Language Models (Groq, OpenAI, Gemini)
- ๐ Browser Automation (Playwright)
- ๐ Model Context Protocol (MCP) servers
- ๐ฌ Conversational AI with memory
Imagine having a personal AI assistant that can browse the web, fill forms, take screenshots, and execute complex tasks - all through natural conversation!
| Feature | Description | Power Level |
|---|---|---|
| ๐ค Conversational AI | Natural language interaction with memory | โกโกโกโกโก |
| ๐ Browser Control | Full web automation with Playwright | โกโกโกโกโก |
| ๐ MCP Integration | Connect to any MCP server | โกโกโกโก |
| ๐ง Smart Memory | Context-aware conversations | โกโกโกโก |
| โก Multi-LLM | Switch between AI models | โกโกโก |
| ๐ฑ Cross-Platform | Works on Windows, Mac, Linux | โกโกโกโกโก |
- ๐ธ Take screenshots of any website
- ๐ Search and browse the web automatically
- ๐ Fill forms and submit data
- ๐ Automate shopping and bookings
- ๐ Extract data from websites
- ๐ฏ Test web applications
- ๐ง Automate email tasks
- ๐๏ธ Organize files and folders
graph TD
A[MCP Agent] --> B[LangChain]
A --> C[MCP Protocol]
A --> D[Playwright]
A --> E[Groq LLM]
B --> F[Python 3.13+]
C --> G[MCP Servers]
D --> H[Browser Control]
E --> I[AI Models]
style A fill:#ff6b6b,stroke:#333,stroke-width:4px
style B fill:#4ecdc4,stroke:#333,stroke-width:2px
style C fill:#45b7d1,stroke:#333,stroke-width:2px
style D fill:#96ceb4,stroke:#333,stroke-width:2px
style E fill:#ffeaa7,stroke:#333,stroke-width:2px
- ๐ง Core Engine: Python 3.13+ with asyncio
- ๐ Framework: LangChain for AI orchestration
- ๐ Protocol: Model Context Protocol (MCP)
- ๐ญ Automation: Playwright for browser control
- ๐ญ Models: Groq (Llama 3.1), OpenAI, Google Gemini
- ๐ฆ Management: UV package manager
- Python 3.13+ ๐
- Node.js (for MCP servers) ๐ฆ
- UV package manager โก
- Groq API Key ๐
-
๐ Clone the Repository
git clone https://github.com/yourusername/mcpwheather.git cd mcpwheather -
๐ฆ Install Dependencies
uv sync
-
๐ Configure API Key
echo "GROQ_API_KEY=your_groq_api_key_here" > .env
-
๐ Launch the Agent
uv run app.py
-
๐ฌ Start Chatting!
you: open google.com and search for AI automation
# Browse and search
you: open google.com and search for "weather in Tokyo"
# Take screenshots
you: navigate to github.com and take a screenshot
# Fill forms
you: go to example.com/contact and fill out the form with name "John" and email "john@example.com"
# Extract data
you: visit amazon.com and find the price of the latest iPhone# Multi-step workflows
you: book a flight from New York to London for next week, find the cheapest option
# Data collection
you: visit reddit.com/r/technology and get the top 5 post titles
# Testing
you: test the login functionality of example.com with username "test" and password "test123"| Command | Action | Emoji |
|---|---|---|
exit / quit |
End session | ๐ |
clear |
Clear memory | ๐งน |
memory |
View history | ๐ง |
help |
Show help | ๐ |
# Required
GROQ_API_KEY=your_groq_api_key_here
# Optional - Additional LLMs
OPENAI_API_KEY=your_openai_key_here
GOOGLE_API_KEY=your_google_key_here
# Optional - MCP Server Tokens
GITHUB_PERSONAL_ACCESS_TOKEN=your_github_tokenconfig = {
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {"GITHUB_PERSONAL_ACCESS_TOKEN": "your_token"}
}
}
}# Run from project directory
uv run app.py
# Install globally
pip install -e .
mcp-agentFROM python:3.13-slim
WORKDIR /app
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
COPY . .
RUN uv sync --frozen
CMD ["uv", "run", "app.py"]docker build -t mcp-agent .
docker run -it --env-file .env mcp-agent- AWS Lambda ๐
- Google Cloud Run โ๏ธ
- Azure Functions ๐ท
- Railway ๐
- Render ๐จ
mcpwheather/
โโโ ๐ app.py # Main application entry point
โโโ ๐ pyproject.toml # Project configuration
โโโ ๐ .env # Environment variables
โโโ ๐ .python-version # Python version
โโโ ๐ uv.lock # Dependency lock file
โโโ ๐ README.md # Project documentation
โโโ ๐ .gitignore # Git ignore rules
| Problem | Solution | Status |
|---|---|---|
ModuleNotFoundError |
Run uv sync |
โ Fixed |
| API Key Issues | Check .env file |
โ Fixed |
| Browser Not Starting | Install Node.js | โ Fixed |
| Permission Denied | Use chmod +x |
โ Fixed |
| Docker Build Fails | Check Dockerfile | โ Fixed |
# Check dependencies
uv tree
# Test API connection
python -c "from langchain_groq import ChatGroq; print('โ
API OK')"
# Verify MCP server
npx @playwright/mcp@latest --help- ๐ Web Interface - React-based dashboard
- ๐ฑ Mobile App - iOS and Android support
- ๐ Plugin Store - Community plugins
- ๐ Analytics - Usage tracking and insights
- ๐ Multi-Agent - Parallel task execution
- ๐จ Themes - Customizable personalities
- ๐ Multi-language - International support
- โ๏ธ Cloud Sync - Cross-device synchronization
- ๐ง AI Training - Custom model fine-tuning
- ๐ API Integration - Connect to any service
- ๐ Business Intelligence - Automated reporting
- ๐ฎ Game Automation - Bot development tools
- ๐ข Enterprise Features - Team collaboration
We welcome contributions! ๐
- ๐ด Fork the repository
- ๐ฟ Create a feature branch
- ๐ป Make your changes
- ๐งช Add tests
- ๐ค Submit a pull request
# Clone your fork
git clone https://github.com/yourusername/mcpwheather.git
cd mcpwheather
# Set up development environment
python -m venv .venv
source .venv/bin/activate
uv sync --dev
# Run tests
uv run pytest
# Start coding! ๐This project is licensed under the MIT License - see the LICENSE file for details.
- ๐ง LangChain - For the amazing AI framework
- ๐ MCP Protocol - For the standardized AI communication
- ๐ญ Playwright - For powerful browser automation
- โก Groq - For lightning-fast AI inference
- ๐ Python - The best programming language
- ๐จ Animated Emojis - For the beautiful icons
- ๐ง Email: support@mcp-agent.com
- ๐ฌ Discord: Join our community
- ๐ฆ Twitter: @MCP_Agent
- ๐ Documentation: docs.mcp-agent.com
- ๐ Issues: GitHub Issues
Made with โค๏ธ by the MCP Agent Team













