Skip to main content
Glama

MCP Panel

AI-powered CAD design copilot for acoustic products (splitter silencers and stratified acoustic panels). Built with FastAPI, Gemini, and MCP tools.

Prerequisites

Related MCP server: cadkit

Setup

1. Clone the repo

git clone <repo-url>
cd Task

2. Create the .env file

cp .env.example .env   # or create it manually

Add your key:

GEMINI_API_KEY=your_key_here

3. Create the data directory

mkdir data

This is where the SQLite database (data/projects.db) will be stored. It is mounted into the container so data persists across restarts.

4. Build and run

docker compose up --build

The app will be available at http://localhost:8000.

Running without Docker

python -m venv env
source env/bin/activate      # Windows: env\Scripts\activate
pip install -r requirements.txt
uvicorn app:app --reload

Project structure

app.py            FastAPI backend + Gemini agent loop
mcp_server.py     MCP tool definitions
engine.py         Silencer drawing engine
engine_panel.py   Panel drawing engine
project_store.py  SQLite-backed project persistence
email_intake.py   Email intake router (parse, review, confirm/reject)
email_extract.py  Gemini-powered parameter extractor
email_propose.py  Proposal builder from extracted parameters
email_pending.py  In-memory store for pending change proposals
data/             Mounted volume — contains projects.db
output/           Generated drawings (Docker named volume)
static/           Frontend assets

API

Method

Path

Description

GET

/api/health

Health check

POST

/api/chat

Send a message to the AI copilot

GET

/output/<file>

Retrieve a generated drawing

Email intake

Method

Path

Description

POST

/email/incoming

Receive an email (sender, subject, body); extracts parameters with Gemini and parks actionable changes for review

GET

/email/pending

Browser UI listing all pending change proposals with confirm/reject buttons

POST

/email/confirm/{token}

Approve a pending proposal and commit the parameter change to the project

POST

/email/reject/{token}

Discard a pending proposal without making any changes

Related MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI-powered CAD automation in Autodesk Fusion 360 through natural language prompts. Features a modern web chat interface with multiple LLM backends for creating 3D models, sketches, and parametric designs.
    -
  • A
    license
    B
    quality
    D
    maintenance
    An MCP server for parametric part modeling in Onshape, producing fully-defined, variable-driven sketches and features. It enables LLMs to create editable CAD models using semantic selection and geometrically grounded constraints.
    33
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A SolidWorks-resident AI copilot for Mexican autoparts manufacturing PYMEs that enables Spanish-speaking junior CAD designers to interact with SolidWorks through chat for assembly mating, configurations, sketching, and other operations using a constrained, on-prem toolset.
    100
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Give your AI assistant the ability to inspect, measure, and compare 3D CAD models by dropping in a STEP file and asking engineering questions. Runs entirely on your machine with no cloud, no CAD license, and no setup.
    76 npm
    5
    MIT

Appeared in Searches