3D Printer
Connects MCP to major 3D printer APIs (Orca, FULU's Orca/Bambu, OctoPrint, Klipper, Duet, Repetier, Prusa, Creality). Control prints, monitor status, and perform advanced STL operations like scaling, rotation, sectional editing, and base extension. I
What is 3D Printer?
3D Printer is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to connects mcp to major 3d printer apis (orca, fulu's orca/bambu, octoprint, klipper, duet, repetier, prusa, creality). control prints, monitor status, and perform advanced stl operations like scaling, ...
Connects MCP to major 3D printer APIs (Orca, FULU's Orca/Bambu, OctoPrint, Klipper, Duet, Repetier, Prusa, Creality). Control prints, monitor status, and perform advanced STL operations like scaling, rotation, sectional editing, and base extension. I
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Connects MCP to major 3D printer APIs (Orca, FULU's Orca/Bam
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-3d-printer-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use 3D Printer
The MCP 3D Printer Server bridges AI assistants to virtually every major consumer and prosumer 3D printer ecosystem, including Bambu Lab, OctoPrint, Klipper/Moonraker, Duet, Repetier, Prusa Connect, and Creality. It exposes tools for monitoring printer status, uploading and starting prints, managing files, controlling temperatures, and performing STL mesh operations such as scaling, rotation, translation, base extension, and multi-angle visualization. With support for FULU's OrcaSlicer-Bambu integration and auto-slicing of unsliced 3MF files, it enables hands-free AI-driven print management from within any MCP-compatible client.
Prerequisites
- Node.js 18+ installed
- A supported 3D printer connected to your network (Bambu Lab, OctoPrint, Klipper, Duet, Repetier, Prusa, or Creality)
- API key or credentials for your specific printer type
- For Bambu Lab printers: the printer's serial number, access token, and model identifier
- An MCP-compatible client such as Claude Desktop, Claude Code, or Cursor
Install the server
Install the package globally from npm or clone from source.
# Install from npm
npm install -g mcp-3d-printer-server
# Or clone from source
git clone https://github.com/DMontgomery40/mcp-3D-printer-server.git
cd mcp-3D-printer-server
npm install && npm linkGather your printer credentials
Collect the connection details for your printer. For OctoPrint, find the API key under Settings > API. For Bambu Lab, locate the serial number and access token in the printer's network settings or the Bambu Handy app.
Configure your MCP client with printer environment variables
Add the server to your MCP client configuration with the environment variables for your printer type. At minimum set PRINTER_TYPE, PRINTER_HOST, and API_KEY (or Bambu-specific vars).
Restart your MCP client
After saving the configuration, restart your MCP client to load the new server and its environment variables.
Verify printer connectivity
Ask your AI assistant to check the printer status. A successful response confirms the server can reach your printer.
3D Printer Examples
Client configuration
MCP configuration for an OctoPrint-connected printer. Replace the values with your printer's actual IP address, port, and API key.
{
"mcpServers": {
"3d-printer": {
"command": "mcp-3d-printer-server",
"args": [],
"env": {
"PRINTER_TYPE": "octoprint",
"PRINTER_HOST": "192.168.1.100",
"PRINTER_PORT": "80",
"API_KEY": "YOUR_OCTOPRINT_API_KEY",
"MCP_TRANSPORT": "stdio"
}
}
}
}Prompts to try
Example prompts for controlling and monitoring your 3D printer through an AI assistant.
- "What is the current printer status — is anything printing, and what are the bed and nozzle temperatures?"
- "Upload this STL file and extend the base by 5mm, then start the print"
- "Scale my model.stl to 150% and show me a multi-angle preview before slicing"
- "Cancel the current print and cool down the printer"
- "Print ~/model.3mf on my Bambu P1S and map it to AMS slots 0 through 3"Troubleshooting 3D Printer
Connection refused when the server tries to reach the printer
Verify PRINTER_HOST and PRINTER_PORT are correct and that the printer's API is accessible on your local network. For OctoPrint, test with `curl http://PRINTER_HOST/api/version -H 'X-Api-Key: YOUR_KEY'` from your terminal.
Bambu Lab printer does not respond or authentication fails
Bambu Lab printers use MQTT and FTPS on the local network. Ensure BAMBU_SERIAL, BAMBU_TOKEN, and BAMBU_MODEL are all set correctly in the env. The printer must be on the same local network segment as the server — cloud relay is not supported.
Large STL operations are very slow or cause out-of-memory errors
The server loads STL meshes into RAM for manipulation. Files larger than 10 MB can consume significant memory. Split complex models before uploading, or use an external slicer for very large files.
Frequently Asked Questions about 3D Printer
What is 3D Printer?
3D Printer is a Model Context Protocol (MCP) server that connects mcp to major 3d printer apis (orca, fulu's orca/bambu, octoprint, klipper, duet, repetier, prusa, creality). control prints, monitor status, and perform advanced stl operations like scaling, rotation, sectional editing, and base extension. i It connects AI assistants to external tools and data sources through a standardized interface.
How do I install 3D Printer?
Follow the installation instructions on the 3D Printer GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with 3D Printer?
3D Printer works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is 3D Printer free to use?
Yes, 3D Printer is open source and available under the GPL 2.0 license. You can use it freely in both personal and commercial projects.
3D Printer Alternatives — Similar Developer Tools Servers
Looking for alternatives to 3D Printer? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up 3D Printer in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use 3D Printer?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.