Skip to main content

MCP server for DeLonghi ECAM espresso coffee machines via local network

Project description

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

Tool Description
connect Connect to coffee machine at IP address
disconnect Disconnect from the machine
get_status Get current machine status
brew_beverage Brew a specific beverage
stop_brewing Stop current brewing
turn_on Turn machine on
turn_off Turn machine off
set_cup_light Control cup illumination
set_cup_warmer Control cup warmer
get_machine_info Get machine serial and model
get_statistics Get usage statistics
list_beverages List available beverages
get_recipe Get 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_delonghi_ecam-0.1.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_delonghi_ecam-0.1.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_delonghi_ecam-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_delonghi_ecam-0.1.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_delonghi_ecam-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0d7d058c8d1199c58ff84f805082a08b59f2e0b362f4a2ebbf8c3b9bdec1c831
MD5 c510e5112aa6f5469f95b626e76839a3
BLAKE2b-256 90626ca956ae9ef6de2060c7eddad65d4574686396644a2422b4971a84720127

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_delonghi_ecam-0.1.0.tar.gz:

Publisher: pypi-publish.yml on daedalus/mcp-delonghi-ecam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_delonghi_ecam-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_delonghi_ecam-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb59fbf13fcac0aa1e013d3d920fad6aad51aa5dd04ce0cf7cf13979f9f12661
MD5 42563a42cff230097f00260ce49691ec
BLAKE2b-256 174ca87b7f00b02cb3e87493307319b6b5ff2af9ca32b7805ab8ea7ebafde5c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_delonghi_ecam-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on daedalus/mcp-delonghi-ecam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page