MCP Setup Guide
This guide walks you through connecting your AI assistant to the Pipe2.ai MCP server.
Prerequisites
- A Pipe2.ai account with credits
- A personal access token (PAT) — see Authentication
Claude Desktop
-
Generate a personal access token in your Pipe2.ai dashboard under Settings > API Keys > Personal Access Tokens.
-
Add the MCP server via the CLI:
Terminal window claude mcp add pipe2ai -- \https://mcp.pipe2.ai/mcp \--header "Authorization: Bearer YOUR_TOKEN"Or add it manually to your Claude Desktop config file:
// ~/Library/Application Support/Claude/claude_desktop_config.json{"mcpServers": {"pipe2ai": {"url": "https://mcp.pipe2.ai/mcp","headers": {"Authorization": "Bearer YOUR_TOKEN"}}}}%APPDATA%\Claude\claude_desktop_config.json {"mcpServers": {"pipe2ai": {"url": "https://mcp.pipe2.ai/mcp","headers": {"Authorization": "Bearer YOUR_TOKEN"}}}}~/.config/claude/claude_desktop_config.json {"mcpServers": {"pipe2ai": {"url": "https://mcp.pipe2.ai/mcp","headers": {"Authorization": "Bearer YOUR_TOKEN"}}}} -
Restart Claude Desktop to pick up the new configuration.
-
Verify the connection by asking Claude: “List my available Pipe2.ai pipelines.”
Claude Code (CLI)
-
Add the server using the CLI:
Terminal window claude mcp add pipe2ai \--transport http \--url https://mcp.pipe2.ai/mcp \--header "Authorization: Bearer YOUR_TOKEN" -
Start a session and ask Claude Code to interact with your pipelines:
Terminal window claude "List all available Pipe2.ai pipelines"
Cursor
-
Open Cursor Settings (Cmd/Ctrl + Shift + P > “Cursor Settings”).
-
Navigate to the MCP section.
-
Add a new MCP server with these settings:
- Name:
pipe2ai - URL:
https://mcp.pipe2.ai/mcp - Headers:
Authorization: Bearer YOUR_TOKEN
- Name:
-
Restart Cursor and use the Pipe2.ai tools in your AI chat.
Other MCP Clients
Any MCP-compatible client can connect to Pipe2.ai. The key configuration:
| Setting | Value |
|---|---|
| Server URL | https://mcp.pipe2.ai/mcp |
| Transport | Streamable HTTP (preferred) or SSE (https://mcp.pipe2.ai/sse/) |
| Auth Header | Authorization: Bearer YOUR_TOKEN |
Verifying Your Connection
Once connected, try these commands with your AI assistant:
- “List available pipelines” — should return all active pipelines with descriptions
- “Check my credit balance” — should show your current credits
- “Show my recent assets” — should list your generated images and videos
If any of these fail, check your token and network connectivity. See Authentication for troubleshooting token issues.