cadex-mcp
Click on "Deploy 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., "@cadex-mcpload model.stp and show its hierarchy"
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 Exchanger MCP Server
Python MCP server for CAD Exchanger SDK core operations: loading CAD models once, keeping them in a small path-based cache, inspecting model metadata/tree, computing validation properties, and exporting cached models.
This could be useful in several scenarious:
Discover capabilites of CADEx SDK, handy integration with its own tools and apps.
Convenient way to explore model, performing common pipeline and create custom ones.
Provide an agent CAD brep/bom context in debugging and model analysis purposes.
Quick setup
Set up environment
git clone https://github.com/Ibukhvalov/cadex-mcp.git
cd cadex-mcp
pip install -e .
pip install cadexchanger --extra-index-url="https://download.cadexchanger.com/sdk/python"Related MCP server: build123d-mcp
Connect to agent
Codex
~/.codex/config.toml
[mcp_servers.cadex]
command = "<path to python with installed dependencies>"
args = [
"-m",
"cadex_mcp",
"--license-file",
"<path to cadex_license.py>",
"--cache-size",
"3",
]
cwd = "<path to cadex-mcp (this repo)>"
startup_timeout_sec = 30
tool_timeout_sec = 300
enabled = true
required = trueAfter restaring agent, it must be informed of the mcp server and can perform calls.
Options
License Configuration
$env:CADEX_LICENSE_FILE = "A:\path\to\cadex_license.py"
cadex-mcpor:
cadex-mcp --license-file "A:\path\to\cadex_license.py"Cache Configuration
The model cache is path-keyed LRU. A model reference, model_ref, is the
canonical absolute path to the loaded file.
$env:CADEX_MCP_CACHE_SIZE = "5"
cadex-mcpor:
cadex-mcp --cache-size 5Default cache size is 3.
Logging
Diagnostics are written to stderr so stdout stays reserved for the MCP stdio
protocol. By default the server logs startup, license activation, cache hits,
model loading, validation calls, and export destinations at INFO level.
$env:CADEX_MCP_LOG_LEVEL = "DEBUG"
$env:CADEX_MCP_LOG_FILE = "A:\path\to\cadex-mcp.log"
cadex-mcpor:
cadex-mcp --log-level DEBUG --log-file "A:\path\to\cadex-mcp.log"MCP Tools
load_model(path, reload=false)unload_model(model_ref)list_models()model_info(model_ref)model_tree(model_ref, max_depth=8)validation_properties(model_ref)export_model(model_ref, output_path, format=null)server_status()
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Product Management
MCP server for progressive tool usage at any scale (see https://klavis.ai)
A Model Context Protocol (MCP) server for Selise Blocks Cloud integration
MCP server for the Seline Analytics API
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes CAD geometry reasoning over STEP files to LLMs, allowing natural language queries about parts, assemblies, dimensions, holes, and mass properties.-
- AlicenseAqualityAmaintenanceMCP server for Python build123d to help AIs develop and reason about 3D models and CAD481,428 PyPI94Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server for Spline.design code generation and asset management.4BSD 3-Clause
- AlicenseAqualityDmaintenanceMCP server for integrating with Rodin Gen-2 API to generate 3D models from text descriptions or images.6MIT