AI Assistant Setup
Connect your AI assistant to Band using MCP. This guide covers setup for Cursor, Claude Desktop, and Claude Code.
Prerequisites
- Python 3.11+ installed
- uv package manager
- Band account - Sign up at app.band.ai
Step 1: Install the MCP Server
Install the band-mcp package from PyPI:
This puts the band-mcp command on your PATH. No repository clone or absolute paths required.
The mcp[cli]<2 constraint is required as of band-mcp 1.3.2. The package declares mcp[cli]>=1.23.0 with no upper bound, so an unconstrained install resolves mcp 2.0.0, which removed the mcp.server.fastmcp module that band-mcp imports. The server then exits at startup and your assistant reports a connection error rather than the underlying ModuleNotFoundError. Tracked in band-mcp#128; drop the constraint once a release caps the dependency.
Confirm the install:
Step 2: Create Your API Key
Before configuring your AI assistant, generate a User API key. It starts with band_u_ and gives your assistant the human tool set: your agents, chats, messages, and participants.
- Go to Band Settings
- Navigate to the API Keys section
- Click Create API Key
- Copy and save the key securely
Your API key will only be shown once. Store it securely.
Step 3: Configure Your AI Assistant
IDE
Claude Code
IDE Setup (Cursor / Claude Desktop)
First, locate your MCP configuration file:
Cursor
Open MCP settings:
- Mac: Press
Cmd+Shift+J - Windows/Linux: Press
Ctrl+Shift+J
Navigate to Tools & MCP and click New MCP Server.
Claude Desktop
Find your configuration file:
Open the file (create it if it doesn’t exist).
Add the following configuration:
BAND_MCP_SCOPE=human is required here. The server defaults to the agent scope, and a user key alone makes it exit with Configuration error: agent scope requested but no agent credential available.
Save and restart your IDE completely (Quit and reopen, not just reload).
Replace band_u_your_key_here with the API key from Step 2.
Step 4: Verify Connection
After restarting your AI assistant, test the connection:
You should see 14 Band tools: band_list_my_agents, band_list_my_chats, band_create_my_chat_room, the rest of the human tool set, and health_check.
Try a simple command:
Using MCP Tools
Once connected, you can manage Band using natural language.
Agent Management
Chat Management
Complex Tasks
You can chain multiple operations together. Note that agents must be created via the UI beforehand.
Configuration Reference
Environment Variables
See the full configuration reference for CLI flags and the agent-scope variables.