Cakemail API MCP Server
A Model Context Protocol (MCP) server that exposes Cakemail's email marketing API documentation to AI agents, eliminating hallucination and enabling accurate code generation.
Overview
The Cakemail API MCP Server provides AI coding assistants (Claude, Cursor, GitHub Copilot) with direct access to authoritative Cakemail API specifications. Instead of guessing endpoint URLs, parameters, and authentication details, AI agents can query the MCP server for exact specifications from Cakemail's OpenAPI documentation.
Features
- Zero-hallucination guarantee: AI agents get facts from OpenAPI spec, not statistical guesses
- Real-time API documentation: Always reflects the latest API state
- Seamless integration: Works with Claude Desktop, Cursor, and other MCP-compatible tools
- Fast queries: <500ms response time for spec lookups
Installation
⭐ Easiest Method (Recommended)
One command to install with Claude Code/Desktop:
# Using npx (works for everyone!)
claude mcp add cakemail-api-docs -- npx cakemail-api-docs
# Or using uvx (Python developers)
claude mcp add cakemail-api-docs -- uvx cakemail-api-docs-mcp
That's it! No manual configuration needed.
Alternative Methods
Method 1: Using npm
npm install -g cakemail-api-docs
claude mcp add cakemail-api-docs cakemail-api-docs
Method 2: Using pip
pip install cakemail-api-docs-mcp
claude mcp add cakemail-api-docs cakemail-api-docs-mcp
Method 3: From source (for development)
git clone https://github.com/cakemail/cakemail-api-documentation-mcp.git
cd cakemail-api-documentation-mcp
uv pip install -e ".[dev]"
See INSTALLATION.md for detailed installation options.
Quick Start
Using with Claude Desktop
After running claude mcp add, restart Claude Desktop. You should see a 🔌 icon indicating the server is connected.
Test it:
- "Can you check the health of the Cakemail MCP server?"
- "List all Cakemail API endpoints"
- "Show me how to authenticate with the Cakemail API"
Manual Configuration
If not using claude mcp add, edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"cakemail": {
"command": "cakemail-api-docs-mcp",
"env": {
"OPENAPI_SPEC_PATH": "https://api.cakemail.dev/openapi.json"
}
}
}
}
Running Standalone
cakemail-api-docs-mcp
Or using Python module:
python -m cakemail_mcp
Integrating with Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"cakemail": {
"command": "cakemail-api-docs-mcp",
"env": {
"OPENAPI_SPEC_PATH": "/path/to/cakemail/openapi.json"
}
}
}
}
Development
Setup
# Clone repository
git clone https://github.com/cakemail/cakemail-api-docs-mcp.git
cd cakemail-api-docs-mcp
# Install with development dependencies
uv pip install -e .[dev]
Running Tests
pytest
Code Quality
# Format code
black src tests
# Lint
ruff check src tests
# Type check
mypy src
License
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please see our contributing guidelines for details.
Support
Metadata
Release files for cakemail-api-docs-mcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cakemail_api_docs_mcp-0.1.2.tar.gz | 358.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cakemail_api_docs_mcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 407.7 kB
Release files / cakemail_api_docs_mcp-0.1.2.tar.gz
| Download URL | cakemail_api_docs_mcp-0.1.2.tar.gz |
|---|---|
| Size | 358.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4c2e6cbaf5e834928347eb516eb92f796b91331f9a14949039766081b0d1b88
|
|
BLAKE2b-256 checksum How to use checksums |
bb98f9f58d34f152ace3ab68ba58922dc9c52ae4123424d9c6b1813a7b40c488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / cakemail_api_docs_mcp-0.1.2-py3-none-any.whl
| Download URL | cakemail_api_docs_mcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 48.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e857bd256b66467fbd0548706bf1d551a72c7919450243ba998e2f70bed6388b
|
|
BLAKE2b-256 checksum How to use checksums |
bb8789150d89754fc8a18d652e7c843affab32bce6b0f785f986df4bda602a61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Security for cakemail-api-docs-mcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.