Skip to main content
Glama

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-mcp

For an uninstalled checkout:

$env:PYTHONPATH = "src"
python -m hammer_cad_mcp.server

The 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.py

Generated files are written to output/.

Install Server
A
license - permissive license
C
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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