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.
- If
uvis not installed, install it:curl -LsSf https://astral.sh/uv/install.sh | sh. - 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
- Claude Code:
- 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
- Ask your operator for a campaign spend limit on your account. Without a
limit, the checks stop with
LIMIT_REQUIRED. - 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. - Ask the assistant to prepare your repository for Mindcraft. The
assistant reads
mindcraft.guidewithtopic: "setup", edits your local files and runsinspect_repository. - 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.
- 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.5
Version 0.2.5 agrees with the release 2 backend, which uses only bounded
GPU acquisition. The create action of mindcraft.run accepts
compute.min_vram_gb without a GPU type. The server then chooses the
cheapest exact GPU type with that memory. The receipt shows the chosen
type. It also shows the requested memory when the call or a local
setup/compute.json gave it.
A GPU name without its variant is a family, for example h100. The
variant is optional: compute.gpu and setup/compute.json accept an exact
type or a family. A family permits each variant of the chip. The
acquisition uses the cheapest first and moves to another variant when one
has no stock. The name a100 alone is refused; send a100-40gb or
a100-80gb. mindcraft.compute lists the families and shows the price
and availability of each variant. The create receipt shows the chosen type
and the family. The status shows the family of the selected node, and
mindcraft.results shows the exact type of each experiment.
The setup/compute.json example of inspect_repository now gives
min_vram_gb. Without expected_duration_minutes, the estimate uses a
reference duration of 30 minutes.
mindcraft.compute and mindcraft.run no longer accept the deprecated
extra_spend_limit_usd and data_cost_estimate fields. Each GPU
acquisition has a 30-minute deadline. After CAPACITY_TIMEOUT, resume
starts a new acquisition. The API schema remains at version 2.
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
setuptopic inmindcraft.guidegives 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.jsonfile.inspect_repositoryshows the declarations that the service reads from that file. - An objective can name its measurement source:
evalororin_tensorrt. - The
createaction acceptsobjective_source("request"or"file") whenobjectives.jsonand 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 |
Links
- Website: https://mindcraft.latencylabs.ai
- API tokens: revoke a token at
/settings/tokenson the website, or runuvx mindcraft-mcp logout.
Metadata
Release files for mindcraft-mcp 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mindcraft_mcp-0.2.5.tar.gz | 235.8 kB | With provenance | Details for mindcraft_mcp-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mindcraft_mcp-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for mindcraft_mcp-0.2.5-py3-none-any.whl |
Total release size: 409.3 kB
Release files / mindcraft_mcp-0.2.5.tar.gz
| Download URL | mindcraft_mcp-0.2.5.tar.gz |
|---|---|
| Size | 235.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28521c5e54901b831761dbd4146d0966d3b5621d96026897f82dc473cf4e09a1
|
|
BLAKE2b-256 checksum How to use checksums |
d31f928e683de28e20b368f436dd4e4bd83628f38643b02a7f96cab892e67012
|
| 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 10, 2026.
Transparency logRelease files / mindcraft_mcp-0.2.5-py3-none-any.whl
| Download URL | mindcraft_mcp-0.2.5-py3-none-any.whl |
|---|---|
| Size | 173.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c848291b66e272f0c003efc5e1a183286f7cfad76156c24855f51bf14ee5307
|
|
BLAKE2b-256 checksum How to use checksums |
b7ef5143e850d022f710fa6657e2b8e9f151969c47d6c967333af7bc6872bcc7
|
| 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 10, 2026.
Transparency logSecurity for mindcraft-mcp 0.2.5
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.
Attestation for mindcraft_mcp-0.2.5.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 10, 2026.
Transparency logA 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.