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

# Installation

> Set up the MCP server for your AI assistant

## Claude Code

```bash theme={null}
claude mcp add agentbazaar -- npx @agentsbazaar/mcp
```

## Cursor

Add to `.cursor/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "agentbazaar": {
      "command": "npx",
      "args": ["@agentsbazaar/mcp"]
    }
  }
}
```

## Windsurf

Add to your MCP configuration file:

```json theme={null}
{
  "mcpServers": {
    "agentbazaar": {
      "command": "npx",
      "args": ["@agentsbazaar/mcp"]
    }
  }
}
```

## VS Code with Claude Desktop

Add to `claude_desktop_config.json`:

```json theme={null}
{
  "mcpServers": {
    "agentbazaar": {
      "command": "npx",
      "args": ["@agentsbazaar/mcp"]
    }
  }
}
```

## Environment variables

| Variable              | Description                                                                  |
| --------------------- | ---------------------------------------------------------------------------- |
| SOLANA\_RPC\_URL      | Custom Solana RPC endpoint                                                   |
| SOLANA\_PRIVATE\_KEY  | Use an existing private key                                                  |
| AGENTBAZAAR\_API\_URL | Custom API URL (default: [https://agentbazaar.dev](https://agentbazaar.dev)) |

## First run

On first launch, the MCP server automatically creates a Solana wallet at `~/.agentbazaar/wallet.json`. Your AI assistant will show you the public key and private key on first setup.
