Bambu Gateway
БесплатноНе проверенEnables LLM agents to control Bambu Lab 3D printers via the bambu-gateway HTTP API, supporting printer listing, filament management, print session creation, and
Описание
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
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 |
REQUIRE_PRINT_CONFIRMATION |
true |
Whether start_print asks for confirmation via elicitation. Set false for clients that don't support elicitation (prints directly). |
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 selectionset_ams_filament(printer_id, ams_id, tray_id, setting_id, tray_color="")— Assign a slicer filament profile to one AMS tray (tray_idis the per-AMS slot 0..3;ams_id=255/tray_id=254for the external spool)list_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 asks for explicit user approval in the conversation by default. 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).
If your client can't elicit, set REQUIRE_PRINT_CONFIRMATION=false to let start_print print directly (the not-sliced guard still applies). Only do this when you trust the agent driving the printer.
Установка Bambu Gateway
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/leolobato/bambu-gateway-mcpFAQ
Bambu Gateway MCP бесплатный?
Да, Bambu Gateway MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Bambu Gateway?
Нет, Bambu Gateway работает без API-ключей и переменных окружения.
Bambu Gateway — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Bambu Gateway в Claude Desktop, Claude Code или Cursor?
Открой Bambu Gateway на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Bambu Gateway with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
