Hardware MCP Server
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., "@Hardware MCP Serverdesign a heatsink for a 50W CPU and simulate its thermal performance"
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.
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-hardwareNow, install all the Python dependencies using the uv package manager:
pip install uv
uv syncInstall ngrok or any similar tunelling services. ngrok can be installed from https://ngrok.com/downloads
Next, if you use ngrok, run:
ngrok http 8000This 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.pyIn a second terminal, run the client with the following:
uv run client.pyThis server cannot be installed
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/TheFloatingString/mcp-for-hardware'
If you have feedback or need assistance with the MCP directory API, please join our Discord server