PrusaLink MCP
Click on "Deploy 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., "@PrusaLink MCPCheck the current status and temperatures of my Prusa printer."
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.
PrusaLink MCP
A Model Context Protocol server for PrusaLink — control and monitor a Prusa 3D printer (including multi-tool models like the XL 5T) directly from an AI assistant.
Talks to the printer's local HTTP API over Digest authentication. No cloud, no account, nothing leaves your network.
Tools
Tool | Description |
| Printer state, temperatures (with targets), job progress, axis position, speed/flow |
| Serial, hostname, nozzle info, MMU state |
| Current job: file, progress, time remaining |
| List files/folders on a storage ( |
| Start printing a file already on the printer |
| Pause the current print |
| Resume a paused print |
| Stop the current job |
| Camera snapshot (if a camera is attached) |
| Upload a |
Related MCP server: PrintVaultMCP
Configuration
Credentials are read from an env-style file (never hardcoded):
# ~/.config/prusalink-mcp/prusa-env
PRUSA_HOST=192.168.1.100
PRUSA_USER=maker
PRUSA_PASS=your-printer-passwordThe path defaults to ~/.config/opencode/prusa-env; adjust ENV_FILE at the top of
prusalink_mcp.py if you store it elsewhere.
The printer password is the one displayed in PrusaLink → Settings → Password (or your Prusa Connect / local credentials).
Install
python3 -m venv venv
./venv/bin/pip install "mcp<2"This server uses the FastMCP v1 API (
mcp.server.fastmcp). It is pinned tomcp<2because v2 renamesFastMCPtoMCPServer.
Usage
As a stdio MCP server
./venv/bin/python prusalink_mcp.pyRegister it with an MCP client
{
"mcpServers": {
"prusalink": {
"command": "/path/to/venv/bin/python",
"args": ["/path/to/prusalink_mcp.py"]
}
}
}API reference
Built against the official PrusaLink OpenAPI spec: github.com/prusa3d/Prusa-Link-Web.
Tested against a Prusa XL 5T running PrusaLink 2.0.
Notes
prusa_upload_and_printuses the upload-by-PUT endpoint (PUT /api/v1/files/usb/{name}), which is how PrusaLink 2.0 accepts uploads.Uploads can be slow: the upload request uses a longer timeout than the other calls.
Digest auth is handled transparently by a persistent opener.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
3D print farm management for AI. Monitor, queue, and control prints on your SimplyPrint account.
- mytesla.ioOAuthio.mytesla
Control your Tesla from your AI assistant - climate, charging, access, and security.
- OwlCADOAuthcom.owlcad
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables comprehensive control and monitoring of Bambu Lab 3D printers through Claude using local MQTT, FTPS, and X.509 authentication. Users can manage print jobs, monitor real-time status, handle filament through AMS, and adjust hardware settings like temperature and lighting.2418 npm19MIT
- AlicenseAqualityFmaintenanceEnables AI assistants to manage 3D printing inventory, filament spools, printers, projects, and print trackers through a self-hosted Print Vault instance.40AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Bambuddy's 3D printer management API, including printer status, print queue, filament spools, and camera snapshots.5GPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI to monitor, control, and diagnose 3D printers via Repetier-Host/Repetier-Server, supporting temperature readings, job management, and intelligent error diagnosis.MIT