Back to Directory/Developer Tools

io.github.daedalus/mcp-delonghi-ecam

MCP server for DeLonghi ECAM espresso coffee machines via local network

Developer ToolsPythonv0.1.1

mcp-delonghi-ecam

MCP server for DeLonghi ECAM espresso coffee machines via local network control.

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-delonghi-ecam

Overview

This MCP server provides comprehensive control over DeLonghi ECAM series automatic espresso coffee machines through their local network API. It enables LLMs to interact with the coffee machine for brewing beverages, monitoring status, and managing machine settings.

Supported Machines

  • DeLonghi ECAM 550 series
  • DeLonghi Dinamica Plus
  • DeLonghi PrimaDonna Soul
  • Other ECAM-based machines with local LAN API

Install

pip install mcp-delonghi-ecam

Usage

As MCP Server

Run the server:

mcp-delonghi-ecam

Or programmatically:

from mcp_delonghi_ecam import mcp

mcp.run()

Tools Available

ToolDescription
connectConnect to coffee machine at IP address
disconnectDisconnect from the machine
get_statusGet current machine status
brew_beverageBrew a specific beverage
stop_brewingStop current brewing
turn_onTurn machine on
turn_offTurn machine off
set_cup_lightControl cup illumination
set_cup_warmerControl cup warmer
get_machine_infoGet machine serial and model
get_statisticsGet usage statistics
list_beveragesList available beverages
get_recipeGet recipe for a beverage

Example Usage

# Connect to machine
await connect("192.168.1.100")

# Get status
status = await get_status("markdown")

# Brew espresso
result = await brew_beverage("espresso", 40, "normal", "medium")

# Brew cappuccino
result = await brew_beverage("cappuccino", 60, "strong", "high")

# Turn on cup warmer
await set_cup_warmer(True)

Configuration

The server connects to the coffee machine on the local network using:

  • Default Port: 10280
  • Protocol: HTTP (local LAN API)

Make sure the coffee machine is connected to the same network as the MCP server.

Development

git clone https://github.com/daedalus/mcp-delonghi-ecam.git
cd mcp-delonghi-ecam
pip install -e ".[test]"

# Run tests
pytest

# Format
ruff format src/ tests/

# Lint
ruff check src/ tests/

# Type check
mypy src/

API Reference

Beverage Types

  • espresso, coffee, long_coffee, espresso_2x
  • doppio_plus, americano, cappuccino
  • latte_macchiato, caffe_latte, flat_white
  • espresso_macchiato, hot_milk, hot_water, steam, chocolate

Taste Levels

  • extra_mild, mild, normal, strong, extra_strong

Temperature Settings

  • low, medium, high

License

MIT License - see LICENSE file for details.

Credits

Protocol information based on reverse-engineered specifications from:

  • longshot (Rust implementation)
  • ECAMpy
  • delonghi-coffee-link-python

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx mcp-delonghi-ecam

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-daedalus-mcp-delonghi-ecam": {
      "command": "uvx",
      "args": [
        "mcp-delonghi-ecam"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

mcp-delonghi-ecampypi

Compatible MCP Clients

io.github.daedalus/mcp-delonghi-ecam works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More