conda-cli-mcp
conda-cli-mcp
conda-cli-mcp 通过模型上下文协议(Model Context Protocol)暴露已安装的 conda 命令行。它在启动时发现内置命令和插件贡献的命令,从 conda 的 argparse 定义创建结构化工具,并通过一个显式启用的原始 argv 工具保持完整 CLI 可访问。
服务器在有界子进程中运行 conda。conda 仍然负责配置、插件排序、求解、事务、报告器、认证、钩子和错误处理。
当目标环境中安装了 conda-completion 0.3 或更新版本时,一个只读元数据工具会通过该插件的公共 Python API 暴露其特定于命令的补全提示。
该项目是 alpha 软件。它需要 Python 3.10 或更新版本,并支持目标 conda 版本 >=26.7,<27。
安装
将已发布的命令安装到隔离环境中:
pipx install conda-cli-mcp将服务器环境与目标 conda 安装分开,并使用 --conda-exe 选择该安装。
Related MCP server: terminal-guardian-mcp
文档
文档按用途组织:
文档发布在 jezdez.github.io/conda-cli-mcp。
安全性
默认策略是只读。--allow-write 允许 conda 管理的变更。--allow-exec 允许 conda run、不透明的透传参数以及原始 conda_execute 工具。策略在启动时固定,并在 conda 启动前强制执行。
运行服务器
当目标 conda 可执行文件位于另一个环境中时,显式选择它:
conda-cli-mcp --conda-exe /absolute/path/to/conda如果没有 --conda-exe,解析会检查 CONDA_EXE,然后检查 PATH。MCP 客户端通过标准输入和标准输出连接。有关客户端配置,请参阅入门教程。
项目范围
conda-cli-mcp负责本地 conda CLI 的发现和执行。conda-meta-mcp负责只读的包和生态系统元数据。conda-mcp保留给未来的伞形包,该包将同时安装两者。
开发
开发、文档和打包使用 Pixi:
pixi install
pixi run test
pixi run check
pixi run -e docs docs
pixi run -e build packageconda 配方是 noarch Python,位于 recipe/recipe.yaml。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Governed app access for AI agents: 1,000+ apps & 12,000+ tools via Code Mode MCP.
Authorize AI agent tool calls before they run: policy-as-code, human approval, signed receipts.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to execute AWS CLI commands and access AWS documentation, resources, and prompt templates through the Model Context Protocol with support for Unix pipes and secure Docker-based deployment.MIT
- AlicenseNot gradedqualityDmaintenanceProvides secure, sandboxed terminal access for AI assistants via the Model Context Protocol, with multi-layer risk analysis and auditable command execution.22 npm8MIT
- AlicenseDqualityDmaintenanceEnables AI assistants to interact with local Docker containers, Kubernetes clusters, and system logs using the Model Context Protocol.9ISC
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to execute bash commands, run Python code, manage files, search the web, interact with Git, and perform system administration tasks through the Model Context Protocol.-