text-to-cad-mcp
2
gNucleus Text-To-CAD MCP server facilitates converting natural language text inputs into CAD models using the gNucleus API's generative AI capabilities. It supports transforming simple directives into complex 3D models, leveraging the Model Context Protocol for seamless integration.
gNucleus Text To CAD MCP server
gNucleus is a Generative AI platform that transforms text and images into editable CAD models. This repository hosts the gNucleus Text-To-CAD MCP server, enabling MCP clients to generate CAD parts and assemblies from text input using GenAI models.## Prerequisites
- Python 3.7+
- gNucleus Developer Accounts with API key
Setup
- Clone the repository
- Create and activate a virtual environment
- Install dependencies
- Configure the
.env
file with necessary API credentials.## Running the Server Start the MCP server to generate CAD models from natural language prompts.## Available MCP Tools
- text_to_cad(input: str) - Transform text into CAD designs.## Usage Examples
- Draw blocks, gears, or assemblies using simple text prompts.## Troubleshooting
- Address incomplete models by using the gNucleus platform for full features.
Security Considerations
- Keep the
.env
file secure and avoid committing it to GitHub.