Skip to main content

Local MCP server that drives the UltiMaker Cura slicer. No hub, no telemetry.

Project description

cura-mcp (bridge)

The MCP server. Speaks MCP to your AI client and forwards each tool call to the Cura plugin over loopback HTTP. Knows nothing about Cura internals — it is pure transport, schemas, and error mapping.

Run (users)

Users don't install this directly — their MCP client launches it via uv: uvx cura-mcp (see the top-level README). uv brings its own Python, so no separate Python install is required.

Install (dev)

cd mcp-server
pip install -e ".[dev]"
python -m cura_mcp.server

Requires Cura running with the cura-plugin installed (the bridge fails fast with a clear error otherwise). Configuration via env vars — see config.py:

  • CURA_MCP_HOST (default 127.0.0.1)
  • CURA_MCP_PORT (default 8765)
  • CURA_MCP_TOKEN_FILE (default: platform user dir ~/.cura-mcp/token)
  • CURA_MCP_TIMEOUT (default 30 seconds; slice waits use a longer timeout)

Layout

src/cura_mcp/
  server.py     MCP entrypoint; registers tools
  client.py     HTTP client to the plugin (token-authenticated)
  models.py     pydantic schemas (tool I/O + plugin contract)
  config.py     settings
  errors.py     typed error hierarchy
  tools/        one module per tool

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

cura_mcp-0.1.0.tar.gz (98.8 kB view details)

Uploaded Source

Built Distribution

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

cura_mcp-0.1.0-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cura_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 98.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cura_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1bc76715adb80224780ca978b7ec9eb21731da963195b84e2bd262aaf443a9a8
MD5 096789db4ed0b09f168e5c77bdaac59e
BLAKE2b-256 bc41038ebc88d3134d9b3b6a07f9cd13507cb872281a3cf86bc28dc88c105388

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cura_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 37.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cura_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1f614a137cf9b5c8f766954f8e7e1407374b00644e83f867c93510b92dd968e
MD5 de5c33256490737ba905a617ee264739
BLAKE2b-256 ad41b3bf8ccfc7c1fd32ae8a4ce24497071df636174ec062373a5abeacdf6c38

See more details on using hashes here.

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