DMontgomery40/bambu-printer-mcp
MCP server for Bambu Lab 3D printers — STL manipulation, BambuStudio or FULU/orca slicing, Blender MCP integration, and direct printer control
7c0349fcd988bambu-printer-mcp1.1.99 in package.jsonio.github.DMontgomery40/bambu-printer-mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
Prompt Integrity is not analysed and has no number.
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Prompt Integrity: no tool description could be read from the code
- In 900 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 2 files exceeded the 524288 byte size limit and were parsed only up to it
- 2 source files could be read only in part
- 8 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- HIGHTools with a name computed at run time, with a name computed at run time read or write any file path by design: an agent steered by prompt injection can use them that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
dist/index.js:3310,src/index.ts:3818can read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
dist/index.js:3310,src/index.ts:3818, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 10 resources, 2 prompts, 2 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
(name computed at run time)(name computed at run time)(name computed at run time)(name computed at run time)No tool was seen to: start other programs on the machine; connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files2 tools · (name computed at run time)
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (14: 10 resources, 2 prompts, 2 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)prompt
No description.
(name computed at run time)prompt
No description.
(name computed at run time)resource
No description.
(name computed at run time)resource
No description.
(name computed at run time)resource
No description.
(name computed at run time)resource
No description.
Bambu Printer Filesresource List of files on the Bambu Lab printer
List of files on the Bambu Lab printer
Bambu Printer Filesresource List of files on the Bambu Lab printer
List of files on the Bambu Lab printer
Bambu Printer HMS Diagnosticsresource HMS and error-related fields from the latest printer status
HMS and error-related fields from the latest printer status
Bambu Printer HMS Diagnosticsresource HMS and error-related fields from the latest printer status
HMS and error-related fields from the latest printer status
Bambu Printer Statusresource Current status of the Bambu Lab printer
Current status of the Bambu Lab printer
Bambu Printer Statusresource Current status of the Bambu Lab printer
Current status of the Bambu Lab printer
(name computed at run time)tool FilesCredentialsEnv varsSensitive pathsoutside text
No description.
(name computed at run time)tool FilesCredentialsEnv varsSensitive pathsoutside text
No description.
Text the model reads (14)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) prompt
(name computed at run time) prompt
Bambu Printer Status resource
Current status of the Bambu Lab printer
Bambu Printer Files resource
List of files on the Bambu Lab printer
Bambu Printer HMS Diagnostics resource
HMS and error-related fields from the latest printer status
(name computed at run time) resource
(name computed at run time) resource
Bambu Printer Status resource
Current status of the Bambu Lab printer
Bambu Printer Files resource
List of files on the Bambu Lab printer
Bambu Printer HMS Diagnostics resource
HMS and error-related fields from the latest printer status
(name computed at run time) resource
(name computed at run time) resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path2 findings the scanner could not decide; see the findings below
- Requests any addressNo tool sends a request to an address the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
- Tools that touch files2 of 14 capabilities touch files; 12 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 2 files at commit 7c0349fcd988
dist/index.js(name computed at run time), Bambu Printer Status, Bambu Printer Files, Bambu Printer HMS Diagnostics, (name computed at run time), (name computed at run time), (name computed at run time)src/index.ts(name computed at run time), Bambu Printer Status, Bambu Printer Files, Bambu Printer HMS Diagnostics, (name computed at run time), (name computed at run time), (name computed at run time)
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests2 manifests: package.json, site/package.json
- Lockfiles checked against OSV2 files resolved and checked against the OSV database
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependencies2 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/sdk ^1.32.2
- 2 checks: undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Credential harvestingNot checked: no tool description could be read from the code
- Tools that read credentials2 of 14 capabilities read credentials; 12 more call code the scanner could not follow, where it may happen
- Environment variables2 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (6 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
2 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
vitenpm 5.4.21 HIGH 8 advisories 6.4.26.4.36.4.4+8 more
- HIGHGHSA-587h-7wmj-h5pm CVE-2026-112942launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
- MEDIUMGHSA-4w7w-66w2-5vf9 CVE-2026-39365Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
- MEDIUMGHSA-698v-4r3x-3vcv CVE-2026-112943launch-editor: escapeCmdArgs() omits % escaping on Windows
- MEDIUMGHSA-rq7h-c2jc-7f22 CVE-2026-112946Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
- MEDIUMGHSA-fx2h-pf6j-xcff CVE-2026-53571vite: `server.fs.deny` bypass on Windows alternate paths
- MEDIUMGHSA-v6wh-96g9-6wx3 CVE-2026-53632launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows
- MEDIUMGHSA-r825-w8mm-5pxw CVE-2026-112944launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
- LOWGHSA-9jrq-w75r-8gcw CVE-2026-112945Vite: Cross origin script execution through Vite custom middleware
esbuildnpm 0.21.5 MEDIUM 1 advisory 0.25.0
- MEDIUMGHSA-67mh-4wv8-2f99esbuild enables any website to send any requests to the development server and read the response
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.32.2 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Install it
For the server's own npm package bambu-printer-mcp. Pin a version ([email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"bambu-printer-mcp": {
"command": "npx",
"args": [
"-y",
"bambu-printer-mcp"
]
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"bambu-printer-mcp": {
"command": "npx",
"args": [
"-y",
"bambu-printer-mcp"
]
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"bambu-printer-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bambu-printer-mcp"
]
}
}
}Claude Code terminal
claude mcp add bambu-printer-mcp -- npx -y bambu-printer-mcpWhere it is published
| npm package | bambu-printer-mcp |
|---|---|
| Downloads | 27 146 a month on npm |
| MCP Registry | io.github.DMontgomery40/bambu-printer-mcp |
| Listed in | 5 catalogs (github_search, glama, mcp_registry, mcp_toplist, npm) |
| License | GPL-2.0 |
| Created | 2026-03-16 |
| Topics | 3d-printing 3js 3mf bambu-cli bambu-js bambu-lab-cli bambu-node bambu-studio bambulab blender |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.