MCP Server AI Chrome Extension

by shettysaish20

238 downloads Not rated yet MIT license
GitHub

About

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

Details

License
MIT license

Explore

- πŸ“š 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.

---

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

pip install -r requirements.txt

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

---

Extension Running

---

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"
        ]
    }
}

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.