The Anaconda Assistant MCP plugin
Project description
anaconda-assistant-mcp
This conda plugin provides a new subcommand called conda mcp serve that will spin up an MCP server.
Installation
This package is a conda plugin and must be installed in your base environment.
Conda version 24.1 or newer is required.
conda install -n base -c anaconda-assistant-mcp
Setup for development
Ensure you have conda installed.
Then run:
make setup
To run test commands, you don't want to run conda mcp serve since it'll pick up the version of conda on your system. You want the conda install for this repo so you can run the plugin. To do this, you run:
cd libs/anaconda-assistant-mcp
./env/bin/conda mcp serve
On Windows, you'll do:
.\env\Scripts\conda mcp serve
This will run the MCP server. Use it for sanity checking. To actually test fully, you'll want to add them MCP server into Claude Desktop or Cursor.
Cursor
The MCP config file is in your home directory at:
~/.cursor/mcp.json
Add this to your JSON under mcpServers:
{
"mcpServers": {
"conda-mcp-dev": {
"command": "<PATH_TO_SDK_REPO>/libs/anaconda-assistant-mcp/env/bin/conda",
"args": ["mcp", "serve"]
}
}
}
To see code changes reflected in Cursor, go to the top right gear icon ⚙️ and click it, select "Tools & Integrations" in the left menu, then toggle the name of the MCP server on. In our case, that's "conda-mcp-dev", but it can be any string you choose. Every time you make changes to the code, you should toggle the sever off and on again so the changes are picked up.
Now, to test a feature. Open a new chat, remove all the context and type "mcp list packages". This should prompt you with the list_packages MCP tool. Press ⌘⏎ to run the tool.
Claude Desktop
Claude settings are the same, just under a different directory:
'~/Library/Application Support/Claude/claude_desktop_config.json'
{
"mcpServers": {
"conda-mcp-dev": {
"command": "<PATH_TO_SDK_REPO>/libs/anaconda-assistant-mcp/env/bin/conda",
"args": ["mcp", "serve"]
}
}
}
Seeting changes reflected in Claude is more difficult than in Cursor. The most reliable way is to restart the Claude Desktop app.
Try using it by typing "mcp list packages". You should see it prompt you. After accepting, it should run the tool.
Notes
the name conda-mcp-dev can be any string. The purpose of it is to help you identify the MCP in the respective MCP host's UI whether it be Claude or Cursor.
Make sure to not enable MCP servers / tools with overlapping goals. Sometimes your MCP server won't get called because another MCP server will pick up the request.
Run the unit tests
make test
Run the unit tests across isolated environments with tox
NOTE: this may not run locally
make tox
Project details
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 anaconda_assistant_mcp-0.2.0.tar.gz.
File metadata
- Download URL: anaconda_assistant_mcp-0.2.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abb896732ee5300d17a2e9aa4ad06fe704047625365904579a7a3d409549288b
|
|
| MD5 |
0ca6e85db06772b36202ab84aff93348
|
|
| BLAKE2b-256 |
8e171411ca9531adf0987f0fb7921cebde516366ed5501b3c5f7d00966b77910
|
File details
Details for the file anaconda_assistant_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: anaconda_assistant_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77173bd2f2e2af376091c9114cc72931f51f49be8e2a449187aa53b7d3aef65b
|
|
| MD5 |
67820148e8afb5f88aca37bc43f765cf
|
|
| BLAKE2b-256 |
d6b0d16906cf6ba9a7e2c059990102013b11184f22c37b6bb6444684af03f955
|