> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Anaconda AI MCP

## Usage

```bash theme={null}
anaconda ai mcp [OPTIONS]
```

## Description

Runs the Anaconda AI MCP (Model Context Protocol) server, which exposes tools for managing models and servers through MCP-compatible clients and IDEs.

> [!NOTE]
>
> MCP tool names use underscores (Python convention) and might differ from CLI command names. For example, the MCP `list_models` tool corresponds to the CLI `anaconda ai models` command.

The MCP server provides the following tools:

Tool

Description

`list_models`

List available models

`download_model`

Download a quantized model file. Returns immediately if already downloaded, otherwise starts the download in the background.

`list_servers`

List running servers

`start_server`

Start an inference server for a model

`stop_server`

Stop a running server

`remove_server`

Remove a server configuration

> [!NOTE]
>
> The MCP integration requires the `mcp` extra. To install it, run:
>
> ```bash theme={null}
> pip install 'anaconda-ai[mcp]'
> ```

## Options

Option

Default

Description

`--transport, -t <TRANSPORT>`

`stdio`

Transport protocol: `stdio` or `streamable-http`

`--host <HOST>`

`127.0.0.1`

Host address for `streamable-http` transport

`--port, -p <PORT>`

`8000`

Port for `streamable-http` transport

`-h, --help`

Show help for this command

## Examples

**Start the MCP server with stdio transport**

```bash theme={null}
anaconda ai mcp
```

**Start the MCP server over HTTP**

```bash theme={null}
anaconda ai mcp --transport streamable-http --port 9000
```
