Get Started in 60 Seconds
1
Connect Claude Code to Ark's Documentation
One command. No API key needed.
2
Ask Claude to Write Email Code
Try this now:Claude reads Ark’s documentation and gives you working code with correct syntax—no hallucinated parameters, no outdated methods.
3
When You're Ready to Send
- Create an account and get your API key
- Set up your sending domain (required for all emails)
- Optionally, add the API MCP for infrastructure management:
Why Ark Works Better with Claude Code
When you ask Claude to implement email with most APIs, it hallucinates outdated syntax and writes broken code. You spend 30 minutes debugging. With Ark:| The Problem | How Ark Solves It |
|---|---|
| Claude guesses at API syntax | AI-readable .md docs Claude can parse directly |
| Outdated training data | Docs MCP gives real-time access to current documentation |
| Weird edge cases confuse AI | Clean, predictable API design with no surprises |
| Can’t verify if setup works | 26 MCP tools let Claude check your configuration |
Two MCP Servers, Different Purposes
Docs MCP
Claude reads documentation and writes correct code. No API key required.
API MCP
Claude manages domains, checks delivery, debugs issues. Requires API key.
Docs MCP Setup
Give Claude accurate, real-time knowledge of Ark’s API.ark-docs with status “connected”.
What Claude Can Do With Docs MCP
Ask Claude to implement any email feature:Write integration code
Write integration code
“Add email verification to my signup flow using Ark”
“Set up transactional emails for my checkout with Ark’s Python SDK”
“Show me how to handle Ark webhooks in Express”
Explain features and best practices
Explain features and best practices
“What’s the difference between send and send_batch in Ark?”
“How should I handle bounces with Ark?”
“What DNS records do I need for DKIM?”
Debug issues
Debug issues
“What does a softfail status mean in Ark?”
“Why might my Ark emails go to spam?”
“How do I check if an email was delivered?”
API MCP Setup
Give Claude tools to manage your email infrastructure directly.Prerequisite: You need a verified sending domain before you can send emails.
Option 1: One Command
Option 2: Project Config
Add to.mcp.json in your project root:
Option 3: User Config (Global)
What Claude Can Do With API MCP
26 tools for managing your email infrastructure:Domain Management
Domain Management
“Is my domain DNS configured correctly?”
“Show me the DNS records I need for mydomain.com”
“Verify my domain configuration”
Delivery Monitoring
Delivery Monitoring
“Did the email to [email protected] get delivered?”
“What’s the status of the last email I sent?”
“Show me recent bounces”
Suppression Management
Suppression Management
“Is [email protected] on our suppression list?”
“Why is this address suppressed?”
“Remove [email protected] from suppressions”
Webhooks & Tracking
Webhooks & Tracking
“Set up a webhook for delivery events”
“What webhooks do I have configured?”
“Test my webhook endpoint”
Example Workflow
Here’s what working with Ark in Claude Code actually looks like:1. Claude Writes Your Integration
2. You Set Up Your Domain
3. Claude Helps Debug
FAQ
Do I need an API key to try this?
Do I need an API key to try this?
No. The Docs MCP is free and needs no authentication. You only need an API key when you’re ready to actually send emails.
Can I send test emails without a domain?
Can I send test emails without a domain?
No. Ark requires a verified sending domain for all emails. See Domain Setup—it takes about 10 minutes.
What if Claude still writes wrong code?
What if Claude still writes wrong code?
With the Docs MCP installed, tell Claude: “Check the Ark documentation first.” This ensures it reads current docs rather than relying on training data.
Where is my API key stored?
Where is my API key stored?
Locally in your MCP config file on your machine. It’s never sent to Anthropic—only directly to Ark’s servers over HTTPS.
Which MCP should I install first?
Which MCP should I install first?
Docs MCP. It’s free, instant, and gives Claude accurate API knowledge. Add API MCP later when you want Claude to help manage infrastructure.
What's the difference from the main MCP page?
What's the difference from the main MCP page?
This page is focused on Claude Code specifically. The MCP Server page covers all MCP clients (Claude Desktop, Cursor, VS Code, Windsurf) with detailed setup for each.
Available MCP Tools
The API MCP exposes 26 tools to Claude Code:Email Operations
| Tool | Description |
|---|---|
send_email | Send a transactional email |
send_batch | Send up to 100 emails in one request |
get_email | Get delivery status of a sent email |
list_emails | List emails with filtering |
retry_email | Retry a failed delivery |
get_deliveries | Get all delivery attempts |
Domain Management
| Tool | Description |
|---|---|
create_domain | Register a sending domain |
list_domains | List configured domains |
get_domain | Get domain details and DNS records |
verify_domain | Trigger DNS verification |
delete_domain | Remove a domain |
Suppression Management
| Tool | Description |
|---|---|
check_suppression | Check if an address is suppressed |
add_suppression | Add to suppression list |
remove_suppression | Remove from suppression list |
list_suppressions | List all suppressions |
Webhooks & Tracking
| Tool | Description |
|---|---|
create_webhook | Create event webhook |
list_webhooks | List webhooks |
test_webhook | Send test event |
create_tracking_domain | Set up tracking domain |
verify_tracking_domain | Verify tracking DNS |
