Skip to main content

MCP server exposing Cakemail API documentation to AI agents

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cakemail_api_docs_mcp-0.1.0.tar.gz (321.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cakemail_api_docs_mcp-0.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file cakemail_api_docs_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: cakemail_api_docs_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 321.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for cakemail_api_docs_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ec6ec1b074ce724a7b56e80f4daeb33d8ba808434f1bb9d85dc0ca0a0b4846a
MD5 d1b152b98deaa3243bb7c302f8ef52b5
BLAKE2b-256 0ba875782613aaf91e19b413977bbe3ed5cb84abf3342e3c65296be384c9fb9c

See more details on using hashes here.

File details

Details for the file cakemail_api_docs_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cakemail_api_docs_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e39b9a3d70bac96f3dfeb77175cdfa8a3fd42b996ec8c2085a038f9a6b7e1c51
MD5 af81f97f10865bb10202f77cad9c2ef2
BLAKE2b-256 21ef0bed3e5cfcfdbc0267cebdf606758471d86806e9af45ab99d0066dce7ede

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page