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. Check CLI version for CLI interactions

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
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (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.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • DXF drawings for AI agents: structured facts, PNG renders, and an interactive in-chat viewer.

  • Agent-first CAD: editable .kcad.ts source, deterministic review, OpenCASCADE kernel.

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

View all MCP Connectors

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