Skip to main content
Glama
Sellrush MCP

Sellrush MCP

by alber0077
README.md
# Sellrush MCP (`@sellrush/mcp`)

Official Model Context Protocol (MCP) server and OAuth 2.1 CLI bridge for [Sellrush](https://sellrush.com).

## Authentication

Sellrush MCP supports **OAuth 2.1 with PKCE** out of the box. When you connect from an MCP client or run `npx @sellrush/mcp login`, your browser opens the Sellrush login and authorization page so you can sign in and select which brands or businesses to grant access to.

For headless/CI environments, you can also set `SELLRUSH_API_KEY` (`ayn_live_v2_...`).

## Quick Start

### Remote Streamable HTTP (Recommended for OAuth-capable clients)

Point your MCP client directly to the Sellrush MCP endpoint:

```json
{
  "mcpServers": {
    "sellrush": {
      "url": "https://sellrush.app/api/mcp"
    }
  }
}
```

### Local `stdio` Bridge (`npx @sellrush/mcp`)

For clients that use `stdio` (e.g. Claude Desktop, Cursor, VS Code):

```json
{
  "mcpServers": {
    "sellrush": {
      "command": "npx",
      "args": ["-y", "@sellrush/mcp"]
    }
  }
}
```

### CLI Commands

```bash
# Authenticate interactively via browser OAuth 2.1
npx @sellrush/mcp login

# Revoke and clear stored local credentials
npx @sellrush/mcp logout
```

### Environment Variables

| Variable | Description | Default |
| --- | --- | --- |
| `SELLRUSH_URL` | Sellrush dashboard origin | `https://sellrush.app` |
| `SELLRUSH_API_KEY` | Optional static API key (`ayn_live_v2_...`) for headless usage | — |
| `SELLRUSH_BRAND_ID` | Optional default brand ID header (`x-brand-id`) | — |
| `SELLRUSH_LOCALE` | Preferred tool description locale (`en` or `es`) | `en` |

## License

MIT
# sellrush-mcp