MCP Server AI Chrome Extension
@shettysaish20
An MCP server AI Chrome Extension plugin that enables doing complex BODMAS operations through browser
Overview
What is MCP Server AI Chrome Extension?
A lightweight AI-powered Chrome Extension connected to a Flask-based MCP Server that enables users to perform complex BODMAS (Bracket, Order, Division, Multiplication, Addition, Subtraction) operations directly from the browser. It processes user input through perception, decision, action, and memory modules, returning computed results in real time.
How to use MCP Server AI Chrome Extension?
- Clone the repo and install Python dependencies (
pip install -r requirements.txt). - Run
python mcp_client.pyto start the Flask API server (default:http://localhost:5000/). - In Chrome, open
chrome://extensions/, enable Developer Mode, and load the unpackedchrome-extension/folder. - Click the extension icon, type a BODMAS expression (e.g.,
5 * (3 + 2) - 4 / 2), and view the computed result.
Key features of MCP Server AI Chrome Extension
- 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.
Use cases of MCP Server AI Chrome Extension
- Perform quick, accurate BODMAS calculations directly in the browser.
- Demonstrate or learn the order of operations interactively.
- Automate math problem solving with an AI‑driven backend.
FAQ from MCP Server AI Chrome Extension
What operations does the extension support?
It solves mathematical expressions adhering to the full BODMAS (Bracket, Order, Division, Multiplication, Addition, Subtraction) hierarchy.
How do I set up the backend server?
Navigate to the flask-api/ directory, install the dependencies listed in requirements.txt (Flask and Flask‑Cors), and run python mcp_client.py. The server starts on http://localhost:5000/.
How do I install the Chrome Extension?
Open Chrome’s extension management page (chrome://extensions/), enable Developer Mode, click “Load unpacked”, and select the chrome-extension/ folder. The extension appears in the toolbar.
What are the runtime dependencies?
The backend requires Python with Flask and Flask‑Cors. The extension uses pure JavaScript and HTML/CSS with no external libraries.
Does the server store data or require authentication?
The server maintains session memory and history via memory.py but does not persist data to disk. There is no authentication; it accepts requests from the extension over HTTP.