Skip to main content
Glama

Instantly MCP Server

Instantly MCP Server

MCP server for Instantly.ai v2 API - Manage email campaigns, accounts, leads, and analytics through Claude AI. Perfect for email automation and cold outreach campaigns.

Overview

The Instantly MCP Server is a powerful integration that brings Instantly.ai's email automation capabilities directly into Claude and other AI assistants through the Model Context Protocol. This enables AI-powered management of:

  • 📧 Email campaigns and sequences
  • 👥 Account management and warmup
  • 📊 Analytics and performance tracking
  • 🎯 Lead management and segmentation
  • ✉️ Email sending and verification
  • 🔑 API key management

Perfect for sales teams, marketers, and developers who want to automate their cold outreach workflows using AI.

Quick Start

Using with npx (no installation required)

Add to your MCP settings configuration:

{ "mcpServers": { "instantly": { "command": "npx", "args": ["instantly-mcp", "--api-key", "YOUR_INSTANTLY_API_KEY"] } } }

Local Installation

  1. Clone and install:
npm install npm run build
  1. Add to your MCP settings:
{ "mcpServers": { "instantly": { "command": "node", "args": ["/path/to/instantly-mcp/dist/index.js", "--api-key", "YOUR_INSTANTLY_API_KEY"] } } }

Getting Your API Key

  1. Log in to Instantly.ai
  2. Navigate to Settings > Integrations > API
  3. Generate or copy your API key

Available Tools

Campaign Management

  • list_campaigns - List all campaigns with optional filters and pagination
  • get_campaign - Get details of a specific campaign
  • create_campaign - Create a new email campaign
  • update_campaign - Update an existing campaign
  • activate_campaign - Activate a campaign

Analytics

  • get_campaign_analytics - Get analytics for campaigns
  • get_campaign_analytics_overview - Get analytics overview for all campaigns

Account Management

  • list_accounts - List all sending accounts with pagination
  • create_account - Create a new sending account
  • update_account - Update a sending account
  • get_warmup_analytics - Get warmup analytics for an account

Lead Management

  • list_leads - List leads with filters and pagination
  • create_lead - Create a new lead
  • update_lead - Update a lead
  • move_leads - Move leads between campaigns or lists

Lead Lists

  • list_lead_lists - List all lead lists with pagination
  • create_lead_list - Create a new lead list

Email Operations

  • send_email - Send a single email
  • list_emails - List emails with filters and pagination

Email Verification

  • verify_email - Verify if an email address is valid

API Key Management

  • list_api_keys - List all API keys
  • create_api_key - Create a new API key

Example Usage

Once configured, you can use natural language to interact with Instantly:

  • "List all my active campaigns"
  • "Show me the analytics for campaign XYZ"
  • "Create a new campaign called 'Summer Sale'"
  • "List all my sending accounts"

Development

# Install dependencies npm install # Run in development mode npm run dev -- --api-key YOUR_API_KEY # Build for production npm run build

Testing

Local Testing

  1. Test the API endpoints directly:
# Install dependencies npm install # Run the test script tsx test-endpoints.ts --api-key YOUR_API_KEY
  1. Test with MCP Inspector:
# Build the project npm run build # Test with MCP Inspector npx @modelcontextprotocol/inspector dist/index.js -- --api-key YOUR_API_KEY
  1. Test with Claude Desktop: Add to your Claude Desktop configuration:
{ "mcpServers": { "instantly": { "command": "node", "args": ["/absolute/path/to/dist/index.js", "--api-key", "YOUR_API_KEY"] } } }

Endpoint Documentation

The MCP server includes all major Instantly v2 API endpoints:

  • Campaigns: Create, list, update, activate campaigns
  • Analytics: Get campaign analytics and overview
  • Accounts: Manage sending accounts and warmup
  • Leads: Create, list, update, move leads
  • Lead Lists: Create and manage lead lists
  • Emails: Send emails and list email history
  • Email Verification: Verify email addresses
  • API Keys: Manage API keys

For full API documentation, visit: https://developer.instantly.ai/

License

MIT

Features

  • 🚀 Full Instantly v2 API coverage
  • 📄 Pagination support for all list endpoints
  • ⚡ Rate limiting with informative messages
  • 🔧 Comprehensive error handling
  • 📝 TypeScript support
  • 🔐 Secure API key handling
  • 📚 Example scripts included

Recent Updates

v2.0.13 (Latest)

  • Fixed campaign creation with improved field structure
  • Added timezone and days configuration for campaigns
  • Enhanced debug logging for troubleshooting
  • Fallback mechanism for different API structures

See CHANGELOG.md for complete version history.

Known Issues

  • Campaign creation may require specific account configuration
  • Some endpoints return empty results despite data existing (working on fixes)
  • Email sending requires verified sender accounts

Contributing

Pull requests are welcome! Please ensure all tests pass and follow the existing code style.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support

Publishing

This package is automatically published to npm when a new version tag is pushed:

npm version patch|minor|major git push --tags

Support

Changelog

See CHANGELOG.md for a list of changes.

Author

Created by bcharleson

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides access to Instantly API v2 for email campaign and lead management functionality.

  1. Overview
    1. Quick Start
      1. Using with npx (no installation required)
      2. Local Installation
    2. Getting Your API Key
      1. Available Tools
        1. Campaign Management
        2. Analytics
        3. Account Management
        4. Lead Management
        5. Lead Lists
        6. Email Operations
        7. Email Verification
        8. API Key Management
      2. Example Usage
        1. Development
          1. Testing
            1. Local Testing
            2. Endpoint Documentation
          2. License
            1. Features
              1. Recent Updates
                1. v2.0.13 (Latest)
              2. Known Issues
                1. Contributing
                  1. Support
                    1. Publishing
                      1. Support
                        1. Changelog
                          1. Author

                            Related MCP Servers

                            • A
                              security
                              F
                              license
                              A
                              quality
                              Enables users to validate the existence of email addresses through a simple FastMCP tool, offering JSON responses without requiring an API key.
                              Last updated -
                              1
                              • Apple
                            • -
                              security
                              A
                              license
                              -
                              quality
                              Enables interaction with Gmail through the Gmail API to read, send, and manage emails. Supports multiple Gmail accounts with real-time monitoring and advanced features for email search and attachment handling.
                              Last updated -
                              8
                              Python
                              Apache 2.0
                              • Apple
                              • Linux
                            • A
                              security
                              F
                              license
                              A
                              quality
                              Provides an interface to manage email marketing, contact lists, dynamic templates, and email analytics via SendGrid's API.
                              Last updated -
                              21
                              6
                              TypeScript
                            • -
                              security
                              A
                              license
                              -
                              quality
                              Provides IMAP and SMTP capabilities, enabling developers to manage email services with seamless integration and automated workflows.
                              Last updated -
                              35
                              Python
                              BSD 3-Clause
                              • Apple
                              • Linux

                            View all related MCP servers

                            MCP directory API

                            We provide all the information about MCP servers via our MCP API.

                            curl -X GET 'https://glama.ai/api/mcp/v1/servers/bcharleson/Instantly-MCP'

                            If you have feedback or need assistance with the MCP directory API, please join our Discord server