Hammer MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| draw_lineD | Draw a DXF line. |
| draw_circleC | Draw a DXF circle. |
| draw_arcC | Draw a DXF arc using angles in degrees. |
| draw_polylineC | Draw a DXF lightweight polyline. |
| draw_rectangleC | Draw an axis-aligned DXF rectangle. |
| draw_textC | Add single-line text to the DXF drawing. |
| draw_hatchC | Add a hatch inside a closed polygon boundary. |
| add_dimensionC | Add a linear DXF dimension. |
| create_layerC | Create or update a DXF layer. |
| save_drawingC | Save the current drawing as DXF. |
| render_preview_2dC | Render the current DXF drawing to PNG. |
| create_boxC | Create an OpenSCAD box. |
| create_cylinderC | Create an OpenSCAD cylinder. |
| create_sphereC | Create an OpenSCAD sphere. |
| linear_extrudeC | Extrude a closed 2D polygon in OpenSCAD. |
| boolean_unionD | Union OpenSCAD objects. |
| boolean_differenceC | Subtract later OpenSCAD objects from the first. |
| boolean_intersectionC | Intersect OpenSCAD objects. |
| save_openscadC | Save the current OpenSCAD source without invoking the CLI. |
| render_preview_3dC | Render the current OpenSCAD model to PNG. |
| export_modelC | Export the current OpenSCAD model. |
| execute_scriptC | Execute guarded ezdxf Python or append raw OpenSCAD code. |
| process_commandC | Plan and execute a natural-language CAD request. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/RohanOnKeys/Hammer-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server