プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Bambu Lab Printer (LAN)

作者:b84330808バージョン 0.3.0i★ –iパソコンで動く
レジストリ名io.github.b84330808/mcp-server-for-bambu

インストール

概要

作者による説明(英語の原文)

Unofficial. Status, AMS filament, print control and maintenance for Bambu Lab 3D printers via LAN

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: デザイン・画像・音声
  • 入力が必要なもの:BAMBU_ACCESS_CODE

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: BAMBU_IP, BAMBU_SERIAL, BAMBU_ACCESS_CODE, BAMBU_READ_ONLY

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "for-bambu": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-for-bambu"
      ],
      "env": {
        "BAMBU_IP": "your-value",
        "BAMBU_SERIAL": "your-value",
        "BAMBU_ACCESS_CODE": "your-value",
        "BAMBU_READ_ONLY": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add for-bambu --env BAMBU_IP=your-value --env BAMBU_SERIAL=your-value --env BAMBU_ACCESS_CODE=your-value --env BAMBU_READ_ONLY=your-value -- npx -y mcp-server-for-bambu

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "for-bambu": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-for-bambu"
      ],
      "env": {
        "BAMBU_IP": "your-value",
        "BAMBU_SERIAL": "your-value",
        "BAMBU_ACCESS_CODE": "your-value",
        "BAMBU_READ_ONLY": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "for-bambu": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-for-bambu"
      ],
      "env": {
        "BAMBU_IP": "your-value",
        "BAMBU_SERIAL": "your-value",
        "BAMBU_ACCESS_CODE": "your-value",
        "BAMBU_READ_ONLY": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • BAMBU_IP env
    Printer IP on your LAN. Optional: leave all three unset and run the setup_printer tool instead.
  • BAMBU_SERIAL env
    Printer serial number (Settings > Device > Device Info).
  • BAMBU_ACCESS_CODE 秘密 env
    8-character LAN access code (Settings > WLAN > LAN Mode Liveview).
  • BAMBU_READ_ONLY env
    Set to 1 to register only read tools: no pause, cancel, heating or G-code.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント b84330808 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

デザイン・画像・音声のほかのサーバーとの比較i

  • このカテゴリのほかの2204件のうち0%よりスターが多い
  • このカテゴリのほかの2204件のうち74%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2204件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Bambu Lab Printer (LAN)は安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:BAMBU_ACCESS_CODE

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.3.0)がレジストリに届いたのは12 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Figma Context MCP, Claude Real Video, Figma MCP Server

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Figma Context MCP

作者:GLips

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

パソコンで動く★ 16,165MIT5 か月前更新
インストール

Claude Real Video

作者:HUANGCHIHHUNGLeo

Let any LLM watch a video locally — and search everything it has ever watched.

パソコンで動く★ 2,284MIT2 か月前更新
インストール

Figma MCP Server

作者:figma

The Figma MCP server brings Figma design context directly into your AI workflow.

クラウドで動く★ 2,15213 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

mcp-server-for-bambu

Ask Claude (or Cursor, or VS Code) what your Bambu Lab printer is doing, and have it pause, preheat or log maintenance, over your LAN with no cloud.

An MCP server for Bambu Lab 3D printers. It talks to the printer directly over its local MQTT interface. Built and tested against the P1S; other MQTT-speaking models (P1P, X1C, A1) should work.

⚠️ Unofficial — not affiliated with Bambu Lab

This is a community-built project. It is not affiliated with, endorsed by, or sponsored by Bambu Lab / Shenzhen Tuozhu Technology Co., Ltd. "Bambu Lab", "Bambu Studio", "P1S", "P1P", "X1C", and "AMS" are trademarks of their respective owners; references in this project are descriptive only (nominative fair use), made for compatibility purposes. Provided "as is" with no warranty.

Demo

*Real tool calls and output, run against the built-in printer simulator (npm run sim). Regenerate with scripts/demo/; docs/demo-script.md covers recording a session with a real printer.*

Features

