Skip to content

Callme-VR/MCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– MCP Agent - Universal AI Automation

Robot
Sparkles

The Ultimate AI Agent powered by Model Context Protocol (MCP)

Python Version LangChain MCP Groq Browser Automation

Rocket Next-generation AI automation at your fingertips! Rocket


๐ŸŒŸ What is MCP Agent?

Astonished Face

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!


๐Ÿš€ Key Features

Party Popper

๐ŸŽฏ Core Capabilities

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 โšกโšกโšกโšกโšก

๐ŸŽช What Can It Do?

  • ๐Ÿ“ธ 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

๐Ÿ› ๏ธ Tech Stack

Hammer

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
Loading

๐Ÿ—๏ธ Architecture Components

  • ๐Ÿง  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

๐Ÿš€ Quick Start

Excited Face

๐Ÿ“‹ Prerequisites

  • Python 3.13+ ๐Ÿ
  • Node.js (for MCP servers) ๐Ÿ“ฆ
  • UV package manager โšก
  • Groq API Key ๐Ÿ”‘

โšก 5-Minute Setup

  1. ๐ŸŒŸ Clone the Repository

    git clone https://github.com/yourusername/mcpwheather.git
    cd mcpwheather
  2. ๐Ÿ“ฆ Install Dependencies

    uv sync
  3. ๐Ÿ”‘ Configure API Key

    echo "GROQ_API_KEY=your_groq_api_key_here" > .env
  4. ๐Ÿš€ Launch the Agent

    uv run app.py
  5. ๐Ÿ’ฌ Start Chatting!

    you: open google.com and search for AI automation
    

๐ŸŽฎ Usage Examples

Video Game

๐ŸŒ Web 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

๐Ÿค– Advanced Tasks

# 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"

๐ŸŽฏ Interactive Commands

Command Action Emoji
exit / quit End session ๐Ÿ‘‹
clear Clear memory ๐Ÿงน
memory View history ๐Ÿง 
help Show help ๐Ÿ†˜

๐Ÿ”ง Configuration

Toolbox

๐ŸŽ›๏ธ Environment Variables

# 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_token

๐Ÿ”Œ Custom MCP Servers

config = {
    "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"}
        }
    }
}

๐ŸŒ Deployment Options

Globe

๐Ÿ  Local Installation

# Run from project directory
uv run app.py

# Install globally
pip install -e .
mcp-agent

๐Ÿณ Docker Deployment

FROM 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

โ˜๏ธ Cloud Deployment

  • AWS Lambda ๐Ÿš€
  • Google Cloud Run โ˜๏ธ
  • Azure Functions ๐Ÿ”ท
  • Railway ๐Ÿš‚
  • Render ๐ŸŽจ

๐Ÿ“ Project Structure

Folder

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

๐Ÿ” Troubleshooting

Magnifying Glass

๐Ÿ› Common Issues

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

๐Ÿ†˜ Get Help

# 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

๐Ÿš€ Roadmap

Telescope

๐ŸŽฏ Coming Soon

  • ๐ŸŒ 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

๐Ÿ’ก Future Ideas

  • ๐Ÿง  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

๐Ÿค Contributing

Handshake

We welcome contributions! ๐ŸŽ‰

๐Ÿ“ How to Contribute

  1. ๐Ÿด Fork the repository
  2. ๐ŸŒฟ Create a feature branch
  3. ๐Ÿ’ป Make your changes
  4. ๐Ÿงช Add tests
  5. ๐Ÿ“ค Submit a pull request

๐ŸŽจ Development Setup

# 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! ๐Ÿš€

๐Ÿ“„ License

Scroll

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ™ Acknowledgments

Hugging Face

  • ๐Ÿง  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

๐Ÿ“ž Contact & Support

Telephone


Heart Made with โค๏ธ by the MCP Agent Team Heart

Rocket Powering the future of AI automation Rocket

Star If you love this project, give us a โญ on GitHub! Star

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors