Connect AI agents to DirectIQ with MCP
The Model Context Protocol (MCP) lets AI tools interact with DirectIQ programmatically. Manage campaigns, sync contacts, and pull analytics — all from your favorite MCP-compatible client.
Connection details
To connect your MCP client to DirectIQ, you need two things: the server URL and your API key.
Server URL
https://mcp.directiq.com/mcp Authentication
Pass your API key in the x-api-key request header.
Finding your API key
- Log in to your DirectIQ dashboard
- Navigate to Settings → API Keys
- Copy your existing API key or generate a new one
Configuration
Add the following configuration to your MCP client. This works with Claude Desktop, Cursor, VS Code, and any other MCP-compatible tool.
{
"mcpServers": {
"directiq": {
"url": "https://mcp.directiq.com/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
} Setup steps
- Copy the JSON configuration above
- Replace
YOUR_API_KEYwith your actual API key from the DirectIQ dashboard - Add it to your MCP client's server configuration file
- Restart your MCP client to connect
What you can do with MCP
Once connected, your AI agent can interact with DirectIQ to manage your email marketing.
Manage campaigns
Create, schedule, and send email campaigns through your AI agent without opening the dashboard.
Sync contacts
Add, update, and segment contacts in your mailing lists directly from your AI workflow.
Pull analytics
Retrieve open rates, click data, and campaign performance to inform your next steps.
Ready to connect your AI agent?
Sign up for DirectIQ, grab your API key, and start managing email campaigns through MCP in minutes.