PrintStash MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
printstash-mcp
An MCP server for PrintStash, the self-hosted library for 3D models, G-code revisions and print history.
It lets an AI assistant such as Claude work with the whole library: search and organize models, read G-code revisions with their slicer settings, look at previews, log prints and read statistics, upload files and import from URLs, manage collections, tags, share links, pending imports, library sources, backups and connected printers, and move things to the trash, restore or purge them. Anything without a dedicated tool is reachable through find_api_endpoints and api_request, which cover the full PrintStash API.
Not affiliated with the PrintStash project.
Run
The image is built for amd64 and arm64 on every change and rebuilt weekly.
services:
printstash-mcp:
image: ghcr.io/dmmedakin/printstash-mcp:latest
container_name: printstash_mcp
restart: unless-stopped
environment:
PRINTSTASH_URL: http://printstash:3000
PRINTSTASH_USERNAME: your-user
PRINTSTASH_API_KEY: psk_...
PRINTSTASH_PUBLIC_URL: https://printstash.example.com
MCP_PATH: /mcp-<long random string>
ports:
- "3064:8000"Create the API key in PrintStash under Settings → Users & Access → API keys. The server signs in with it and renews the short-lived access token by itself.
The endpoint is http(s)://<host>:<port><MCP_PATH> (Streamable HTTP). The server has no authentication of its own: the long random MCP_PATH is the password, so keep it secret and put the server behind your reverse proxy with TLS. Generate one with openssl rand -hex 24.
Variable | Required | Meaning |
| yes | PrintStash address as seen from this container |
| yes | User that owns the API key |
| yes | The API key ( |
| no | Address you open in a browser; used for links to models and slicer downloads |
| yes | Path of the MCP endpoint |
| no | Listening port, default |
GET /healthz answers 200 while PrintStash is reachable and 503 otherwise; the image's health check uses it.
Related MCP server: PrintVaultMCP
Tools
Area | Tools |
Find and read |
|
Change models |
|
Add files |
|
Trash and delete |
|
Collections and tags |
|
Sharing |
|
Pending imports |
|
Library sources and jobs |
|
Printers |
|
Spoolman, presets, system |
|
Everything else |
|
Uploads and URL imports wait for the import and report matched_existing_model: PrintStash deduplicates by content, so a file that is already in the library is attached to the existing model rather than creating a new one.
api_catalog.json is the endpoint reference behind find_api_endpoints, generated from PrintStash's OpenAPI document with tools/make_catalog.py.
Develop
pip install -r requirements.txt
PRINTSTASH_URL=http://localhost:3000 PRINTSTASH_USERNAME=me PRINTSTASH_API_KEY=psk_... MCP_PATH=/mcp python server.pyLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Hosted Blender and OpenSCAD for your assistant: printable parts, flat parts, renders, turntables.
Search, read and tag your brand's photo, video, audio and PDF library from any AI assistant.
Log and query 3D prints, printers, filament, and projects on 3dprintlog.com, and search its docs.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to manage 3D printer filament inventory through Spoolman's API, allowing natural language queries and commands for CRUD operations on vendors, filaments, spools, settings, and more.3429 npm21MIT
- 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 work with OrcaSlicer code and perform slicing operations, such as reading files, checking Git status, and slicing 3D models to get print time and filament usage.MIT
- AlicenseNot gradedqualityBmaintenanceAllows an AI assistant to search a local library of 3D-printable models, retrieve geometry metrics like dimensions, triangle counts, and watertightness, and draft marketplace listings.GPL 3.0