mcpField
M
MCP Server AI Chrome Extension

MCP Server AI Chrome Extension

Local
github.com/shettysaish20Developer Tools0Updated 80w ago

About MCP Server AI Chrome Extension

MCP Server AI Chrome Extension pairs a Chrome popup with a Flask backend for evaluating BODMAS math expressions. It is intended for browser users who want to enter an expression and see the computed result in the extension.

Key features

  1. 01Evaluate expressions using BODMAS precedence
  2. 02Submit expressions from a Chrome popup
  3. 03Display computed results in the extension
  4. 04Process input through Flask API

Use cases

  1. 01Calculate a multi-operation expression in Chrome
  2. 02Check a bracketed arithmetic expression from a browser popup

MCP support

The Flask backend is described as an MCP server and receives requests from the Chrome Extension through its API. The README does not detail MCP tools or protocol transport.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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


Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.