Hammer MCP
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., "@Hammer MCPdraft a rectangle of 80x60 mm and extrude to 15 mm"
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.
Hammer MCP
Hammer MCP is a standalone Model Context Protocol server for generating CAD files. It exposes DXF and OpenSCAD operations to MCP clients and contains no interactive user CLI.
Capabilities
DXF drafting, saving, and PNG previews.
OpenSCAD primitives, extrusion, Boolean operations, PNG rendering, and STL/3MF/OFF export.
Local Ollama planning for multi-step natural-language requests.
Guarded scripting with audit logging.
Related MCP server: 3D MCP Server
Install and run
python -m pip install -e ".[dev]"
hammer-cad-mcpFor an uninstalled checkout:
$env:PYTHONPATH = "src"
python -m hammer_cad_mcp.serverThe server uses MCP stdio transport and waits silently when started directly.
MCP client configuration
{
"mcpServers": {
"hammer-cad": {
"command": "python",
"args": ["-m", "hammer_cad_mcp.server"],
"cwd": "C:\\path\\to\\HammerMCP",
"env": {
"PYTHONPATH": "C:\\path\\to\\HammerMCP\\src"
}
}
}
}Natural-language planning defaults to local llama3:latest through Ollama.
Change the model or URL in config/config.json.
Test
python -m pytest -q
python scripts\mcp_smoke_test.pyGenerated files are written to output/.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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