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.1.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.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_delonghi_ecam-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2131aeb6fb2451909c453e979fe1e00a6ae6e8b1b1c199eb8a949814a98918e6
MD5 1f18af960a7ddf42b0112399de6d80c8
BLAKE2b-256 5ce7c9d3a9e6410d4af35b1b14fcf0184999dddba957e700cfdf4b79386dfc91

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_delonghi_ecam-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_delonghi_ecam-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 120a32cd19db3e32495e3f26584b6259e204181c1bea1ca264182541f940bed7
MD5 7330289ad3c764781301b39cadcd6f4e
BLAKE2b-256 687eb9c111cc2cf7b4d5919b92d292a97a16021e623977f611838e73dc1d01a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_delonghi_ecam-0.1.1-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