MCP
The Dotdigital API Model Context Protocol (MCP) server enables AI-powered code editors like Cursor and Windsurf, plus general-purpose tools like Claude Desktop, to interact directly with your Dotdigital API and documentation.
What is MCP?
Model Context Protocol (MCP) is an open standard that allows AI applications to securely access external data sources and tools. The Dotdigital API MCP server provides AI agents with:
- API access to Dotdigital API functionality using the OAS specifications
- Documentation search capabilities
- Real-time data from your Dotdigital API account
- Code generation assistance for Dotdigital API integrations
Dotdigital API MCP Server Setup
Dotdigital API hosts a remote MCP server at https://developer.dotdigital.com/mcp. Configure your AI development tools to connect to this server. If your APIs require authentication, you can pass in headers via query parameters or however headers are configured in your MCP client.
Add to~/.cursor/mcp.json:
{
"mcpServers": {
"dotdigital-api": {
"url": "https://developer.dotdigital.com/mcp"
}
}
}Testing Your MCP Setup
Once configured, you can test your MCP server connection:
- Open your AI editor (Cursor, Windsurf, etc.)
- Start a new chat with the AI assistant
- Ask about Dotdigital API - try questions like:
- "How do I [common use case]?"
- "Show me an example of [API functionality]"
- "Create a [integration type] using Dotdigital API"
The AI should now have access to your Dotdigital API account data and documentation through the MCP server.
Updated 9 days ago
