Cakemail API MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cakemail API MCP Serverlist my recent email campaigns"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
apidoc.mcp.cakemail.com
MCP server that lets AI assistants discover and call the Cakemail API. Loads the OpenAPI specification dynamically and exposes it through three tools for discovery and execution. Deployed on Vercel.
Architecture
api.cakemail.dev/openapi.json → Loaded into memory on first request
↓
MCP Server (Vercel)
├── list_endpoints (browse/search)
├── get_endpoint (full details)
└── call_api (execute)
↑
AI Assistant (Claude, Cursor, etc.)Source: OpenAPI spec fetched from
https://api.cakemail.dev/openapi.jsonSpec size: ~470KB, 222 operations, 497 schemas
Transport: MCP Streamable HTTP protocol
Related MCP server: Open API MCP Server
MCP Tools
list_endpoints
Browse available API endpoints with optional filters.
Parameter | Type | Required | Description |
| string | no | Filter by category (e.g. Campaign, Contact, Account) |
| string | no | Search in path, summary, or operationId |
get_endpoint
Get full details for a specific endpoint (parameters, request/response schemas).
Parameter | Type | Required | Description |
| string | no | Endpoint operationId (e.g. listCampaigns) |
| string | no | API path (e.g. /campaigns) |
| string | no | HTTP method (e.g. GET, POST) |
Provide either operationId or both path + method.
call_api
Read data from the Cakemail API (GET only). Useful for verifying API behavior with real data.
Parameter | Type | Required | Description |
| string | yes | API path (e.g. /campaigns, /contacts/123) |
| object | no | Query parameters as key-value pairs |
Authentication
Two methods are supported:
Basic Auth — use your Cakemail email and password (recommended for MCP clients)
Bearer token — admin API key or a Cakemail access token from
/api/auth
Generate your Basic Auth credentials
echo -n 'you@example.com:your-password' | base64Get a token via /api/auth
curl -X POST https://apidoc.mcp.cakemail.com/api/auth \
-H "Content-Type: application/json" \
-d '{"username":"you@example.com","password":"your-password"}'Connecting to the MCP Server
Claude Code
claude mcp add cakemail-api \
--transport http \
https://apidoc.mcp.cakemail.com/api/mcp \
--header "Authorization: Basic BASE64_ENCODED_CREDENTIALS"Any MCP client
{
"mcpServers": {
"cakemail-api": {
"type": "streamable-http",
"url": "https://apidoc.mcp.cakemail.com/api/mcp",
"headers": {
"Authorization": "Basic BASE64_ENCODED_CREDENTIALS"
}
}
}
}API Endpoints
Endpoint | Method | Auth | Description |
| POST/GET | Basic or Bearer | MCP Streamable HTTP endpoint |
| POST | None | Get access token with Cakemail credentials |
| GET | Admin API key | Tool usage stats. Optional: |
Environment Variables
Variable | Description |
| Admin API key for service authentication |
| Shared Supabase project URL (same as kb.mcp) |
| Supabase service role key |
Development
npm install
npm test # run tests
npm run test:watch # run tests in watch modeThis server cannot be deployed
Maintenance
Related MCP Connectors
Cold email API for AI agents: connect mailboxes, warm up, run campaigns and handle replies.
- SendinelOAuthai.sendinel
AI-controlled email ops for campaigns, contacts, segments, analytics, and sending.
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to understand and interact with OpenAPI specifications, providing deep insight into API structures for faster and more accurate API integration.913 npm1MIT
- AlicenseNot gradedqualityFmaintenanceProvides AI assistants with access to OpenAPI specifications, enabling API discovery, schema retrieval, and direct API execution with support for OAuth 2.0 and other authentication methods.9 npm1MIT
- FlicenseAqualityDmaintenanceDynamically fetches and exposes OpenAPI/Swagger documentation as tools for AI assistants, enabling them to explore and interact with any REST API.31-

RuSender MCPofficial
AlicenseNot gradedqualityAmaintenanceEnables AI assistants to manage email campaigns, contact lists, analytics, A/B tests, and transactional emails through natural language, using OAuth for secure connection.MIT