Drip MCP Server
Click on "Deploy 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., "@Drip MCP ServerAdd subscriber john@example.com with tag 'customer'"
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.
Drip MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with the Drip email marketing automation platform. This server enables AI assistants like Claude to interact with Drip's API for subscriber management, campaign automation, and analytics tracking.
๐ Features
Core Capabilities
๐งโ๐คโ๐ง Subscriber Management - Create, update, delete, and search subscribers with full custom field support
๐ท๏ธ Tag Operations - Apply and remove tags for segmentation and automation
๐ง Campaign Management - List campaigns and manage subscriber enrollments
๐ Workflow Automation - Control workflows and subscriber participation
๐ Event Tracking - Track custom events for behavioral automation
๐ฐ E-commerce Integration - Record purchases and conversions
๐ Form & Broadcast Access - Retrieve forms and broadcast information
โก Batch Operations - Efficiently handle bulk subscriber operations
๐ Advanced Search - Find subscribers using complex filter criteria
Technical Features
๐ก๏ธ Automatic Rate Limiting - Handles Drip's API limits with exponential backoff
๐ง Smart Field Mapping - Automatically organizes standard and custom fields
๐ฏ Error Handling - Detailed error messages for debugging
๐งช Comprehensive Testing - Unit and integration test suites included
๐ MCP Inspector Support - Built-in debugging interface for development
Related MCP server: Sequenzy MCP Server
๐ฆ Installation
Prerequisites
Node.js 20.0.0 or higher
npm or yarn package manager
Drip account with API access
MCP-compatible client (e.g., Claude Desktop)
Package Installation
# Using npm
npm install @gravitykit/drip-mcp-server
# Using yarn
yarn add @gravitykit/drip-mcp-server
# For global installation
npm install -g @gravitykit/drip-mcp-serverFrom Source
# Clone the repository
git clone https://github.com/GravityKit/drip-mcp-server.git
cd drip-mcp-server
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your credentials๐ Configuration
Getting Your API Credentials
API Key:
Log in to your Drip account
Navigate to Settings โ My User Settings โ API
Copy your API Key
Direct link: https://www.getdrip.com/user/edit
Account ID:
Found in Settings โ General Info
Also visible in your Drip dashboard URL
Format: Numeric ID (e.g.,
12345678)
Environment Variables
Create a .env file in the project root:
DRIP_API_KEY=your_api_key_here
DRIP_ACCOUNT_ID=your_account_id_hereClaude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"drip": {
"command": "npx",
"args": ["@gravitykit/drip-mcp-server"],
"env": {
"DRIP_API_KEY": "your_api_key_here",
"DRIP_ACCOUNT_ID": "your_account_id_here"
}
}
}
}Alternative: Using Local Installation
{
"mcpServers": {
"drip": {
"command": "node",
"args": ["/path/to/drip-mcp-server/src/index.js"],
"env": {
"DRIP_API_KEY": "your_api_key_here",
"DRIP_ACCOUNT_ID": "your_account_id_here"
}
}
}
}๐ Usage
Quick Start
Once configured, the MCP server exposes Drip functionality through standardized tools. Your AI assistant can use natural language to interact with these tools.
Example Prompts for AI Assistants
"Add john@example.com to my Drip subscribers with the tag 'customer'"
"Find all subscribers tagged as 'vip' who joined this month"
"Track a 'Product Viewed' event for user@example.com with product_id ABC123"
"Start the 'Welcome Series' workflow for new@subscriber.com"
"Show me the last 10 unsubscribes and their reasons"Available Tools
Subscriber Management
Tool | Description |
| Create or update a subscriber |
| List all subscribers with pagination |
| Get a specific subscriber by ID or email |
| Permanently delete a subscriber |
| Advanced search with filters |
| Bulk create/update (up to 1000) |
Tags & Segmentation
Tool | Description |
| Apply tags to a subscriber |
| Remove a tag from a subscriber |
Campaigns & Workflows
Tool | Description |
| List all campaigns |
| Add subscriber to campaign |
| List all workflows |
| Activate a workflow |
| Pause a workflow |
| Start workflow for subscriber |
| Remove subscriber from workflow |
Analytics & Tracking
Tool | Description |
| Track custom events |
| Record a conversion |
| Record a purchase |
| Get recent unsubscribes |
| Get unsubscribe statistics |
Forms & Broadcasts
Tool | Description |
| List all forms |
| Get specific form details |
| List all broadcasts |
| Get specific broadcast details |
Code Examples
Creating a Subscriber
{
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"tags": ["customer", "newsletter"],
"custom_fields": {
"company": "Acme Corp",
"plan": "premium"
},
"time_zone": "America/New_York",
"eu_consent": "granted"
}Tracking an Event
{
"email": "user@example.com",
"action": "Viewed Product",
"properties": {
"product_id": "SKU-12345",
"product_name": "Premium Widget",
"price": 99.99,
"category": "Widgets"
},
"occurred_at": "2024-01-15T10:30:00Z"
}Advanced Search
{
"tags": ["vip", "customer"],
"created_after": "2024-01-01T00:00:00Z",
"custom_field_filters": {
"lifetime_value": { "greater_than": 1000 },
"plan": "premium"
},
"status": "active",
"per_page": 100
}๐งช Development
Running in Development Mode
# Watch mode with auto-restart
npm run dev
# Standard mode
npm startUsing the MCP Inspector
The MCP Inspector provides a web-based UI for testing and debugging:
# Launch the inspector
npm run inspectFeatures:
Interactive tool testing
Real-time message monitoring
Schema validation
Request/response inspection
Access the inspector at http://localhost:5173 after running the command.
Testing
# Run all tests
npm run test:all
# Run specific test suites
npm test # Core functionality
npm run test:unit # Unit tests (no network)
npm run test:validation # Input validation
npm run test:names # Field handling
npm run test:unsubscribes # Unsubscribe trackingProject Structure
drip-mcp-server/
โโโ src/
โ โโโ index.js # MCP server implementation
โ โโโ drip-client.js # Drip API client wrapper
โ โโโ tests/ # Test suites
โ โโโ run.js # Test runner
โ โโโ drip-client.test.js
โ โโโ server-tools.test.js
โ โโโ server-e2e.test.js
โโโ package.json
โโโ mcp.json # MCP Inspector config
โโโ .env.example # Environment template
โโโ LICENSE # MIT license
โโโ README.md # Documentation๐ Security Best Practices
API Key Management
Never commit API keys to version control
Use environment variables or secure key management
Rotate API keys regularly
Use least-privilege API keys when possible
Data Protection
Handle subscriber data according to privacy regulations (GDPR, CCPA)
Implement proper consent management
Use secure connections (HTTPS) only
Rate Limiting
Respect Drip's API limits (3,600 requests/hour)
Implement exponential backoff for retries
Monitor API usage to avoid limit violations
๐ Troubleshooting
Common Issues
Authentication Errors (401)
Cause: Invalid API key or account ID
Solution: Verify credentials in Drip settings and environment variables
Permission Errors (403)
Cause: API key lacks required permissions
Solution: Check API key permissions in Drip account settings
Rate Limiting (429)
Cause: Exceeding API rate limits
Solution: Server automatically retries with backoff; reduce request frequency if persistent
Field Mapping Issues
Cause: Incorrect field placement (standard vs. custom)
Solution: Server handles automatically; check field names match Drip configuration
Debug Mode
Enable detailed logging:
DEBUG=* npm start๐ API Documentation
Field Types
Standard Fields (Root Level)
email(required)first_namelast_nameuser_idtime_zoneeu_consenteu_consent_message
Custom Fields (Nested)
All other fields are automatically placed in custom_fields:
companyphoneaddress1,address2city,state,zip,countryAny custom data fields
Rate Limits
Operation Type | Limit | Window |
Individual Requests | 3,600 | Per hour |
Batch Operations | 50,000 | Per hour |
Concurrent Requests | 50 | Simultaneous |
Error Responses
Status Code | Description | Action Required |
401 | Unauthorized | Check API credentials |
403 | Forbidden | Verify permissions |
422 | Validation Error | Fix request parameters |
429 | Rate Limited | Wait and retry |
500 | Server Error | Contact support if persistent |
โ Frequently Asked Questions
Can I create broadcasts through the API?
No, the Drip API provides read-only access to broadcasts. Use the Drip web interface to create broadcasts.
How do I handle EU consent?
Use the eu_consent field with values: granted, denied, or pending. Include eu_consent_message for audit trails.
What's the difference between campaigns and workflows?
Campaigns: Email series with fixed timing
Workflows: Automated sequences triggered by events or conditions
Can I bulk delete subscribers?
No, Drip requires individual deletion for data safety. Use drip_delete_subscriber for each subscriber.
How do I track revenue?
Use drip_record_purchase with the value field in cents (e.g., 9999 for $99.99).
๐ค Contributing
We welcome contributions! Please follow these guidelines:
Fork the repository and create a feature branch
Write tests for new functionality
Follow the code style (ESM, async/await, clear naming)
Update documentation for API changes
Submit a pull request with a clear description
Development Guidelines
Use Node.js 20+ with ES modules
Maintain test coverage above 80%
Follow semantic versioning
Write descriptive commit messages
Keep dependencies minimal
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Support
For This MCP Server
๐ง Email: support@gravitykit.com
๐ Issues: GitHub Issues
๐ฌ Discussions: GitHub Discussions
For Drip API
๐ฌ Drip Support
๐ Drip Academy
For MCP Protocol
๐ MCP Documentation
๐ฌ MCP Community
๐ Acknowledgments
Built with the Model Context Protocol SDK
Powered by Drip email marketing platform
Developed by GravityKit
Made with โค๏ธ by GravityKit
Available Tools
28 toolsdrip_activate_workflowB
Activate a workflow by ID
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes |
drip_batch_create_subscribersB
Create or update multiple subscribers at once
| Name | Required | Description | Default |
|---|---|---|---|
| subscribers | Yes | Array of subscriber objects to create/update |
drip_batch_unsubscribeB
Unsubscribe multiple subscribers at once
| Name | Required | Description | Default |
|---|---|---|---|
| subscribers | Yes | Emails or objects {email} |
drip_create_subscriberB
Create or update a subscriber in Drip
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address of the subscriber | ||
| user_id | No | Unique identifier for the subscriber | |
| time_zone | No | Time zone of the subscriber (e.g., America/New_York) | |
| custom_fields | No | Custom field values for the subscriber | |
| tags | No | Tags to apply to the subscriber | |
| prospect | No | Whether the subscriber is a prospect | |
| base_lead_score | No | Base lead score for the subscriber | |
| eu_consent | No | EU consent status | |
| eu_consent_message | No | Message explaining how consent was obtained |
drip_delete_subscriberB
Delete a subscriber from your Drip account
| Name | Required | Description | Default |
|---|---|---|---|
| subscriber_id | Yes | Subscriber ID or email address |
drip_get_accountB
Get Drip account details
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
drip_get_broadcastC
Get broadcast by ID
| Name | Required | Description | Default |
|---|---|---|---|
| broadcast_id | Yes |
drip_get_formC
Get form by ID
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes |
drip_get_subscriberA
Fetch a specific subscriber by ID or email
| Name | Required | Description | Default |
|---|---|---|---|
| subscriber_id | Yes | Subscriber ID or email address |
drip_list_broadcastsD
List broadcasts
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| page | No | ||
| per_page | No |
drip_list_campaignsB
List all campaigns in your Drip account
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Filter by campaign status | |
| page | No | Page number for pagination | |
| per_page | No | Number of campaigns per page |
drip_list_custom_fieldsB
List custom field identifiers
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
drip_list_formsD
List forms
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| per_page | No |
drip_list_subscribersC
List all subscribers in your Drip account
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| per_page | No | Number of subscribers per page (max 1000) | |
| sort | No | Field to sort by | |
| direction | No | Sort direction | |
| status | No | Filter by subscriber status | |
| tags | No | Comma-separated list of tags to filter by |
drip_list_workflowsC
List workflows
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| page | No | ||
| per_page | No |
drip_pause_workflowC
Pause a workflow by ID
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes |
drip_recent_unsubscribesC
List recent unsubscribes with optional date bounds
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| before | No | ||
| page | No | ||
| per_page | No | ||
| sort | No | ||
| direction | No |
drip_record_conversionC
Record a conversion event
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| action | Yes | ||
| occurred_at | No | ||
| properties | No |
drip_record_purchaseC
Record a purchase for a subscriber
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| amount | Yes | ||
| occurred_at | No | ||
| properties | No | ||
| items | No |
drip_remove_from_workflowC
Remove a subscriber from a workflow
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| Yes |
drip_remove_tagB
Remove tags from a subscriber
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address of the subscriber | ||
| tag | Yes | Tag to remove |
drip_search_subscribersC
Search for subscribers using various filters
| Name | Required | Description | Default |
|---|---|---|---|
| No | Partial email match | ||
| tags | No | Must include all tags | |
| custom_field_filters | No | Custom field equals filters | |
| created_after | No | ISO 8601 lower bound | |
| created_before | No | ISO 8601 upper bound | |
| page | No | ||
| per_page | No | ||
| status | No | ||
| sort | No | ||
| direction | No |
drip_start_workflowC
Start a workflow for a subscriber
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| Yes |
drip_subscribe_to_campaignC
Subscribe a user to a campaign
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign ID | |
| Yes | Email address of the subscriber | ||
| user_id | No | Optional user ID | |
| time_zone | No | Time zone of the subscriber | |
| custom_fields | No | Custom field values | |
| tags | No | Tags to apply | |
| reactivate_if_removed | No | Whether to reactivate if previously removed | |
| prospect | No | Whether the subscriber is a prospect | |
| base_lead_score | No | Base lead score |
drip_tag_subscriberB
Apply tags to a subscriber
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address of the subscriber | ||
| tags | Yes | Tags to apply |
drip_track_eventC
Track a custom event for a subscriber
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address of the subscriber | ||
| action | Yes | Name of the event | |
| properties | No | Event properties | |
| occurred_at | No | ISO 8601 timestamp when the event occurred |
drip_unsubscribeC
Unsubscribe a subscriber from all emails
| Name | Required | Description | Default |
|---|---|---|---|
| subscriber_id | Yes | Subscriber ID or email address | |
| campaign_id | No | Optional campaign ID to unsubscribe from |
drip_unsubscribe_statsC
Aggregate unsubscribe stats by date
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| before | No | ||
| page | No | ||
| per_page | No |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
28 tool updates
v1.0.0- First observed
drip_activate_workflow - First observed
drip_batch_create_subscribers - First observed
drip_batch_unsubscribe - First observed
drip_create_subscriber - First observed
drip_delete_subscriber - First observed
drip_get_account - First observed
drip_get_broadcast - First observed
drip_get_form - First observed
drip_get_subscriber - First observed
drip_list_broadcasts - First observed
drip_list_campaigns - First observed
drip_list_custom_fields - First observed
drip_list_forms - First observed
drip_list_subscribers - First observed
drip_list_workflows - First observed
drip_pause_workflow - First observed
drip_recent_unsubscribes - First observed
drip_record_conversion - First observed
drip_record_purchase - First observed
drip_remove_from_workflow - First observed
drip_remove_tag - First observed
drip_search_subscribers - First observed
drip_start_workflow - First observed
drip_subscribe_to_campaign - First observed
drip_tag_subscriber - First observed
drip_track_event - First observed
drip_unsubscribe - First observed
drip_unsubscribe_stats
TDQS
Scored across 28 tools
Each tool targets a distinct resource and action (e.g., create_subscriber vs delete_subscriber, start_workflow vs pause_workflow). No overlap in purpose.
All tools follow the 'drip_verb_noun' pattern consistently with clear English verbs (list, get, create, delete, etc.) and no mixed conventions.
28 tools is slightly above the ideal range but reasonable for a comprehensive marketing automation platform covering subscribers, workflows, campaigns, broadcasts, forms, and events.
Covers CRUD for subscribers, workflows, campaigns, broadcasts, forms, tags, conversions, purchases, and events. Missing some update operations for campaigns/workflows but core workflows are supported.
Related MCP Connectors
Run email marketing from your AI assistant: contacts, newsletters, automations, behavior emails.
AI-native email marketing. Campaigns, automations, transactional, contacts, and analytics.
AI-controlled email ops for campaigns, contacts, segments, analytics, and sending.
Mailchimp engagement intelligence for AI agents: campaign analytics and audience insights.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Drip's email marketing platform through comprehensive tools for managing subscribers, campaigns, tags, events, and workflows. Supports batch operations, GDPR compliance, and both JSON and Markdown response formats for seamless email marketing automation.MIT

Sequenzy MCP Serverofficial
AlicenseBqualityCmaintenanceEnables management of AI-powered email marketing automation, including subscriber segments, campaigns, and templates. It allows users to generate email sequences with AI and track detailed analytics through natural language commands.1001,984 npm3MIT- AlicenseBqualityDmaintenanceEnables AI assistants to manage ActiveCampaign CRM, marketing automation, and contact data via 33 tools including contacts, deals, tags, automations, pipelines, custom fields, campaigns, accounts, and webhooks.651MIT
- AlicenseBqualityFmaintenanceConnects AI assistants to the Kit.com (formerly ConvertKit) email marketing platform, enabling management of subscribers, tags, sequences, broadcasts, and more through natural language.2962 npm4MIT