Skip to main content

mindcraft-mcp

The local MCP server of Mindcraft by Latency Labs. It runs on your machine and connects Codex or Claude Code to your Mindcraft account. Your assistant can then prepare your own repository and start, watch and steer research campaigns on it. The server holds only your API URL and your personal API token. The Mindcraft service keeps all campaign state.

Setup

The procedure needs uv. It supplies Python by itself.

  1. If uv is not installed, install it: curl -LsSf https://astral.sh/uv/install.sh | sh.
  2. Register the server in your client.
    • Claude Code: claude mcp add mindcraft --scope user -- uvx mindcraft-mcp@latest
    • Codex: codex mcp add mindcraft -- uvx mindcraft-mcp@latest
  3. Ask the client: "Show my Mindcraft account." A browser page opens. Sign in with Google, then click Connect.

The first sign-in stores the token in ~/.config/mindcraft/credentials.json (mode 0600). If no browser can open, the call gives a URL to open on another device. Call the tool again after you approve the request.

Caution: Click Connect only for a command that you started on your own machine.

Terminal commands:

Command Purpose
uvx mindcraft-mcp setup Sign in and register the server in each client on your PATH.
uvx mindcraft-mcp setup --no-browser Sign in without a browser. Open the URL on another device and type the code.
uvx mindcraft-mcp logout Revoke the token and delete the credentials file.
uvx mindcraft-mcp --version Show the package version and the schema version.

First campaign

  1. Ask your operator for a campaign spend limit on your account. Without a limit, the checks stop with LIMIT_REQUIRED.
  2. On the website, save the secret values that your training needs at /settings/secrets. Add model keys and the GitHub connection for private repositories at /settings/connections.
  3. Ask the assistant to prepare your repository for Mindcraft. The assistant reads mindcraft.guide with topic: "setup", edits your local files and runs inspect_repository.
  4. Confirm the objectives, the compute and the secrets. Then ask the assistant to create the campaign. The create action starts the campaign after the required checks pass. A campaign can cost money.
  5. Watch the run page at https://mindcraft.latencylabs.ai/runs/<id>, or ask the assistant for the status.

Tools

Tool Purpose
mindcraft.account Show your account, your spend and your limits.
mindcraft.guide Read the setup procedure and the repository rules.
mindcraft.compute List GPU types and estimate the cost of a campaign.
mindcraft.run Inspect a repository, upload or attach models, read project context and create a campaign.
mindcraft.status Show the state of a run, or list your runs.
mindcraft.results Show the experiments and their metrics.
mindcraft.artifacts Show the files of an experiment.
mindcraft.control Send stop, resume, retry, direction or retire_direction.
mindcraft.benchmark Show the device latency of an experiment.

What is new in 0.2.3

  • A new setup topic in mindcraft.guide gives the complete procedure from a local repository to a started campaign. The guide works before sign-in.
  • You can keep the confirmed objectives in a repository-root objectives.json file. inspect_repository shows the declarations that the service reads from that file.
  • An objective can name its measurement source: eval or orin_tensorrt.
  • The create action accepts objective_source ("request" or "file") when objectives.json and the objectives array differ.
  • The objectives array has no count limit. The service still limits its size in bytes.
  • The error messages give clearer recovery steps after an uncertain create. These steps help you prevent a duplicate paid campaign.

Settings

Setting Meaning
MINDCRAFT_API_URL Default https://mindcraft.latencylabs.ai
MINDCRAFT_API_TOKEN Optional. It replaces the stored token, for a script or a CI job

Metadata

Release files for mindcraft-mcp 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mindcraft-mcp 0.2.3
File Size Uploaded Provenance Actions
mindcraft_mcp-0.2.3.tar.gz 216.4 kB With provenance Details for mindcraft_mcp-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mindcraft-mcp 0.2.3
File Interpreter ABI Platform Actions
mindcraft_mcp-0.2.3-py3-none-any.whl Python 3 none any Details for mindcraft_mcp-0.2.3-py3-none-any.whl

Total release size: 376.6 kB

Release files / mindcraft_mcp-0.2.3.tar.gz

Download URL mindcraft_mcp-0.2.3.tar.gz
Size 216.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c70c95276d9ff651b705604f592a3fb3a59069afa416649f175e3af0569b7f90
BLAKE2b-256 checksum
How to use checksums
7842df626a00bf778ff86c268dc8b698c0ebe0c3bb0a9ac9e553f4c0caf5a043
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / mindcraft_mcp-0.2.3-py3-none-any.whl

Download URL mindcraft_mcp-0.2.3-py3-none-any.whl
Size 160.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
849f99a57993081042c9a0e3006008298a396cf47281a8b5e6d20a3cfb2bd99e
BLAKE2b-256 checksum
How to use checksums
5396b0aef5dd020860b88960333f70bd1640e1311b872a51ebce31e2231e2a23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Security for mindcraft-mcp 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mindcraft_mcp-0.2.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page