Cakemail API MCP Server
OfficialClick on "Install 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: Smartlead 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cakemail/apidoc.mcp.cakemail.com'
If you have feedback or need assistance with the MCP directory API, please join our Discord server