Skip to main content
Glama
Codemod3

CAD MCP Server

by Codemod3

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
dxf_summaryA

Return a high-level overview of a DXF file.

Includes DXF version, units, layer count, entity counts per type, block definitions, and drawing extents.

dxf_list_layersA

List all layers in a DXF file with their properties.

Returns each layer's name, color, linetype, lineweight, and on/frozen state.

dxf_get_layer_entitiesB

Return all entities on a specific layer.

dxf_get_entities_by_typeB

Return all entities of a given DXF type (e.g. LINE, CIRCLE, TEXT, MTEXT).

Optionally filter by layer name.

dxf_get_textA

Extract all TEXT and MTEXT entities from the drawing.

Useful for reading annotations, labels, title blocks, and notes.

dxf_get_dimensionsA

Extract all DIMENSION entities from the drawing.

Returns each dimension's measurement text, layer, and geometry points.

dxf_get_blocksA

List all named block definitions in the DXF file.

Blocks are reusable symbol libraries (e.g. doors, valves, furniture). System blocks starting with * are excluded.

dxf_get_block_detailA

Return all entities inside a named block definition.

cad_create_editable_copyA

Make an editable .dxf copy of an original DXF or DWG file.

The original is never modified. All edit tools then operate on the copy, in place — call them repeatedly to keep building on the same copy. DWG input is converted to DXF automatically (needs the ODA File Converter).

cad_add_lineA

Draw a line on the editable copy and save it in place.

cad_add_circleB

Draw a circle on the editable copy and save it in place.

cad_add_arcA

Draw an arc on the editable copy and save it in place.

cad_add_textB

Add a TEXT entity on the editable copy and save it in place.

cad_add_polylineB

Draw an LWPOLYLINE (connected line segments) on the copy and save it.

cad_add_layerA

Create a new layer on the editable copy and save it in place.

cad_delete_entityA

Delete a single entity by its handle from the editable copy.

Get handles from any read tool (they include a "handle" field).

cad_export_dwgA

Convert an edited .dxf file to .dwg (needs the ODA File Converter).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/Codemod3/CAD-MCP'

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