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
Tavily Mcp
@tavily-ai

JavaScript
a year ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

5 hours ago