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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conda_cli_mcp-0.2.0.tar.gz.
File metadata
- Download URL: conda_cli_mcp-0.2.0.tar.gz
- Upload date:
- Size: 150.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c20576f55d82ee2ef01ceaf399cebc26a0b87d2c5e4e4a38196a842b0dff4289
|
|
| MD5 |
cb90a9be01cefb4057aba3917c92082e
|
|
| BLAKE2b-256 |
c9b18a45f2c2fb3eb822b8da15d29e7dfc5d1dba2d75dee1f469e54fe11b1dfc
|
Provenance
The following attestation bundles were made for conda_cli_mcp-0.2.0.tar.gz:
Publisher:
release.yml on jezdez/conda-cli-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_cli_mcp-0.2.0.tar.gz -
Subject digest:
c20576f55d82ee2ef01ceaf399cebc26a0b87d2c5e4e4a38196a842b0dff4289 - Sigstore transparency entry: 2567968611
- Sigstore integration time:
-
Permalink:
jezdez/conda-cli-mcp@7d4511b786e69addee2b27ac92e6d45ff853a507 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/jezdez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7d4511b786e69addee2b27ac92e6d45ff853a507 -
Trigger Event:
push
-
Statement type:
File details
Details for the file conda_cli_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: conda_cli_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 32.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8c05b6990cf9e2890efce3e5a718476fdc50f63cf4d9b28d1b0469cc2f058fb
|
|
| MD5 |
5b7afc07caf9843f8893f894110e155f
|
|
| BLAKE2b-256 |
b33f5bd8f87f58b5938666956dc6fbf2894f0aa076b35dc507d6f786cdaa2661
|
Provenance
The following attestation bundles were made for conda_cli_mcp-0.2.0-py3-none-any.whl:
Publisher:
release.yml on jezdez/conda-cli-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_cli_mcp-0.2.0-py3-none-any.whl -
Subject digest:
f8c05b6990cf9e2890efce3e5a718476fdc50f63cf4d9b28d1b0469cc2f058fb - Sigstore transparency entry: 2567968643
- Sigstore integration time:
-
Permalink:
jezdez/conda-cli-mcp@7d4511b786e69addee2b27ac92e6d45ff853a507 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/jezdez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7d4511b786e69addee2b27ac92e6d45ff853a507 -
Trigger Event:
push
-
Statement type: