
Anaconda MCP
io.github.anaconda由 GitHub 账号 anaconda 发布v1.1.1更新于 Oct 24, 2026
Beta conda env/package MCP server; requires conda, auth, and Beta Terms.
概览
一个本地 MCP 服务器,让 AI 编程助手了解你的 conda 环境、软件包和频道配置,并可对其进行管理。
- 可以做什么
- 查看 conda 环境、软件包和频道配置,让助手了解已安装内容及其运行位置。通过助手在你的机器上创建、修改和删除 conda 环境与软件包。用安装向导或手动配置为受支持的 AI 客户端(Claude Desktop、Claude Code、Cursor、Windsurf、VS Code、OpenCode、Kilo Code)写入配置。以 stdio 方式运行,可从 conda 环境、pip 安装或实验性的 ana CLI 启动。
- 适用场景
- 适合使用基于 conda 的 Python 项目、希望 AI 编程助手直接查看和管理环境与软件包、而不必手动执行 conda 命令的场景。只有在你信任所连接的助手时才值得添加,因为它能在你的机器上做出真实更改。
- 运行要求
- 本机需安装 conda(Miniconda 或 Anaconda Distribution)并可在 PATH 中找到;pip 和 uvx 不提供 conda。通过 pip/uvx 安装需 Python 3.10–3.14。需要 Anaconda 账号登录(OAuth,令牌存入系统钥匙串)或通过 ANACONDA_AUTH_API_KEY 提供 API 密钥。需接受 Beta 条款,可交互完成或通过 ANACONDA_MCP_ACCEPTED_TERMS 与 ANACONDA_MCP_ACCEPTED_TERMS_VERSION 设置。
安装
在 SourceWeft 中
- 打开 控制台中的 Anaconda MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Anaconda MCP
anaconda mcp is a CLI and server for exposing conda environment management tools to MCP-enabled AI coding assistants. It acts as a unified MCP endpoint, giving AI assistants like Claude, Cursor, and VS Code awareness of your conda environments, packages, and channel configurations.
📖 Full documentation: anaconda.com/docs · Development Guide
Prerequisites
- Conda (Miniconda or Anaconda Distribution)
Installation
Installation via pip or uvx
Requires Python 3.10–3.14.
Prerequisite: conda must be installed separately and discoverable on your PATH. pip and uvx do not provide conda. Without a working conda installation, the conda tools this server exposes will fail. Install Miniconda or Anaconda Distribution first, then follow the anaconda login and anaconda mcp terms accept steps below.
Important: The Anaconda MCP Server connects your conda environments to MCP-compatible AI assistants, enabling them to create, modify, and delete environments and packages on your machine. Install only if you trust the AI assistant you intend to connect and understand it can take real actions on your machine. By installing you acknowledge: (1) The AI assistant you connect to this MCP server is an independent third-party model, not a product or service of Anaconda. (2) Anaconda is NOT responsible for the actions the AI assistant directs within your environment, including unintended changes or deletions.
Anaconda Login
Authentication is required. The server will not start and tool calls will not succeed without a valid Anaconda login.
This opens a browser for OAuth login and stores the token in your system keyring. Subsequent starts use the stored token automatically.
Accept the Terms of Service
Anaconda MCP requires you to accept the Beta Terms before tool calls will succeed.
Interactive (recommended):
Non-interactive (CI / headless):
Setup
Configure your AI client to use Anaconda MCP:
This launches an interactive wizard that detects supported clients and writes the appropriate config. Supported clients: Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, OpenCode, and Kilo Code.
To configure a specific client non-interactively:
Kilo Code Configuration
Anaconda MCP writes a plain kilo.json file (global ~/.config/kilo/kilo.json or project .kilo/kilo.json) which Kilo Code deep-merges with any existing kilo.jsonc. This means hand-written comments in kilo.jsonc are preserved across anaconda mcp setup runs. Important: if you hand-edit kilo.json itself with comments, anaconda mcp setup cannot parse it — it treats the file as empty and silently overwrites it, discarding your changes. Keep comments in kilo.jsonc instead.
Manual Client Configuration
If you prefer to configure your AI client manually, add an entry to your client's MCP config JSON. The anaconda mcp setup command resolves the Python path for you, but if writing by hand you'll need the full path to the environment's Python.
Example for Claude Code (.mcp.json):
Optionally, you can pass authentication and TOS acceptance via the env dict instead of running anaconda login and anaconda mcp terms accept:
API keys can be obtained from your Anaconda account settings.
⚠️ Each client has a different JSON schema. Check your client's MCP documentation carefully when writing configuration manually — field names and structure vary between Claude Code, Cursor, VS Code, and others.
Experimental: ana CLI
The ana CLI handles
Anaconda MCP runtime installation and environment setup automatically, so you
don't need to manage a dedicated anaconda-mcp conda environment path.
ana mcp serve installs and runs the managed Anaconda MCP runtime. It does not
install Miniconda, Anaconda Distribution, or a user-facing conda command. If
you want to activate or inspect environments from a terminal, notebook, or other
local tooling, install and configure conda separately for that workflow.
Install ana:
You still need to authenticate and accept TOS by running anaconda login and anaconda mcp terms accept beforehand.
When configuring your client manually with ana, use:
来源:README.md,提交 d9ed0a8
工具
0版本历史
1- v1.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分