Skip to main content
Glama
Hardware MCP Server

Hardware MCP Server

Hardware for MCP

This repository shows examples of how you can use a language model to perform tool calls for:

  • building a CAD part

  • running heat transfer simulations

This repository uses the Model Context Protocol (MCP)

Install Dependencies

First, clone the current GitHub repository with the following command.

git clone https://github.com/TheFloatingString/mcp-for-hardware.git
cd mcp-for-hardware

Now, install all the Python dependencies using the uv package manager:

pip install uv
uv sync

Install ngrok or any similar tunelling services. ngrok can be installed from https://ngrok.com/downloads

Next, if you use ngrok, run:

ngrok http 8000

This will expose port 8000 (which we will be using soon for the MCP server) to a specific URL.

You should see a publicly visible URL after running the ngrok command. Keep note of this, you will need to add this in the .env file's environment variables.

Configure Environment Variables

Create a .env file and add the following environment variables

SERVER_BASE_URL=""
ANTHROPIC_API_KEY=""

Quickstart

In one terminal, run the MCP server with the following:

uv run server.py

In a second terminal, run the client with the following:

uv run client.py

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables coding agents to convert natural language engineering prompts into editable parametric CAD models with deterministic parsing, validation, and edit support.
      5
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables agent-assisted CAD engineering, allowing users to create, validate, and export CAD designs through natural language, with a deterministic engine that has zero LLM runtime dependency.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables LLM agents (and humans at a terminal) to drive FreeCAD through 280+ structured tools for parametric mechanical design, drawings, FEM/CFD and other simulations, and manufacturing checks. Also supports multi-agent orchestration, letting a team of agents split one product into components, build them in parallel, and merge them back together with fitting joints.
      286
      55 PyPI
      14
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to drive desktop CAD software through natural language with verified execution, failure recovery, and traceable results across modeling, assemblies, drawings, exports, motion, FEA, and related engineering workflows.
      1
      MIT