Live statusState, current stage, progress, layer, time left, nozzle/bed/chamber temperatures, Wi-Fi signal
AMSFilament type, brand, color and remaining % per slot, plus the active slot
HealthActive HMS warnings decoded to module and severity, each with its Bambu wiki link
ControlPause, resume, cancel, chamber light, speed profile, preheat, AMS slot switch, raw G-code
Maintenance ledgerCounts print-hours locally and tells you when rails, carbon rods or the hotend are due
Guided setupNo config editing: tell Claude your IP, serial and access code; it tests them before saving
SafetyCancel, G-code and AMS switch need explicit confirmation; read-only mode; LAN addresses only
Works anywhere MCP doesClaude Code plugin, Claude Desktop, Cursor, VS Code, any stdio MCP client
Printer simulatornpm run sim starts a fake printer for trying it out, demos and tests

Quick start

You need Node.js 20+ and a printer on the same network with LAN Mode Liveview turned on.

Claude Code

Install the plugin (MCP server plus a short skill that teaches Claude the confirmation rules):

/plugin marketplace add b84330808/mcp-server-for-bambu

/plugin install bambu-printer@mcp-server-for-bambu

Or add just the MCP server:

claude mcp add --transport stdio --scope user bambu -- npx -y mcp-server-for-bambu
Claude Desktop

Open Settings → Developer → Edit Config (%APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS) and add:

{

"mcpServers": { "bambu": { "command": "npx", "args": ["-y", "mcp-server-for-bambu"] } } }

Fully quit Claude Desktop (tray icon → Quit) and reopen it.

Cursor

Or put this in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{

"mcpServers": { "bambu": { "command": "npx", "args": ["-y", "mcp-server-for-bambu"] } } }

VS Code
code --add-mcp "{\"name\":\"bambu\",\"type\":\"stdio\",\"command\":\"npx\",\"args\":[\"-y\",\"mcp-server-for-bambu\"]}"

Or add it to .vscode/mcp.json. This version passes the credentials as env vars and asks for the access code as a hidden input:

