A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

gNucleus Text-To-CAD MCP server
An MCP server that connects to the gNucleus API so MCP clients can generate CAD parts or assemblies from text input.
WHAT IT DOES
- •Exposes a text_to_cad tool that generates CAD models from a text input string.
- •Generates CAD parts and assemblies from natural language prompts, optionally including key parameters.
- •Returns a design spec plus a shared 3D viewer URL that expires after 24 hours.
- •Accepts prompts in multiple languages, though English generally performs better.
BEST FOR
- •Turning natural-language descriptions into CAD part designs, such as blocks or spur gear shafts.
- •Generating CAD assemblies like bearings and gear boxes from a prompt.
- •Reviewing generated CAD models interactively in a 3D viewer.
ABOUT TEXT-TO-CAD-MCP
gNucleus Text-To-CAD MCP server is cataloged as an MCP server attributed to gnucleus. An MCP server that connects to the gNucleus API so MCP clients can generate CAD parts or assemblies from text input. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for gNucleus Text-To-CAD MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Can I download the generated CAD models from the viewer?
Downloading from the viewer is not yet supported; to download a model you must log in to gnucleus.ai and try the same prompt there.
How long is the shared viewer link valid?
The shared URL for the 3D display viewer expires after 24 hours.
What do I need to run this server?
You need Python 3.7+ and a gNucleus developer account with an API key.
上游原版 README
README.md · 1c739b7e7841 · 采集于 2026-11-13 13:55:36 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
gNucleus Text To CAD MCP server
gNucleus is a Generative AI platform that transforms text and images into editable CAD models.
This repository contains the gNucleus Text-To-CAD MCP server, which connects to the gNucleus API. It allows MCP clients to generate CAD parts or assemblies from text input using gNucleus’s GenAI models.
Prerequisites
- Python 3.7+
- gNucleus Developer Accounts with:
- gNucleus API key
Setup
-
Clone this repository
-
Create and activate a virtual environment (recommended):
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate -
Install dependencies:
pip install -r requirements.txt -
Create a
.envfile in the root directory with the following variables:Invidisual User
GNUCLEUS_HOST="genai.gnucleus.ai" GNUCLEUS_API_KEY=<your-personal-api-key>Enterprise User
GNUCLEUS_HOST="genai.gnucleus.ai" GNUCLEUS_API_KEY=<your-team-key> GNUCLEUS_ORG_ID=<your-team-id>
Obtaining gNucleus API KEY
- gNucleus Account: sign-up on https://gnucleus.ai/
- API KEY: Create a personal access token in gNucleus:
- Go to User Profile (click your user icon in the top right)
- Go to "Account"
- Click "Generate New API Key" to generate a new API KEY
- Each account start with 200 free API credit
Running the Server
Start the MCP server:
python main.py
You can test the MCP server using the inspector by running
npx @modelcontextprotocol/inspector python3 main.py
Available MCP Tools
The following MCP tools are available:
- text_to_cad(input: str) - Generate CAD from input
Example Prompt with LLMs
When used with LLMs that support the MCP protocol, this server enables natural language interaction with gNucleus:
1. Text to CAD
- "draw a block in CAD"
- "draw a block with length=80mm, width=40mm, height=20mm in CAD"
- "draw a spur gear shaft in CAD"
- "draw a spur gear shaft with number_teeth=20 in CAD"
- "draw an elbow flange in CAD"
- "draw an elbow flange with number_bolt_holes=4 in CAD"
i18n support: You can use any language as the prompt, in general english works better than other languages, but it should work in general.
- Chinese: "在CAD中绘制一个大小为10mm的方块"
- Spanish: "Dibuja un bloque cuadrado de 10 mm en CAD"
2. Text to Assembly
- "generate a tapered roller bearing using text-to-cad tool"
- "draw a differential gear box in CAD"
3. Result CAD Display
The generated result include the design spec with Key Parameter, Description and a shared URL with 3D display viewer. The shared URL will be expired in 24 hrs.
Claude Desktop Setup
1. Add or update the Claude Desktop configuration file(claude_desktop_config.json):
virtual python environment
If you use virtual python enviroment, use this config:
{
"mcpServers": {
"gnucleus": {
"command": "/ABSOLUTE/PATH/TO/YOUR/text-to-cad-mcp/.venv/bin/python",
"args": [
"/ABSOLUTE/PATH/TO/YOUR/text-to-cad-mcp/main.py"
],
"workingDirectory": "/ABSOLUTE/PATH/TO/YOUR/text-to-cad-mcp",
"env": {
"GNUCLEUS_HOST": "genai.gnucleus.ai",
"GNUCLEUS_API_KEY": "YOUR_API_KEY_HERE",
}
}
}
}
global python environment
If you use global python enviroment and also installed the requirments.txt into your global python enviroment, use this config
{
"mcpServers": {
"gnucleus": {
"command": "python",
"args": [
"/ABSOLUTE/PATH/TO/YOUR/text-to-cad-mcp/main.py"
],
"workingDirectory": "/ABSOLUTE/PATH/TO/YOUR/text-to-cad-mcp",
"env": {
"GNUCLEUS_HOST": "genai.gnucleus.ai",
"GNUCLEUS_API_KEY": "YOUR_API_KEY_HERE",
}
}
}
}
2. Save the file and restart Claude Desktop
You should see the gNucleus Text-To-CAD tools in Claude

3. Chat with Claude to generate the CAD model
Chat with Claude and add "in CAD" in each prompt or tell Claude to use "text-to-cad tools"can help Claude to trigger the Text-To-CAD tool better.
The generated result include the design spec with Key Parameter, Description and a shared link with 3D display viewer. The shared URL will be expired in 24 hrs. If Claude didn't output the shared URL in the chat message, you can ask Claude to always output the shared URL.
Click the shared URL, it will display the CAD model in gNucleus 3D viewer, you can
- Rotate by holding the left mouse button
- Pan by holding the right mouse button
- Zoom using the middle mouse button
Example 1: Text To CAD Part
-
Input and CAD Part design spec

-
CAD Part in 3D viewer

Example 2: Text To CAD Assembly
-
Input and CAD Assembly design spec

-
CAD Assembly in 3D viewer

Note: Downloading CAD models from the viewer is not yet supported. To download the model, please log in to https://gnucleus.ai and try the same prompt using the full feature set.
Troubleshooting
CAD Model
If the CAD model looks incorrect or only partially generated, try logging in at https://gnucleus.ai, enter the same prompt, and download the CAD file (e.g., FreeCAD format). Then open it in your CAD software(e.g. FreeCAD ). This issue is often caused by incomplete generation of CAD features within the part.
You can also report a bug or contact us with the model link and prompt at https://gnucleus.ai/contact.
Security Considerations
- Secure your
.envfile and never commit it to github - Run this server in a secure environment
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for gNucleus Text-To-CAD MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/text-to-cad-mcp)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related media design MCP Servers
Alternative and complementary servers in the same category

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.
