Sponsored by Deepsite.site

MCP Server AI Chrome Extension

Created By
shettysaish20a year ago
An MCP server AI Chrome Extension plugin that enables doing complex BODMAS operations through browser
Content

MCP Server AI Chrome Extension

A lightweight AI-powered Chrome Extension connected to a Flask-based MCP Server, enabling users to perform complex BODMAS (Bracket, Order, Division, Multiplication, Addition, Subtraction) operations directly from the browser.


✨ Features

  • 📚 Solve complex mathematical expressions with full BODMAS hierarchy.
  • ⚡ Instant real-time computation via a backend AI MCP server.
  • 🧠 Server processes user input with decision-making and memory modules.
  • 🌐 Simple and clean Chrome Extension interface.
  • 🔌 Easy communication between Chrome Extension and Flask API server.

🏗️ Project Structure

MCP-Server-V3/
├── flask-api/
│   ├── action.py           # Handles mathematical operations
│   ├── decision.py         # Decides actions based on parsed user input
│   ├── memory.py           # Maintains session memory and history
│   ├── mcp_server.py       # Main Flask server running the API
│   ├── mcp_client.py       # Client utilities (if needed)
│   ├── models.py           # Defines data models for input/output
│   ├── perception.py       # Parses and understands user queries
│   └── requirements.txt    # Python dependencies
├── chrome-extension/
│   ├── manifest.json       # Chrome extension manifest
│   ├── popup.html          # Extension popup frontend
│   ├── popup.js            # JS logic to interact with backend server
├── requirements.txt        # Top-level requirements
└── README.md               # 📄 (You are here!)

🚀 How It Works

  1. User Interaction:

    • User opens the Chrome Extension popup.
    • Enters a math expression (e.g., 5 * (3 + 2) - 4 / 2).
  2. Chrome Extension (Frontend):

    • Captures the user input.
    • Sends a POST request to the Flask MCP Server API.
  3. Flask API (Backend Server):

    • Parses the input via perception.py.
    • Uses decision.py and action.py to compute the correct BODMAS result.
    • Returns the final output back to the Chrome Extension.
  4. Result Display:

    • Extension receives the response.
    • Displays the computed answer to the user in the popup.

🛠️ Installation Guide

1. Set Up the MCP Server

# Clone the repo
git clone https://github.com/shettysaish20/MCP-Server-V3.git
cd MCP-Server-V3/flask-api

# Install Python dependencies
pip install -r requirements.txt

# Run the server
python mcp_client.py

By default, server runs at: http://localhost:5000/


2. Set Up the Chrome Extension

  • Open chrome://extensions/ in Chrome.
  • Enable Developer Mode.
  • Click Load unpacked and select the chrome-extension/ folder.
  • Extension will appear in the browser toolbar.

3. Usage

  • Click on the MCP extension icon.
  • Type a BODMAS-based math query.
  • View instant computed results!

📦 Dependencies

  • Backend (Python):

    • Flask

    • Flask-Cors

    (All backend libraries are listed in requirements.txt.)

  • Frontend (Extension):

    • Pure JavaScript + HTML/CSS (no external libraries).

🚀 Running

Extension Running


📄 License

MIT License.
Feel free to modify, extend, and enhance as you wish!


👨‍💻 Author

Built with ❤️ by Saish Shetty


Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation 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.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Tavily Mcp
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
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"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
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.
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
ChatWiseThe second fastest AI chatbot™
Amap Maps高德地图官方 MCP Server
Playwright McpPlaywright MCP server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.