Skip to main content

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

anaconda_assistant_mcp-0.2.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anaconda_assistant_mcp-0.2.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

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

Hashes for anaconda_assistant_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 abb896732ee5300d17a2e9aa4ad06fe704047625365904579a7a3d409549288b
MD5 0ca6e85db06772b36202ab84aff93348
BLAKE2b-256 8e171411ca9531adf0987f0fb7921cebde516366ed5501b3c5f7d00966b77910

See more details on using hashes here.

File details

Details for the file anaconda_assistant_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for anaconda_assistant_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77173bd2f2e2af376091c9114cc72931f51f49be8e2a449187aa53b7d3aef65b
MD5 67820148e8afb5f88aca37bc43f765cf
BLAKE2b-256 d6b0d16906cf6ba9a7e2c059990102013b11184f22c37b6bb6444684af03f955

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page