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.4

Version 0.2.4 adds the optional hourly_price_preference_usd field to mindcraft.compute and mindcraft.run. The preference is soft; an eligible node can exceed it. The campaign allowance still controls admission. Earlier clients can retain the deprecated extra allowance and estimate fields. The API schema remains at version 2.

The status tool reports the selected node, provider, region, exact hardware, hourly customer price, and separate transfer estimate. The hourly price includes compute and storage. Transfer details distinguish estimates from confirmed charges and expose bounded evidence without private connection IDs.

The compatible backend automatically permits at most two unresolved allocation requests. It targets a verified worker within 15 minutes and ends an unsuccessful acquisition after 30 minutes. Setup, dataset preparation, and the baseline retain separate stages. Customer use requires package publication and a compatible backend deployment.

If acquisition expires, read the failure and cleanup status before an explicit retry. Expiry preserves the accepted source and request; cleanup obligations can continue to incur charges.

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.4

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.4
File Size Uploaded Provenance Actions
mindcraft_mcp-0.2.4.tar.gz 225.7 kB With provenance Details for mindcraft_mcp-0.2.4.tar.gz

Built distribution (wheel)

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

Total release size: 393.1 kB

Release files / mindcraft_mcp-0.2.4.tar.gz

Download URL mindcraft_mcp-0.2.4.tar.gz
Size 225.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a249261c69c8c18414bd5b31790c435aa6fc17d50c47037c0ee1c0b42cbfd4b0
BLAKE2b-256 checksum
How to use checksums
60c8715f62dcd2e9a598d46d29e14025be43b6a4ac53074ca13101e103f14d44
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.4-py3-none-any.whl

Download URL mindcraft_mcp-0.2.4-py3-none-any.whl
Size 167.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8eed3c45225de0856b93d6e45751cf1b4bec496e1fb914367b242629381f7042
BLAKE2b-256 checksum
How to use checksums
f4f8998cb8ade7f8267766ecf4e66cc34653f71944121eb1788c4520b4ca9a12
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.4

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.4.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