{

"inputs": [ { "type": "promptString", "id": "bambu-access-code", "description": "Bambu LAN access code (Settings > WLAN > LAN Mode Liveview)", "password": true } ], "servers": { "bambu": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-server-for-bambu"], "env": { "BAMBU_IP": "192.168.1.50", "BAMBU_SERIAL": "01P00A1234567890", "BAMBU_ACCESS_CODE": "${input:bambu-access-code}" } } } }

All of these are in examples/.

Connect your printer

On first start the server is in setup mode and offers one tool, setup_printer. Read three values off the printer's touchscreen:

  • IP: Settings → WLAN → tap the connected network
  • Serial: Settings → Device → Device Info (P1S: 01P00A…)
  • Access code: Settings → WLAN → LAN Mode Liveview, 8 characters, not the Wi-Fi password. LAN Mode Liveview must be ON.

Then tell your assistant:

"Set up my Bambu printer. IP is 192.168.1.50, serial 01P00A1234567890, access code 12345678."

setup_printer checks the format, connects to the printer, and saves the credentials only if the connection works. Restart the server once (Claude Desktop: quit and reopen; Claude Code: /mcp → reconnect bambu) and the printer tools appear.

You can skip this and pass BAMBU_IP, BAMBU_SERIAL and BAMBU_ACCESS_CODE as env vars instead, as in the VS Code example.

Try it
  • "What's my printer doing right now?"
  • "What filament is in AMS slot 2?"
  • "Any HMS warnings?"
  • "Anything overdue on the printer maintenance?"
  • "Pause the print." / "Resume."
  • "Preheat the nozzle to 210 and bed to 60."
  • "Cancel this print." (asks you to confirm first)
  • "I just lubricated the rails, log it."

Tools

ToolWhat it doesAsks first?
get_statusState, stage, temperatures, progress, layer, HMS warnings, Wi-Fi
get_ams_infoPer-slot filament type / color / remaining %, active slot
list_active_warningsActive HMS warnings with links to Bambu's wiki
get_maintenance_statusPrint-hours and lube / clean / inspect warnings
forecast_maintenanceWhen each maintenance task will be due at your recent print rate
get_recent_printsLast N print sessions: name, duration, finish time
mark_maintenance_doneLog a maintenance task (optionally back-dated by hours_ago)
pause_print / resume_printPause and resume the current print
set_lightChamber light on/off
set_speedsilent / standard / sport / ludicrous
preheatSet nozzle and/or bed target temperature
stop_printCancel the print. Not reversibleyes (confirm: true)
run_gcodeSend raw G-code (homing, Z moves, manual unload…)yes (confirm: true)
change_active_traySwitch the AMS to another slotyes (confirm: true)

Every tool also carries MCP annotations (readOnlyHint, destructiveHint), so clients that ask before running tools can treat the read tools and the destructive ones differently.

Safety

This server can move a heated toolhead and cancel hours of printing. It is built to make that hard to do by accident:

  • Confirmation for destructive tools. stop_print, run_gcode and change_active_tray refuse to run unless called with confirm: true, and their descriptions tell the model to set it only after you agree in plain words. Keep your client's own tool-approval prompts on as a second check.
  • Read-only mode. Set BAMBU_READ_ONLY=1 and the server registers only the read tools. Nothing can pause, cancel, heat or move the printer. A good default for a shared machine or a demo.
  • LAN only. It connects to the one printer IP you configure, on port 8883, and nowhere else: no Bambu cloud, no telemetry. setup_printer rejects addresses outside private ranges (192.168.x.x, 10.x.x.x, 172.16–31.x.x, plus link-local, loopback and the 100.64/10 range Tailscale uses). Never forward the printer's MQTT port to the internet.
  • Trusted network. The printer uses a self-signed certificate, so the connection is encrypted but the printer's identity is not verified. Use it on a network you trust.
  • Heaters stay on. preheat and M104/M140 leave the heaters at the target until something changes them. Turn them off (set 0) before you walk away.
  • Credentials stay local. They are stored in your user config directory (below), with owner-only permissions on macOS and Linux.

Configuration

Env varDefaultMeaning
BAMBU_IP, BAMBU_SERIAL, BAMBU_ACCESS_CODEfrom the saved .envPrinter credentials. Env vars win over the saved file
BAMBU_READ_ONLY01 registers only the read tools
BAMBU_CONFIG_DIRsee belowWhere the .env and the maintenance ledger live
MAINTENANCE_LEDGER_PATH /maintenance.jsonLedger file location

The config directory is:

  • Windows: %APPDATA%\mcp-server-for-bambu\
  • macOS: ~/Library/Application Support/mcp-server-for-bambu/
  • Linux: ~/.config/mcp-server-for-bambu/ (or $XDG_CONFIG_HOME)

Versions up to 0.2.0 kept .env and maintenance.json inside the installed package, where npx updates could delete them. 0.3.0 still reads an old .env from there and copies an old ledger into the config directory on first start.

The ledger persists to a local JSON file and survives crashes (active sessions are checkpointed every 5 elapsed minutes). Thresholds are in src/types.ts:

TaskInterval
Clean carbon rods100 print-hours
Lubricate linear rails200 print-hours
Inspect hotend / nozzle wear500 print-hours

A task flips to DUE_SOON (🔔) within 10 hours of the threshold and OVERDUE (⚠️) past it.

Try it without a printer

npm run sim (from a clone, after npm install) starts a simulated P1S halfway through a Benchy, with a 4-slot AMS, on mqtts://127.0.0.1:8883. It answers status requests and applies pause, resume, cancel, speed, preheat, light and AMS commands. Point the server at it:

BAMBU_IP=127.0.0.1 BAMBU_SERIAL=01P00ASIMULATOR BAMBU_ACCESS_CODE=12345678 node dist/index.js

Set SIM_PORT to use another port, then pass the same value as BAMBU_MQTT_PORT. The test suite uses the same simulator.

Development

git clone https://github.com/b84330808/mcp-server-for-bambu.git

cd mcp-server-for-bambu npm install npm test # builds, then runs unit + end-to-end tests against the simulator npm run dev # tsc --watch npm run sim # simulated printer

To run your local build from an MCP client, point it at node /absolute/path/to/mcp-server-for-bambu/dist/index.js.

src/

index.ts MCP server bootstrap + tool definitions config.ts Env / .env loading, LAN address check paths.ts Per-user config directory mqtt-client.ts TLS MQTT client for the printer (port 8883, self-signed cert) setup.ts setup_printer: validate, test the connection, save maintenance.ts Print-time ledger with crash-safe atomic writes + recovery hms.ts Bambu HMS error code → human label stages.ts Stage / speed / tray code → human label commands.ts MQTT command payloads sim/printer.mjs Simulated printer (aedes broker over TLS) plugins/ Claude Code plugin; .claude-plugin/marketplace.json lists it server.json MCP Registry metadata

Protocol notes:

  • Subscribe: device/{serial}/report
  • Publish: device/{serial}/request with {"pushing":{"sequence_id":"...","command":"pushall"}}
  • Auth: username bblp, password = access code, a random client

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く