AI Integration

MCP Server

Use ParseBounce with any MCP-compatible AI client to query your email delivery data using natural language. The MCP (Model Context Protocol) server enables AI assistants to interact with your ParseBounce data.

Supported Clients

MCP is an open standard supported by 300+ AI clients. Popular options include:

Claude Desktop
ChatGPT Desktop
Cursor
VS Code + Copilot
Windsurf
Continue.dev

Claude Desktop and ChatGPT Desktop support zero-install remote MCP. Other clients require local installation.

What is MCP?

Model Context Protocol (MCP) is an open standard that enables AI assistants to connect to external tools and data sources. With our MCP server, Claude can:

  • Check why emails are bouncing or being blocked
  • View deliverability statistics and campaign metrics
  • Manage suppression lists through conversation
  • Debug delivery issues with natural language queries

Claude Desktop Setup

Recommended

Zero Installation

No npm, no config files. Just add the URL and sign in.

1

Open Claude Desktop Settings

Go to Settings → Connectors → Add custom connector

2

Enter the MCP URL

https://api.parsebounce.com/mcp
3

Sign in with ParseBounce

You'll be redirected to sign in. Click "Allow" to grant access.

Start chatting!

Ask Claude about your email delivery, bounces, and suppressions.

Alternative

Local Installation

For developers who prefer running the MCP server locally with an API key.

1

Get your API key

Go to Profile and create an API key. Requires Startup plan or higher.

2

Add to Claude config

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "parsebounce": {
      "command": "npx",
      "args": ["-y", "@parsebounce/mcp-server"],
      "env": {
        "PARSEBOUNCE_API_KEY": "pb_live_..."
      }
    }
  }
}
3

Restart Claude Desktop

ParseBounce tools will appear in the tools menu.

ChatGPT Desktop Setup

Recommended

Zero Installation

ChatGPT supports remote MCP with OAuth. Create an App on OpenAI Platform.

1

Open ChatGPT Settings

Go to chatgpt.com → Settings → Apps

2

Enable Developer Mode

Toggle on Developer Mode to create custom apps

3

Create New App

Click "Create app" and fill in:

  • Name: ParseBounce
  • Description: Email deliverability monitoring
  • MCP Server URL:
https://api.parsebounce.com/mcp

Authentication: Select OAuth (leave Client ID and Client Secret empty)

4

Connect and Authorize

Click "Connect" button, then sign in to ParseBounce and grant access.

5

Select App in Chat

Before asking questions, select ParseBounce app in the chat input area.

Start chatting!

Ask ChatGPT about your email delivery, bounces, and suppressions.

Note: MCP in ChatGPT requires a paid subscription (Plus, Pro, or Team) with Developer Mode enabled in settings.

Other AI Clients

For Cursor, VS Code, and other MCP clients, use local installation with an API key:

{
  "mcpServers": {
    "parsebounce": {
      "command": "npx",
      "args": ["-y", "@parsebounce/mcp-server"],
      "env": {
        "PARSEBOUNCE_API_KEY": "pb_live_your_api_key_here"
      }
    }
  }
}

Cursor: ~/.cursor/mcp.json

Continue.dev: ~/.continue/config.json

Available Tools

ToolDescription
Project Management
list_projectsList all projects you have access to. Use this first to find project IDs by name.
Email Status & Suppression
check_emailCheck email delivery status - suppression status + complete message history with events.
check_emails_batchCheck multiple emails at once (up to 100).
list_suppressionsList all suppressed (blocked) email addresses with pagination.
add_suppressionBlock an email address from receiving emails.
remove_suppressionUnblock an email address.
Analytics & Monitoring
get_deliverability_statsGet delivery/bounce/complaint rates for a project over a time period.
list_recent_bouncesList recent bounced emails with bounce reasons and types.
compare_periodsCompare metrics between two time periods. Detect trends in bounce/complaint rates.
Search & Investigation
search_by_domainSearch messages by recipient domain (e.g., gmail.com). Find deliverability issues with specific providers.
search_by_tracking_idSearch messages by campaign/batch tracking ID with delivery stats.
get_message_eventsGet detailed event timeline for a specific message (delivery, bounce, complaint events).

Example Conversations

Debug a delivery issue

You

Why isn't my email being delivered to john@example.com?

AI

AI will use list_projects to find your project, then check_email to get the full history. It will explain the bounce reason, when it happened, and suggest next steps.

Check campaign performance

You

How did my "welcome-email" campaign perform?

AI

AI will use search_by_tracking_id with tracking_id="welcome-email" and present delivery rates, bounces, and complaints with a summary of all messages in the campaign.

Investigate provider issues

You

Are we having problems delivering to Gmail?

AI

AI will use search_by_domain with domain="gmail.com" to find recent messages and analyze delivery patterns, bounce reasons, and complaint rates.

Compare trends

You

Has our bounce rate changed this week compared to last week?

AI

AI will use compare_periods to compare the last 7 days with the previous 7 days and highlight any changes in delivery, bounce, or complaint rates.

Message timeline

You

Show me all events for message abc123

AI

AI will use get_message_events to retrieve the full event timeline: when it was sent, delivered, bounced, or complained — with all details.

Manage suppressions

You

Remove jane@example.com from suppression list - they confirmed their email works now

AI

AI will use check_email to find the suppression, then remove_suppression to unblock the address.

Security

Remote MCP (Zero-install)

Uses OAuth 2.1 with PKCE for secure authentication. Your credentials are never shared with Claude — only a secure access token that you explicitly authorize. You can revoke access anytime from your Profile settings.

Local Installation

The MCP server runs locally on your machine. Your API key is stored in your local config file and never passes through Anthropic's servers. API requests go directly from your machine to ParseBounce.

Troubleshooting

"Error connecting to MCP server" (Remote)

Try removing and re-adding the connector. Make sure you're signed in to ParseBounce and clicked "Allow" on the consent screen. MCP access requires a Startup plan or higher.

"Tools not showing in Claude" (Local)

Make sure you saved the config file and restarted Claude Desktop completely. Check that your API key is valid and starts with pb_live_.

"Unauthorized error"

Your API key or OAuth token may be invalid or expired. For remote MCP, try reconnecting. For local installation, generate a new key from your Profile page.

"Project not found"

Make sure you have access to the project. Ask Claude to run list_projects first to see all projects you can access.

Related