Prerequisites
Before you begin, make sure you have:- A paid Superlines plan (Starter, Growth, or Enterprise)
- An API key from Organization Settings (format:
sl_live_...) - An MCP-compatible client installed
Connection methods
| Method | Best for | Protocol |
|---|---|---|
| SSE (URL-based) | Claude Desktop, most clients | Server-Sent Events |
| Local npx | Cursor, VS Code, advanced setups | Standard I/O |
Option 1: SSE / URL-based setup (Recommended)
The simplest approach — just add a URL to your client’s configuration. Connection URL:YOUR_API_KEY with your actual API key.
- Claude Desktop
- Cursor
- VS Code
Option 2: Local npx setup
For clients that prefer local process-based connections, use the npm package.Requires Node.js installed on your machine.
- Claude Desktop
- Cursor / VS Code
Option 3: OAuth authentication
For advanced integrations, Superlines supports OAuth 2.0 with PKCE for secure, token-based access without embedding API keys.OAuth flow details
OAuth flow details
- Client initiates authorization at
/api/mcp/oauth/authorize - User approves access and selects accessible brands
- Authorization code is exchanged for tokens at
/api/mcp/oauth/token - Access token is used for subsequent requests
- Refresh tokens are available with the
offline_accessscope
Verify the connection
After setting up your client:- Start a new conversation
- Ask: “List my Superlines brands”
- The AI should call the
list_brandstool and show your brands
- “Show me my brand visibility for the last 30 days”
- “Who are my top competitors?”
- “Find content opportunities where I have low visibility”
Troubleshooting
| Issue | Solution |
|---|---|
| ”Tool not found” | Restart your MCP client after configuration changes |
| ”Authentication failed” | Verify your API key is correct and starts with sl_live_ |
| ”No data returned” | Make sure you have at least one brand with tracked prompts |
| ”Connection timeout” | Check your internet connection; the SSE endpoint is at mcpsse.superlines.io |
| ”Plan not supported” | MCP requires a paid plan (Starter, Growth, or Enterprise) |