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
| 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 |
create-campaign — Step-by-step campaign creationcreate-template — Step-by-step template creationnpm install -g mcporter
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"
}
}
}
mcporter auth autosend
# Browser opens → Log in → Authorize → Done
On servers without a browser, follow these manual steps:
GET https://mcp.autosend.com/.well-known/oauth-authorization-servercode_challenge_method=S256) and open it in a browser on another machinecode and state parameters~/.mcporter/autosend/tokens.jsonTo refresh tokens later, POST to the token endpoint with grant_type=refresh_token.
See the MCP OAuth spec for full details.
mcporter call autosend.list_templates
# 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
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
| 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 |
共 1 个版本