Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CAD-Query MCP Serververify this gear model has exactly 20 teeth and fits in a 50mm diameter"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CAD-Query MCP Server
A Model Context Protocol (MCP) server that provides CAD generation and verification tools for Claude Code. This server enables conversational 3D modeling by exposing CAD-Query functionality through MCP tools.
Features
verify_cad_query- Validates CAD-Query generated models against criteriagenerate_cad_query- (Stub implementation) Generates CAD-Query Python scripts from descriptionsCAD-Query Integration - Full CAD-Query support for parametric 3D modeling
STL/STEP Export - Direct export to 3D printing and CAD formats
Visual Feedback - SVG generation for model inspection
Installation
Claude Desktop Configuration
Add this to your Claude Desktop configuration file:
macOS
Location: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows
Location: %APPDATA%/Claude/claude_desktop_config.json
Configuration
MCP Tools
verify_cad_query
Validates a CAD-Query generated model against specified criteria.
Parameters:
file_path(string): Path to the CAD-Query Python fileverification_criteria(string): Description of what to verify
Example:
Returns:
generate_cad_query (Stub Implementation)
Generates CAD-Query Python scripts from natural language descriptions.
NOTE: Currently returns a stub response indicating the feature is not yet implemented.
Parameters:
description(string): Natural language description of the desired 3D modelparameters(string, optional): Specific dimensions or constraints
Example:
Returns:
CAD-Query Script Requirements
All CAD-Query scripts must end with show_object(result):
Development
Testing
Extending the Server
The current verify_cad_query implementation is a basic validator. You can enhance it to:
Parse and validate CAD-Query syntax
Execute model generation and catch errors
Analyze resulting geometry dimensions
Check for specific features and constraints
Generate detailed validation reports