Skip to main content
Glama
Nirlepb

3D CAD BasePlate Generator MCP

by Nirlepb

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CAD_API_KEYNoOptional API key for remote CAD API
CAD_API_URLNoOptional URL for remote CAD API (not implemented yet)
MESHY_API_KEYYesAPI key for Meshy image-to-3D service
PYTHON_EXECUTABLENoOverride for Python executable path (auto-detected otherwise)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_precise_capA

Generate a threaded cap STL/STEP from measured opening dimensions: a solid closed top with a skirt carrying real helical internal threads (swept, not just a bore). Takes structured JSON only (no image) — vision/dimension extraction happens client-side before this is called. Deterministic CadQuery, no network call.

fillA

Generate a solid plug that fills a measured hole/cavity — circular, rectangular, stadium (slot), arbitrary straight-edged polygon, or freeform organic/curved (amoeba-like) boundary, uniform or tapered. Takes structured JSON only (no image); deterministic CadQuery, no network call.

generate_visual_meshA

Generate a 3D mesh from a raw image via the Meshy image-to-3D API and return the resulting STL file directly. Use for visualization only — not dimensionally precise, so not suited to a cap/plug that needs to physically fit. Feed the output into repair_mesh before slicing.

repair_meshA

Repair a 3D mesh (from Meshy image-to-3D or local CadQuery CAD) to make it manifold, watertight, and print-ready. Removes non-manifold edges/vertices, fills holes, unifies face normals, and optionally remeshes for clean topology. Accepts a URL (e.g. from generate_visual_mesh) or a raw base64-encoded mesh. Returns the repaired STL (or chosen format) as base64 plus a repair summary.

Prompts

Interactive templates invoked by user choice

NameDescription
fill-geometry-guideGuide for generating a fill/plug for a hole or cavity using the fill tool

Resources

Contextual data attached and managed by the client

NameDescription
Health ChecksCurrent health status of all registered health checks
Widget ExamplesProvides metadata and examples for all registered UI widgets

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nirlepb/AI-CAD-Generator-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server