AutoSend MCP
v0.1.3Connect to AutoSend email MCP server from OpenClaw using mcporter. Use for managing email campaigns, templates, contacts, and senders via AI.
AutoSend MCP Skill
Connect OpenClaw to AutoSend email platform via MCP using mcporter.
MCP URL: https://mcp.autosend.com/
Transport: Streamable HTTP + OAuth 2.0
Docs: https://docs.autosend.com/ai/mcp-server
Available Tools (19)
| Category | Tools |
|---|---|
| Lists & Segments | get_lists_and_segments |
| Templates | list_templates, search_templates, get_template, create_template, update_template, delete_template |
| Senders | list_senders, get_sender |
| Suppression Groups | list_suppression_groups, get_suppression_group |
| Campaigns | list_campaigns, get_campaign, create_campaign, update_campaign, delete_campaign, duplicate_campaign |
| Analytics | get_campaign_analytics, get_email_activity_analytics |
Guided Workflows
create-campaign— Step-by-step campaign creationcreate-template— Step-by-step template creation
Prerequisites
- AutoSend account (https://autosend.com)
Setup
1. Install mcporter
npm install -g mcporter
2. Add AutoSend server
mcporter config add autosend https://mcp.autosend.com/ --auth oauth
Or manually create config/mcporter.json:
{
"mcpServers": {
"autosend": {
"baseUrl": "https://mcp.autosend.com/",
"auth": "oauth",
"description": "AutoSend email MCP"
}
}
}
3. Authenticate
Option A: Desktop (has browser)
mcporter auth autosend
# Browser opens → Log in → Authorize → Done
Option B: Headless Server (human-in-the-loop)
On servers without a browser, follow these manual steps:
- Discover OAuth endpoints:
GET https://mcp.autosend.com/.well-known/oauth-authorization-server - Register a dynamic client: POST to the registration endpoint from step 1
- Build an authorization URL with PKCE (
code_challenge_method=S256) and open it in a browser on another machine - Authorize and copy the callback URL — the page won't load locally, but the URL contains the
codeandstateparameters - Exchange the code for tokens: POST to the token endpoint with the code and PKCE verifier
- Save tokens to
~/.mcporter/autosend/tokens.json
To refresh tokens later, POST to the token endpoint with grant_type=refresh_token.
See the MCP OAuth spec for full details.
4. Test Connection
mcporter call autosend.list_templates
Usage
# List templates
mcporter call autosend.list_templates
# Create template
mcporter call autosend.create_template \
templateName="Welcome Email" \
subject="Welcome!" \
emailTemplate="<html>..."
# List campaigns
mcporter call autosend.list_campaigns
# Get analytics
mcporter call autosend.get_email_activity_analytics
Token Management
Tokens are stored in ~/.mcporter/autosend/tokens.json (managed by mcporter).
# Re-authenticate (refreshes tokens automatically)
mcporter auth autosend
# Verify tokens work
mcporter call autosend.list_templates
Troubleshooting
| Issue | Solution |
|---|---|
| Token expired | Run mcporter auth autosend to re-authenticate |
| Invalid credentials | Re-run full OAuth flow with mcporter auth autosend |
| Connection timeout | Check network and token validity |
References
Version tags
latest
Runtime requirements
📧 Clawdis
Binsmcporter
Install
Node
Bins: mcporter
npm i -g mcporter