Connect Campaign Cleaner to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.
What you can do with the Campaign Cleaner MCP server
Ask your agent in plain language. Each of these maps to a real tool on the server.
Use the create inbox test tool in Campaign Cleaner
Use the get campaign status tool in Campaign Cleaner
Use the get campaign pdf report tool in Campaign Cleaner
Use the clean campaign tool in Campaign Cleaner
Use the get credits tool in Campaign Cleaner
Use the get campaign tool in Campaign Cleaner
Supported Tools
create_inbox_test
Create Inbox Test
Create an inbox placement test and receive the seed email addresses to send your campaign to. Send the campaign through your email service to every returned address, then use Get Inbox Test Results to check inbox and spam placement.
get_campaign_status
Get Campaign Status
Check the processing status of a specific campaign. Returns whether the campaign is still processing, completed, or paused. Use this after submitting a campaign to determine when results are ready for retrieval.
get_campaign_pdf
Get Campaign PDF Report
Download the campaign analysis as a PDF report for saving or sharing. The campaign must have completed processing before the report can be generated.
clean_campaign
Clean Campaign
Submit an HTML email campaign for automated cleaning and optimization. Campaign Cleaner sanitizes HTML, inlines CSS, adjusts spam-triggering fonts, replaces unsafe characters, checks links, and optimizes images.
Returns a campaign ID that can be used to retrieve results once processing completes. Processing typically takes seconds but may take longer for campaigns with many images/links.
get_credits
Get Credits
Check the number of available credits in your Campaign Cleaner account. Each campaign submission for processing consumes one credit.
get_campaign
Get Campaign
Retrieve the cleaned HTML and full analysis results for a processed campaign. Returns comprehensive diagnostics including spam analysis, link checking, image inventory, content metrics, and a summary of all changes applied.
Only works on campaigns with "completed" status.
list_campaigns
List Campaigns
Retrieve a list of all campaigns in your Campaign Cleaner account with their current processing status. Use this to find campaign IDs, check which campaigns are completed, or get an overview of all submitted campaigns.
get_inbox_test_results
Get Inbox Test Results
Retrieve inbox placement results for a test created with Create Inbox Test. Shows the inbox and spam rates, pending seeds, and delivery details for each provider. Results update as mailboxes receive your campaign.
delete_campaign
Delete Campaign
Permanently delete a saved campaign from your Campaign Cleaner account. This removes the campaign and its analysis results. This action cannot be undone.
Enable Campaign Cleaner in Metorial. In your Metorial portal, enable the Campaign Cleaner MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load Campaign Cleaner tools.
Enable Campaign Cleaner in Metorial. In your Metorial portal, enable the Campaign Cleaner MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load Campaign Cleaner tools.
Enable Campaign Cleaner in Metorial. In your Metorial portal, enable the Campaign Cleaner MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load Campaign Cleaner tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
Enable Campaign Cleaner in Metorial. In your Metorial portal, enable the Campaign Cleaner MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load Campaign Cleaner tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
Enable Campaign Cleaner in Metorial. In your Metorial portal, enable the Campaign Cleaner MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its Campaign Cleaner tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
Run Campaign Cleaner through the Metorial gateway
One governed layer for every app your agents reach, not a separate connector per tool.
Give Campaign Cleaner and every other app to your whole team through one MCP gateway, behind your SSO.
Scope which teams and agents can use Campaign Cleaner tools with role-based access control, and trace every call.
Prefer to run it yourself? Metorial is open source and self-hostable.
Analyze, clean, and optimize HTML email campaigns to improve deliverability and avoid spam filters. Submit campaign HTML for automated processing that inlines CSS, sanitizes HTML, replaces spam-triggering characters and font colors, detects broken and blacklisted links, analyzes spam keywords, optimizes images, and generates detailed deliverability reports. Retrieve cleaned HTML output, spam analysis scores, link and image diagnostics, and content metrics. Download PDF analysis reports, manage saved campaigns, check processing status, and monitor account credit usage. Supports webhooks for asynchronous processing notifications.
Frequently asked questions
Common questions about connecting Campaign Cleaner to AI agents with Metorial.
How many tools does the Campaign Cleaner MCP server have?
The Campaign Cleaner MCP server exposes 9 tools, including Create Inbox Test, Get Campaign Status, Get Campaign PDF Report. Each one is governed and traced through Metorial.
Does the Campaign Cleaner MCP server support triggers?
Campaign Cleaner exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the Campaign Cleaner MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Campaign Cleaner MCP server through the same Metorial URL.
How do I give only some teams access to Campaign Cleaner?
Use role-based access control to decide which teams, users, and agents can use Campaign Cleaner and which of its tools they can call.
Can I self-host the Campaign Cleaner MCP server?
Yes. Metorial is open source, so you can run the Campaign Cleaner MCP server yourself or use the hosted gateway.
Connect Campaign Cleaner to production AI agents
See how Metorial gives your team governed access to Campaign Cleaner, with tracing and security controls built in.