Sponsored by Deepsite.site

🌐 MCP Agents

Created By
CodeWithHarshAI7 months ago
MCP Agents is an AI-powered browser automation tool that lets you interact with websites using natural language. Built with Streamlit, OpenAI, and Puppeteer via the Model Context Protocol (MCP), it supports multi-step navigation, interaction, and content extraction—all with simple text commands.
Content

🌐 MCP Agents

MCP Agents is an AI-powered interactive browser assistant built with Streamlit, OpenAI, and Puppeteer using the Model Context Protocol (MCP). Type natural language commands like "Go to Wikipedia and search for Mars" and the app will navigate, click, scroll, and even extract content — all hands-free.


🚀 Features

  • Talk to the Web — Interact with websites using simple English commands
  • Visual Automation — Take screenshots, click elements, and scroll pages effortlessly
  • Flexible Agent System — Powered by the modular MCP Agent framework
  • Secure Integration — API keys stored safely with optional secrets config
  • Fully Interactive UI — See command results directly in the app interface

🎯 Use Cases

  • 💼 Product scraping, news summarization, automated browsing workflows
  • 🧪 Educational bots that walk through websites
  • 📰 Daily content extraction from dynamic pages

⚙️ Requirements

  • Python 3.8 or newer
  • Node.js + npm (for Puppeteer server)
  • OpenAI API key

⚡ Quick Start

# Clone and enter the project
$ git clone https://github.com/your-username/mcp-agents.git
$ cd mcp-agents

# Install Python dependencies
$ pip install -r requirements.txt

# Verify Node.js setup
$ node --version && npm --version

# Optional: Start Puppeteer agent
$ npx -y @modelcontextprotocol/server-puppeteer

# Run the app
$ streamlit run main.py

Visit http://localhost:8501 in your browser.


🔐 Configure Secrets

Create a file named mcp_agent.secrets.yaml:

openai:
  api_key: "your-openai-api-key"

➡️ Make sure this file is listed in .gitignore to avoid leaking credentials.


💬 Example Commands You Can Try

  • "Go to www.wikipedia.org"
  • "Search for black holes and summarize the page"
  • "Click on the first heading"
  • "Take a screenshot of the hero section"
  • "Scroll down and extract all h2 titles"

📁 Project Overview

mcp-agents/
├── main.py                     # Streamlit application
├── requirements.txt           # Python dependencies
├── README.md                  # This file
├── mcp_agent.config.yaml      # Config for Puppeteer + agent setup
├── mcp_agent.secrets.yaml     # API secrets (ignored from Git)
├── .gitignore                 # File exclusions

📄 License

Licensed under the MIT License.


🙋‍♂️ Created By

Built with ❤️ by Harsh. Powered by the open agent framework from MCP and inspired by LastMileAI tooling.


👨‍💻 Want to build your own AI-powered automation agent? Fork this repo and start customizing!

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Tavily Mcp
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
ChatWiseThe second fastest AI chatbot™
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
WindsurfThe new purpose-built IDE to harness magic
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Playwright McpPlaywright MCP server
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
Amap Maps高德地图官方 MCP Server