Cursor Setup
Connect Cursor to your print farm by adding a JSON config file. Once connected, Cursor's AI can control printers, check job status, and manage your fleet while you code.
Prerequisites
- Cursor IDE installed
- A PrintHive API key (generate one in Settings → API Keys)
Configuration
Create a .cursor/mcp.json file in your project root (or home directory for global access):
{
"mcpServers": {
"hive-mcp": {
"type": "streamable-http",
"url": "https://api.printhiv3d.com/v1/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}Replace YOUR_API_KEY with your actual API key.
Enable in Cursor
- Open Cursor Settings (
Cmd+,/Ctrl+,) - Navigate to Features → MCP Servers
- Verify that
hive-mcpappears in the server list - Toggle it on if it's not already enabled
Usage
Open Cursor's AI chat (Cmd+L) and ask about your printers. Cursor will automatically use the MCP tools when relevant:
> List all my printersExample Prompts
Show the status of all my printersPause the print running on my X1CWhat filaments are loaded in the AMS?Set fan speed to 80% on AlphonseShow me recent print jobs
Troubleshooting
- Server not appearing — Make sure the
.cursor/mcp.jsonfile is in your project root or~/.cursor/mcp.jsonfor global config. Restart Cursor after adding the file. - Authentication errors — Double-check your API key. Generate a new one in Settings if the current one is invalid.
- Tools not available — Ensure the MCP server is enabled in Cursor Settings → Features → MCP Servers.