Connect an MCP client to Unitpost
Unitpost runs a Model Context Protocol server at https://mcp.unitpost.com/mcp. Point any MCP client at it — approve with OAuth in the browser, or use a scoped production API key where the client can only paste a key — and the agent gets one tool per API operation — send email, manage contacts and segments, launch campaigns, verify domains. Scopes are enforced exactly as they are on the REST API, so an agent can only do what you approved.
Connection details
| Server URL | https://mcp.unitpost.com/mcp |
|---|---|
| Transport | Streamable HTTP |
| Auth (recommended) | OAuth 2.1 — add the URL, approve in the browser(scopes match API capabilities; tokens refresh automatically) |
| Auth (legacy) | Authorization: Bearer pk_live_YOUR_KEY(workspace API key from Settings → API keys; for clients that can only paste a key) |
| Tools | one per API operation (email_send, email_campaigns_send, …) |
Setup guides by client
- CursorConnect Cursor to Unitpost with OAuth — approve in the browser, or a key block.
- Claude CodeConnect Claude Code to Unitpost with OAuth — add the URL, authenticate from /mcp, approve in the browser.
- Claude DesktopConnect with OAuth via Add custom connector — approve in the browser. API-key bridge as fallback.
- CodexConnect ChatGPT/Codex with OAuth in the browser. Codex CLI takes a static key instead.
- GitHub CopilotConnect VS Code agent mode to Unitpost with OAuth — approve in the browser. API key as fallback.
- Gemini CLIConnect the Gemini CLI to Unitpost — OAuth in the browser, or a key block.
- WindsurfConnect Windsurf (Cascade) to Unitpost — OAuth in the browser, or a key block.
- OpenCodeConnect OpenCode with OAuth — add the remote URL, approve in the browser.
- GrokPoint Grok at the Unitpost MCP URL. Marketplace listing is a separate catalog PR.
- Generic / custom clientConnect any MCP-compatible client or your own agent to Unitpost.
- Headless / API keyNo browser on this machine? CI, SSH, containers, or paste-a-key-only clients — use a key.