mcpField
E
Elegoo Mcp Server

Elegoo Mcp Server

Local
github.com/skribascodeOther3Updated 39w ago

About Elegoo Mcp Server

Elegoo MCP Server is a local server for controlling compatible Elegoo 3D printers over SDCP, aimed at users of MCP-compatible clients. It supports printer status, print jobs, file listing, lights, and camera stream access without cloud dependencies.

Key features

  1. 01Manage and switch between printers
  2. 02Read temperatures, position, and print progress
  3. 03Pause, resume, stop, and start prints
  4. 04Control printer lights
  5. 05List files and view thumbnails
  6. 06Retrieve a live camera stream URL

Use cases

  1. 01Check print progress from an MCP client
  2. 02Pause or resume an active print
  3. 03Browse printer files and start a print
  4. 04Retrieve the printer camera stream URL

MCP support

Exposes printer management and control tools to MCP clients, using SDCP over WebSocket. The server runs locally and requires the printer and computer to share a network.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"elegoo": {
"command": "npx",
"args": [
"-y",
"elegoo-mcp-server"
]
}
}
}
Run commandnpx -y elegoo-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmelegoo-mcp-server

Tools

20

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project README

Elegoo MCP Server

A local MCP (Model Context Protocol) server for controlling Elegoo 3D printers via the SDCP protocol.

100% local - no cloud dependencies.

⚠️ Your computer and printer must be on the same local network (WiFi or Ethernet).

Tested with Elegoo Centauri Carbon and Claude Desktop. Should work with any MCP-compatible client (VS Code, Cursor, etc.).

Features

FeatureSupportedNotes
Multi-printer management✓Add, remove, switch between printers
Connect/Disconnect✓WebSocket connection
Get Status✓Temperatures, position, print progress
Pause/Resume/Stop Print✓
Start Print✓From files on printer
Light Control✓On/Off
List Files✓With thumbnails for printed files
Camera Stream✓Live MJPEG URL
Temperature Control✗Not supported via SDCP
Fan Control✗Not supported via SDCP
Speed Control✗Not supported via SDCP
Movement/Homing✗Not supported via SDCP
Delete Files✗Not supported via SDCP

Features marked ✗ must be controlled via the printer touchscreen.

Prerequisites

  • Node.js 18+
  • Elegoo Centauri Carbon (or compatible SDCP printer)
  • Printer on same local network

Installation

Option 1: npx (Recommended)

No installation needed! Just configure Claude Desktop directly.

Option 2: Global install
npm install -g elegoo-mcp-server
Option 3: From source
git clone https://github.com/skribascode/elegoo-mcp-server.git
cd elegoo-mcp-server
npm install
npm run build

Configuration for Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Using npx (recommended)
{
  "mcpServers": {
    "elegoo": {
      "command": "npx",
      "args": ["elegoo-mcp-server"]
    }
  }
}
Using global install
{
  "mcpServers": {
    "elegoo": {
      "command": "elegoo-mcp-server"
    }
  }
}
Using local clone
{
  "mcpServers": {
    "elegoo": {
      "command": "node",
      "args": ["/path/to/elegoo-mcp-server/dist/index.js"]
    }
  }
}

Restart Claude Desktop after saving.

Quick Start

  1. Install the MCP (see above)
  2. Restart Claude Desktop
  3. Say: "Connect to my Elegoo printer"
  4. Claude will ask for your printer's IP address
  5. Done! Your printer is saved for future sessions.

Usage Examples

"What's the printer status?"
"Pause the print"
"Resume printing"
"Turn on the light"
"Show me the files on the printer"
"Start printing benchy.gcode"
"Show me the camera"

Available Tools

Startup
ToolDescription
elegoo_startInitialize and connect to default printer
elegoo_setupConfigure a new printer
elegoo_selectSwitch between saved printers
Configuration
ToolDescription
elegoo_add_printerAdd a printer
elegoo_remove_printerRemove a printer
elegoo_list_printersList saved printers
elegoo_set_defaultSet default printer
elegoo_update_printerUpdate printer settings
Printer Control
ToolDescription
elegoo_connectConnect to printer
elegoo_disconnectDisconnect
elegoo_statusGet full status (temps, position, progress)
elegoo_wakeWake up sleeping printer
elegoo_pausePause print
elegoo_resumeResume print
elegoo_stopCancel print
elegoo_start_printStart a print job
elegoo_set_lightTurn light on/off
elegoo_list_filesList files / print history (files with ✓ = already printed)
elegoo_view_fileView file thumbnail (printed files only)
elegoo_cameraGet camera stream URL

Protocol

This server implements SDCP (Smart Device Control Protocol) v3.0.0.

  • Connection: WebSocket at ws://{IP}:3030/websocket
  • Config storage: ~/.elegoo/config.json

Known Issues

  • Firmware v1.1.29: Light control may not work during printing. Firmware v1.1.25 works correctly.

Author

Made by @skribascode in vibe coding ;-)

Credits

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.