Skip to main content
Glama
TheFloatingString

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables coding agents to convert natural language engineering prompts into editable parametric CAD models with deterministic parsing, validation, and edit support.
    6
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to create and manipulate 3D CAD models using natural language via MCP, with git-based versioning and manufacturing output generation.
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    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.
    Academic Free v1.1