Stop alt-tabbing to email docs
Ark's MCP server gives Cursor 26 email tools it can use directly. Describe what you want in natural language, get working email code. No more hallucinated parameters or outdated API calls.
Quick install
Email APIs break your Cursor workflow
Cursor made you 2x faster at coding. Then you hit email integration and everything slows down. You're back to reading docs, debugging auth, fixing hallucinated API calls.
- ×Cursor parses HTML docs inefficiently, burning tokens and missing context
- ×Email APIs have inconsistent response shapes that confuse AI code generation
- ×SendGrid, Mailgun, Postmark docs weren't designed for AI consumption
- ×Every "quick email feature" becomes a 2-hour debugging session
Two MCP servers: one for docs, one for sending
Ark gives Cursor two MCP servers. The Docs MCP searches our documentation in real-time (free, no API key). The Email MCP sends emails, manages domains, and handles infrastructure (requires API key).
One-click install or add to mcp.json
Install both MCP servers: Docs (free) for documentation, Email (API key) for sending.
Add the Docs MCP (free, no API key)
One-click install from arkhq.io/docs/sdks/docs-mcp, or add manually. Cursor can now search Ark docs in real-time.
{
"mcpServers": {
"ark-docs": {
"url": "https://arkhq.io/docs/mcp"
}
}
}Add the Email MCP (requires API key)
Sign up at arkhq.io to get your API key ($5 credit included), then add the email server.
{
"mcpServers": {
"ark-docs": {
"url": "https://arkhq.io/docs/mcp"
},
"ark-email": {
"command": "npx",
"args": ["-y", "ark-email-mcp"],
"env": {
"ARK_API_KEY": "ark_live_xxxxxx"
}
}
}
}Use in agent mode
Cursor can now search docs and send emails. Ask it to build email features or debug delivery issues.
// Cursor uses Docs MCP to understand the API:
"How do I send batch emails with Ark?"
// Cursor uses Email MCP to actually send:
"Send a verification email to [email protected]"
// Both work together seamlesslyCode examples
Copy and paste to get started quickly.
import { Ark } from "ark-email";
const ark = new Ark({ apiKey: process.env.ARK_API_KEY });
// Cursor will generate this correctly because the API is predictable
await ark.emails.send({
from: "[email protected]",
to: "[email protected]",
subject: "Verify your email",
html: `
<h1>Welcome to YourApp</h1>
<p>Your verification code is: <strong>847291</strong></p>
`,
});from ark import Ark
import os
ark = Ark(api_key=os.environ["ARK_API_KEY"])
# Clean, predictable API that Cursor generates correctly
ark.emails.send(
from_="[email protected]",
to="[email protected]",
subject="Reset your password",
html="<p>Click to reset: <a href='https://app.com/reset?t=abc'>Reset</a></p>",
)What you can build
"Add email verification to signup"
Cursor generates the complete flow: token generation, email sending, verification endpoint. MCP tools handle the email part directly.
"Set up password reset emails"
Describe the feature in plain English. Cursor builds the reset flow using Ark's MCP tools for the email delivery.
"Debug why emails aren't delivering"
Ask Cursor to check delivery status. It uses the MCP tools to query Ark's API and diagnose the issue.
"Configure my sending domain"
Cursor can use MCP tools to check domain status, verify DNS, and troubleshoot deliverability issues.
Why developers choose Ark
Docs MCP: Free documentation search
Cursor searches Ark's docs in real-time. No API key needed, no token waste, always up-to-date. One-click install available.
Email MCP: 26 email tools
Send emails, check delivery, manage domains, handle bounces. Cursor operates your email infrastructure through natural language.
Works with background agents
Run email tasks in Cursor's background agents while you focus on other code. Get notified when done.
Auto-run compatible
Enable auto-run for MCP tools and Cursor handles email operations without asking permission each time.
What you get with Ark
Frequently asked questions
What's the difference between Docs MCP and Email MCP?
Docs MCP searches Ark's documentation in real-time—it's free, requires no API key, and helps Cursor understand how to use the API correctly. Email MCP actually sends emails, manages domains, and handles infrastructure—it requires an API key. Use both together for the best experience.
Why does Cursor generate better code with Ark than other email APIs?
Ark was designed for AI consumption. The Docs MCP gives Cursor real-time access to authoritative documentation instead of relying on training data. API responses are predictable with no edge cases. Other email APIs have HTML docs that waste tokens and inconsistent responses that cause hallucinations.
What can Cursor do with Ark's MCP tools?
Docs MCP: Search documentation, understand API patterns, get code examples. Email MCP: 26 operations including send, batch, retry, check delivery status, manage suppression lists, verify domains, configure webhooks. Together, Cursor can learn and execute email operations.
Do I need both MCP servers?
Start with Docs MCP (free, no API key). Cursor will generate better email code just from having access to accurate docs. Add Email MCP when you want Cursor to actually send emails and manage infrastructure directly.
What about cost?
Docs MCP is completely free. Email MCP costs $0.50 per 1,000 emails sent—no monthly fees, no tiers. You get $2.50 credit when you sign up (5,000 emails). Both MCP servers are open source.
Add email to your Cursor workflow
60-second setup. $2.50 welcome credit. Stop context-switching to email docs.