GB

griches/bambu-mcp

Analytics & monitoring

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

60 stars 17 forks Качество 61 Тренд 1

griches/bambu-mcp - кандидат на сервер MCP, импортированный из https://github.com/griches/bambu-mcp.

Обзор

griches/bambu-mcp - кандидат на сервер MCP, импортированный из https://github.com/griches/bambu-mcp.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP) для управления 3D-принтерами Bambu Lab. Управляйте одним принтером или целым парком из любого MCP-совместимого помощника ИИ.

Особенности

Управление мультипринтерским парком - нацелено на конкретный принтер, все принтеры или автоматический выбор, когда настроен только один Полный контроль печати — запуск, пауза, возобновление, остановка печати и пропуск объектов в середине печати. Авто-обнаруживает правильную пластину в многоплановых файлах 3MF ** Управление файлами** — список, загрузка, загрузка и удаление файлов через FTP ** Управление оборудованием** — освещение, температура, профили скорости, конфигурация сопла AMS support — менять нити накала, разгружать нити накала

  • Camera - включить/отключить запись и временной промежуток Raw G-code - отправка пользовательских команд с ограничениями безопасности Постоянная конфигурация — учетные данные принтера, сохраненные до ~/.bambu-mcp/printers.json

Поддерживаемые принтеры

Проверено: Бамбу Лаборатория P1S Бамбу Лаб H2D Бамбу Лаб A1 Мини

Следует работать с любым принтером Bambu Lab, поддерживающим MQTT по LAN (X1C, X1, P1P, A1 и т.д.).

Настройка принтера

Перед использованием этого MCP-сервера каждый принтер должен быть настроен для локального доступа:

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Bambu MCP

A Model Context Protocol (MCP) server for controlling Bambu Lab 3D printers. Manage one printer or an entire fleet from any MCP-compatible AI assistant.

Features

  • Multi-printer fleet management — target a specific printer, all printers, or auto-select when only one is configured
  • Full print control — start, pause, resume, stop prints and skip objects mid-print. Auto-detects the correct plate in multi-plate 3MF files
  • File management — list, upload, download, and delete files via FTP
  • Hardware control — lights, temperatures, speed profiles, nozzle configuration
  • AMS support — change filament trays, unload filament
  • Camera — enable/disable recording and timelapse
  • Raw G-code — send custom commands with safety limits
  • Persistent config — printer credentials saved to ~/.bambu-mcp/printers.json

Supported Printers

Tested with:

  • Bambu Lab P1S
  • Bambu Lab H2D
  • Bambu Lab A1 Mini

Should work with any Bambu Lab printer that supports MQTT over LAN (X1C, X1, P1P, A1, etc.).

Printer Setup

Before using this MCP server, each printer must be configured for local access:

  1. Enable LAN Only Mode — On the printer’s touchscreen, go to Settings > Network and switch to LAN Only Mode. This is required for local MQTT commands (including starting prints) to work. Cloud mode blocks local print commands.

  2. Enable Developer Mode — On the printer’s touchscreen, go to Settings > Network > LAN Only Mode and enable Developer Mode. This allows third-party tools to send commands over the local network.

  3. Note the access code — After enabling LAN Only / Developer Mode, a new Access Code will be shown on the printer screen. You’ll need this to connect.

Note: Enabling LAN Only Mode means you lose cloud features (remote monitoring via Bambu Handy app, cloud printing). All control must be done locally.

System Requirements

  • Node.js 18+
  • Bambu Lab printer(s) on the same local network
  • Printer in LAN Only Mode with Developer Mode enabled
  • Printer access code and serial number (found in printer Settings > WLAN / Device)

Installation

Quick Start with npx

npx @griches/bambu-mcp

Claude Code

claude mcp add bambu -- npx @griches/bambu-mcp

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "bambu": {
      "command": "npx",
      "args": ["@griches/bambu-mcp"]
    }
  }
}

Build from Source

git clone https://github.com/griches/bambu-mcp.git
cd bambu-mcp
npm install
npm run build

Then configure with the absolute path:

{
  "mcpServers": {
    "bambu": {
      "command": "node",
      "args": ["/absolute/path/to/bambu-mcp/dist/index.js"]
    }
  }
}

Adding Printers

Once the server is running, add printers using the add_printer tool. You’ll need the following from each printer:

Открыть полный README на GitHub

Установка

npx @griches/bambu-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "bambu": { "command": "npx", "args": ["@griches/bambu-mcp"] } } }