Skip to main content

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

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.5.0.tar.gz (99.7 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.5.0-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cura_mcp-0.5.0.tar.gz
  • Upload date:
  • Size: 99.7 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.5.0.tar.gz
Algorithm Hash digest
SHA256 a69547d8c447438c6195e85dbd2b62c6380f73ab42435d4427338d94209fd505
MD5 fb8c41b5099678f7b270c5c94c91d9e0
BLAKE2b-256 f3db793f0b367b410028f325ec422fe44958a77d156fc99ef891d7ee6ce14946

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cura_mcp-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 38.4 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b04d20bf3c6adb99aeac8447006c0056e73e7fe866e2e899da8451fdacc4dcbc
MD5 317f5c88cc0240e41bf934db9338ec1f
BLAKE2b-256 9988e8a715771c83470cfded2fe64cb7f1529f2bcded20ed84147803f914f3a8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 files

0.1.0

2 files

Supported by

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