The official Model Context Protocol server for Posthawk. Let AI agents like Claude, Cursor, and Windsurf send emails, manage contacts, and check domain status through natural language.
$ npx posthawk-mcpClaude Code connects via OAuth — just run one command and authorize in your browser. Cursor, VS Code, and Windsurf use a local config with your API key.
# Recommended: OAuth (no API key needed)claude mcp add --transport http posthawk https://mcp.posthawk.dev/mcp# Alternative: API key via stdioclaude mcp add posthawk -e POSTHAWK_API_KEY=ck_live_... -- npx posthawk-mcpYou: "Send a welcome email to alex@example.com from hello@posthawk.dev"Claude: I'll send that email now.[Calling send-email with: from: hello@posthawk.dev to: alex@example.com subject: Welcome! html: <h1>Welcome to Posthawk!</h1>]Done! Email queued with job ID job_abc123.:Status: processingNo SDK imports, no HTTP calls. Describe what you want and the AI picks the right tool. Works with Claude Code, Cursor, and any MCP client.
One command to connect. Claude Code uses OAuth — no API key needed. Other clients use npx with an API key.
OAuth opens your browser, you pick a workspace and click Authorize. API key is created automatically.
"Send a welcome email to user@example.com" — the AI picks the right tool and executes it.
Send emails, manage contacts, check domains, render templates, and configure webhooks — all through natural language.
Full OAuth 2.1 support with PKCE and dynamic client registration for secure remote access.
Set POSTHAWK_BASE_URL to connect to any self-hosted Posthawk instance. Same tools, your infrastructure.
stdio for local development (Claude Code, Cursor) and Streamable HTTP for remote hosted access.
Connect Posthawk to your AI workflow in under a minute.
We use analytics cookies to understand how you use our site and improve your experience. Privacy Policy