MCP Server AI Chrome Extension

by shettysaish20

238 downloads
Not rated
GitHub

About

An MCP server AI Chrome Extension plugin that enables doing complex BODMAS operations through browser

Details

Author
shettysaish20
Downloads
238
Categories
Developer Tools

- Solve complex expressions following full BODMAS hierarchy.
- Real-time computation via a Flask-based backend server.
- Server includes decision-making and memory modules.
- Clean, simple Chrome Extension popup interface.
- Easy HTTP‑based communication between extension and Flask API.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server AI Chrome Extension
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Clone the repo and install Python dependencies (pip install -r requirements.txt).
2. Run python mcp_client.py to start the Flask API server (default: http://localhost:5000/).
3. In Chrome, open chrome://extensions/, enable Developer Mode, and load the unpacked chrome-extension/ folder.
4. Click the extension icon, type a BODMAS expression (e.g., 5 * (3 + 2) - 4 / 2), and view the computed result.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server ai chrome extension": {
            "MCP-Server-V3": {
                "command": "python",
                "args": [
                    "mcp_client.py"
                ]
            }
        }
    }
}

McpServers

{
    "MCP-Server-V3": {
        "command": "python",
        "args": [
            "mcp_client.py"
        ]
    }
}

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

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.