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

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.23
File Size Uploaded
mirrorneuron_cli-1.2.23.tar.gz 325.9 kB Details

Built distribution (wheel)

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

Total release size: 551.0 kB

Release files / mirrorneuron_cli-1.2.23.tar.gz

Download URL mirrorneuron_cli-1.2.23.tar.gz
Size 325.9 kB
Tags Source
SHA-256 checksum
How to use checksums
503efa62b034309fc8df3b55b65a8bb3d00e22c5322f8149cf32dcda10e71f2a
BLAKE2b-256 checksum
How to use checksums
8b847030f4442cd23a83cb2c90e6583cc25dfd5e85267c1a18b5eaa6b419aa3b
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 14, 2026.

Transparency log

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

Download URL mirrorneuron_cli-1.2.23-py3-none-any.whl
Size 225.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88fa163a8b9defbcfd9882a1f5d9e6e60096f9caa9f9b8f4888050dbc835362a
BLAKE2b-256 checksum
How to use checksums
da885090f13a82e32f785ebf55a64a3301d3b4320c1e7210720e1204858da068
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 14, 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

This release

1.2.23 This release

2 release files

1.2.22

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