conda-cli-mcp
conda-cli-mcp exposes an installed conda command line through the Model
Context Protocol. It discovers built-in and plugin-contributed commands at
startup, creates structured tools from conda's argparse definitions, and keeps
the complete CLI reachable through an explicitly enabled raw argv tool.
The server runs conda in bounded child processes. Conda remains responsible for configuration, plugin ordering, solving, transactions, reporters, authentication, hooks, and error handling.
When conda-completion 0.3 or newer is installed in the target environment, a
read-only metadata tool exposes its command-specific completion hints through
the plugin's public Python API.
The project is alpha software. It requires Python 3.10 or newer and supports
target conda versions >=26.7,<27.
Run the standalone server as ccm. When the package is installed in conda's
own environment, conda mcp launches the server against that conda
installation without requiring --conda-exe. These launchers require
conda-cli-mcp 0.2.0 or newer.
Installation
Install from the jezdez channel on
Anaconda.org:
conda create --yes --name conda-cli-mcp --override-channels --channel jezdez --channel conda-forge "conda-cli-mcp>=0.2"
conda activate conda-cli-mcp
ccm --version
Documentation
The documentation is organized by purpose:
Documentation is published at jezdez.github.io/conda-cli-mcp.
Safety
The default policy is read-only. --allow-write permits conda-managed
mutations. --allow-exec permits conda run, opaque passthrough arguments,
and the raw conda_execute tool. Policy is fixed at startup and enforced
before conda starts.
Running the server
Select the target conda executable explicitly when it lives in another environment:
ccm --conda-exe /absolute/path/to/conda
Without --conda-exe, resolution checks CONDA_EXE and then PATH. MCP
clients connect over standard input and standard output. See the
getting-started tutorial for a client
configuration.
Project scope
conda-cli-mcpowns local conda CLI discovery and execution.conda-meta-mcpowns read-only package and ecosystem metadata.conda-runtimeowns the ready-to-run conda executable and can include this plugin as a locked runtime dependency.conda-mcpis reserved for a future umbrella package that installs both.
Development
Development, documentation, and packaging use Pixi:
pixi install
pixi run test
pixi run check
pixi run -e docs docs
pixi run -e build package
The conda recipe is noarch Python and lives in recipe/recipe.yaml.
Metadata
Release files for conda-cli-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| conda_cli_mcp-0.2.0.tar.gz | 150.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| conda_cli_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 182.6 kB
Release files / conda_cli_mcp-0.2.0.tar.gz
| Download URL | conda_cli_mcp-0.2.0.tar.gz |
|---|---|
| Size | 150.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c20576f55d82ee2ef01ceaf399cebc26a0b87d2c5e4e4a38196a842b0dff4289
|
|
BLAKE2b-256 checksum How to use checksums |
c9b18a45f2c2fb3eb822b8da15d29e7dfc5d1dba2d75dee1f469e54fe11b1dfc
|
| 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 Aug 22, 2026.
Transparency logRelease files / conda_cli_mcp-0.2.0-py3-none-any.whl
| Download URL | conda_cli_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 32.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8c05b6990cf9e2890efce3e5a718476fdc50f63cf4d9b28d1b0469cc2f058fb
|
|
BLAKE2b-256 checksum How to use checksums |
b33f5bd8f87f58b5938666956dc6fbf2894f0aa076b35dc507d6f786cdaa2661
|
| 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 Aug 22, 2026.
Transparency log