bambu-gateway-mcp
Enables LLM agents to control Bambu Lab 3D printers via the bambu-gateway HTTP API, supporting printer listing, filament management, print session creation, and safe print initiation with user confirmation.
README
bambu-gateway-mcp
An MCP server that exposes the bambu-gateway print-session HTTP API to an LLM agent, enabling agent-driven Bambu Lab 3D printer control.
Setup
pip install -e .
cp .env.example .env
# Edit .env and set GATEWAY_BASE_URL to your bambu-gateway instance
Configuration
| Variable | Default | Description |
|---|---|---|
GATEWAY_BASE_URL |
— | URL of the bambu-gateway instance, e.g. http://10.0.1.9:4844 |
Running
bambu-gateway-mcp
The server listens on stdio and is ready for an MCP client (Claude Code, Cursor, etc.) to connect.
Tools
The MCP server exposes the following tools:
list_printers— List configured printers (id, name, machine, online status)get_ams(printer_id)— Get AMS tray/filament state for filament selectionlist_filaments— Available slicer filament profileslist_processes— Available slicer process profilescreate_print_session(model_path, printer_id, ...)— Configure a print from a local 3MF/STL file. Returnsjob_id,slicedstatus, andhandoff_urlto review/tweak in the browser.get_print_session(session_id)— Poll session status andhandoff_urlstart_print(session_id)— Start printing a configured, sliced session (elicitation-gated — asks for approval first)
Typical Flow
- Call
list_printersto pick a target printer - Call
get_ams(printer_id)to see filament availability - Call
create_print_session(model_path, printer_id, ...)with your 3MF/STL and desired profiles - Share the returned
handoff_urlwith the user to review/adjust in the browser - Once ready, call
start_print(session_id)— the server asks for confirmation before printing
Safety
start_print always asks for explicit user approval in the conversation. No print starts silently; the tool prompts for elicitation and only proceeds if the user confirms. Clients that don't support elicitation fail safe (no print).
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.