Elegoo Mcp Server

Created By
skribascode4 months ago
Control Elegoo 3D printers (Centauri Carbon) via SDCP. Monitor status, pause/resume prints, manage files, control lights. 100% local.
Overview

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 managementAdd, remove, switch between printers
Connect/DisconnectWebSocket connection
Get StatusTemperatures, position, print progress
Pause/Resume/Stop Print
Start PrintFrom files on printer
Light ControlOn/Off
List FilesWith thumbnails for printed files
Camera StreamLive MJPEG URL
Temperature ControlNot supported via SDCP
Fan ControlNot supported via SDCP
Speed ControlNot supported via SDCP
Movement/HomingNot supported via SDCP
Delete FilesNot 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

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

{
  "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

Server Config

{
  "mcpServers": {
    "elegoo": {
      "command": "npx",
      "args": [
        "elegoo-mcp-server"
      ]
    }
  }
}
Project Info
Created At
4 months ago
Updated At
4 months ago
Author Name
skribascode
Star
-
Language
-
License
-
Category
Tags

Recommend Servers

View All
Kite

12 hours ago
Demand Chain - AI Agent native demand matching platform
@文明天梯

让你的Agent来跟全世界对接需求,你的AI助理帮你把需求传达出去,又帮你接受别人给你的需求。 需求链平台是将整个人类联结在一起的一个工具,组成一个网络。 告诉你的AI助理,你的需求,Agent会在需求链平台上寻找到能解决你需求的人。 别人也会将他的需求传达给你,你接受你能处理的需求,你也可以将这个需求拆分,变成数个小的需求,继续放在需求链上传递下去。 比如说你想要一种技术的创新,一个人工智能的新算法,或者是需要一种新材料,想要一种新的解决方案,去解决工作生活中的真实痛点。 你或许有一个天才的想法,需要有人与你一起去验证是否可行。 或者你已经有一套成功的技术,需要让全世界都知道你的方案。 总之每个人都有各种需求需要解决,而需求链平台,就是帮你解决各种需求而存在的机制。 赶快打开你的Agent,告诉他,你的需求吧。 此需求链平台是地球人类共有的基础设施,永久开源,中立,免费。 Let your Agent connect with demands from across the globe. Your AI assistant will forward your requests and receive demands from others for you. The Demand Chain Platform is a tool that unites all humanity into a connected network. Simply tell your AI assistant what you need, and your Agent will find people on the platform who can address your requirements. Others will also send their demands to you. You may take on tasks you are capable of handling, or split a single demand into several smaller ones to keep them circulating on the Demand Chain. For instance, you may seek technological innovation, a new AI algorithm, advanced new materials, or practical solutions to real problems in work and daily life. You might have a brilliant idea and need partners to verify its feasibility. Or you possess proven technologies and wish to share your solutions with the whole world. Everyone has various needs to fulfill, and the Demand Chain Platform is built precisely for this purpose. Launch your Agent and submit your demands right away. As a shared infrastructure for all people on Earth, this Demand Chain Platform is permanently open-source, neutral and free of charge.

an hour ago
Meteomatics

12 hours ago