Skip to main content

MirrorNeuron CLI

mn-cli provides the mn command for validating and running blueprints, inspecting runtime state, managing jobs, exporting artifacts, and starting local services installed by mn-deploy.

Quick Start

Install locally and run tests:

python3.11 -m venv .venv
. .venv/bin/activate
.venv/bin/python -m pip install -e .
.venv/bin/python -m pytest -q

Try the CLI:

mn --version
mn node list
mn blueprint run message_routing_trace

Configuration

Configuration is loaded by mn_cli.config. .env files provide defaults, and real environment variables always override them. MN_ENV selects the environment-specific defaults file and defaults to dev when unset.

Precedence:

real environment variables
> .env.${MN_ENV}
> .env
> built-in safe defaults

Development:

export MN_ENV=dev
cp .env.example .env.dev
mn --version

Tests:

export MN_ENV=test
mn --version

Production does not require any .env file. Provide deployment-specific values through the real environment:

export MN_ENV=production
export MN_HOME=/var/lib/mirrorneuron
export MN_LOG_LEVEL=info
export MN_API_HOST=0.0.0.0
export MN_API_PORT=8080
mn runtime status

Keep secrets, credentials, production hostnames, production database URLs, cloud credentials, and user-specific local paths out of source files. Use environment variables or uncommitted .env files instead.

Details

Notes

  • A running MirrorNeuron core is required for live runtime commands.
  • The default gRPC target comes from MN_GRPC_TARGET, then local deployment settings, then localhost:55051.
  • Use mn blueprint validate before mn blueprint run --folder when checking a local bundle.

Release files for mirrorneuron-cli 1.2.22

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

Source distribution (sdist)

Source distribution for mirrorneuron-cli 1.2.22
File Size Uploaded
mirrorneuron_cli-1.2.22.tar.gz 337.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mirrorneuron-cli 1.2.22
File Interpreter ABI Platform
mirrorneuron_cli-1.2.22-py3-none-any.whl Python 3 none any Details

Total release size: 580.2 kB

Release files / mirrorneuron_cli-1.2.22.tar.gz

Download URL mirrorneuron_cli-1.2.22.tar.gz
Size 337.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4b3aa59736b0d51af7953eb51238a9637f6231f316705b4ea910fb5e9692983b
BLAKE2b-256 checksum
How to use checksums
ce2128427c93b20f63686af2cfc8536c4daba661888bf5a478c9b32b6f1b79c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 10, 2026.

Transparency log

Release files / mirrorneuron_cli-1.2.22-py3-none-any.whl

Download URL mirrorneuron_cli-1.2.22-py3-none-any.whl
Size 242.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
981c397523d587ed714886931bdb83fce873fe9b1e2250f3cd4c7ca289095d65
BLAKE2b-256 checksum
How to use checksums
9004577e0c3b6e6fab85cb42bc1baf7b7c4cb4787a2692eb5e94213e706f3c63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 10, 2026.

Transparency log

Release history Release notifications | RSS feed

1.2.32

2 release files

1.2.31

2 release files

1.2.30

2 release files

1.2.27

2 release files

1.2.26

2 release files

1.2.25

2 release files

1.2.23

2 release files

This release

1.2.22 This release

2 release files

1.2.18

2 release files

1.2.15

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.1.9

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

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