MCP Hub
Back to servers

PrusaMCP

An intelligent 3D printing assistant that enables users to analyze meshes, generate optimal print profiles, and automate PrusaSlicer operations through an MCP client. It provides a comprehensive suite of tools for geometric analysis, printability checks, filament recommendations, and post-print diagnostics.

Stars
4
Updated
Feb 23, 2026
Validated
Feb 25, 2026

PrusaMCP

Intelligent MCP Server for PrusaSlicer — 17 tools to analyze, configure and launch your 3D prints from Claude or any MCP client.

PrusaMCP is not a simple CLI wrapper. It's a 3D printing assistant that analyzes your mesh, recommends optimal settings with justification, diagnoses defects, and can drive PrusaSlicer automatically.

Built with Claude Code.

Features

  • Native mesh analysis — Binary/ASCII STL and 3MF parser, zero external dependencies for parsing
  • Recommendation engine — Bible FDM + official Prusa knowledge base, justification for every setting
  • MVS-based speed capping — Automatic speed calculation based on material Max Volumetric Speed
  • 17 MCP tools covering the full print workflow
  • Post-print diagnostics — Bible FDM diagnostic tree for 9 common defects
  • Filament database — 30+ filaments with temperatures, MVS, recommended surface

Tools

Analysis & Recommendation (no PrusaSlicer needed)

ToolDescription
analyze_meshGeometric analysis of STL/3MF (dimensions, volume, overhangs, manifold)
check_printabilityIssue detection: thin walls, bridges, overhangs, stability
suggest_orientationTest 6 orientations with scoring (overhangs, height, adhesion)
recommend_profileFull profile recommendation with per-setting justification
generate_prusaslicer_configGenerate PrusaSlicer-compatible .ini file
estimate_costCost estimate (filament + electricity) and print time
search_filamentSearch filament database (30+ entries)
print_wizardAll-in-one: analysis + printability + orientation + profile + questions
diagnose_printPost-print diagnosis (warping, stringing, under-extrusion...)

PrusaSlicer Integration

ToolDescription
slice_prusaslicerRun slicing via CLI with G-code stats
get_current_modelGet the model currently open in PrusaSlicer
screenshot_prusaslicerCapture PrusaSlicer window (even in background)
postprocess_gcodeG-code post-processing (pause, filament change, etc.)
upload_printUpload to OctoPrint / Prusa Connect

Feedback & Community

ToolDescription
submit_feedbackSubmit print feedback after printing
feedback_statsFeedback statistics by material/goal
export_feedbackAnonymized community data export

Installation

git clone https://github.com/Noosbai/PrusaMCP.git
cd PrusaMCP
npm install
npm run build

Configuration

Claude Desktop / Claude Code

Add to your MCP configuration:

{
  "mcpServers": {
    "prusa-mcp": {
      "command": "node",
      "args": ["/path/to/PrusaMCP/build/index.js"],
      "env": {
        "PRUSASLICER_PATH": "C:/Program Files/Prusa3D/PrusaSlicer/prusa-slicer-console.exe"
      }
    }
  }
}

Environment Variables

VariableDescriptionDefault
PRUSASLICER_PATHPath to prusa-slicer-console.exeAuto-detected
PRUSASLICER_PROFILES_DIRPrusaSlicer profiles folder%APPDATA%/PrusaSlicer
OCTOPRINT_URLYour OctoPrint instance URL
OCTOPRINT_API_KEYOctoPrint API key

Usage

Typical Workflow

  1. Analyze a model: analyze_mesh to get dimensions, overhangs, etc.
  2. Check printability: check_printability to detect potential issues
  3. Get a recommendation: recommend_profile with your goal (draft, standard, quality, strong, speed)
  4. Generate config: generate_prusaslicer_config for a ready-to-use .ini
  5. Slice: slice_prusaslicer to generate G-code

Or in one command

print_wizard does everything at once: analysis + printability + orientation + profile + cost estimate + follow-up questions to refine.

Available Goals

GoalDescription
draft / prototypeFast, quality secondary
standardGood quality/time balance
quality / fineSmooth surface, fine details
strong / structuralMaximum mechanical strength
vaseSpiral vase mode
speedEverything maxed out

Supported Materials

PLA, PETG, ABS, ASA, TPU, Nylon, PC — with official Prusa temperatures, Bible FDM MVS values, drying/enclosure warnings.

Knowledge Base

The recommendation engine is built on:

  • Bible de l'impression 3D FDM — Comprehensive FDM settings guide for PrusaSlicer
  • Official Prusa documentation — Temperatures, MVS, reference profiles
  • 9-step calibration workflow (mechanical → PID → Z → EM → MVS → retraction → cooling → PA → accel)
  • Diagnostic tree for 9 common defects with causes and fixes

MVS (Max Volumetric Speed) — The Central Parameter

MaterialMVS (mm³/s)
PLA~15
ABS/ASA~11
PETG~8
Nylon/PC~8
PVA/BVOH~4
TPU~1-2.5

Architecture

src/
├── index.ts              # MCP entry point + STDIO transport
├── types.ts              # TypeScript interfaces
├── config.ts             # PrusaSlicer detection
├── stl-parser.ts         # Native binary/ASCII STL parser
├── threemf-parser.ts     # 3MF parser (ZIP + XML)
├── mesh-analyzer.ts      # Geometric analysis
├── profile-engine.ts     # Recommendation engine (Bible FDM)
├── ini-writer.ts         # PrusaSlicer .ini generation
├── print-issues.ts       # Issue detection + Bible FDM diagnostics
├── orientation.ts        # Optimal orientation suggestion
├── cost-estimator.ts     # Cost/time estimation
├── filament-db.ts        # Filament database
├── prusa-cli.ts          # PrusaSlicer CLI wrapper
├── community-data.json   # Community data (MVS, diagnostics, best practices)
└── tools/                # 17 MCP tools
    ├── analyze-mesh.ts
    ├── check-printability.ts
    ├── suggest-orientation.ts
    ├── recommend-profile.ts
    ├── generate-config.ts
    ├── estimate-cost.ts
    ├── search-filament.ts
    ├── print-wizard.ts
    ├── diagnose-print.ts
    ├── slice.ts
    ├── get-current-model.ts
    ├── screenshot-prusaslicer.ts
    ├── postprocess-gcode.ts
    ├── upload-print.ts
    └── feedback.ts

Requirements

  • Node.js >= 18
  • PrusaSlicer (optional — only needed for slice, screenshot, get_current_model)
  • Windows for screenshot feature (uses PrintWindow API)

License

MIT

Reviews

No reviews yet

Sign in to write a review