MCP
Run the Aurora SendCloud MCP server locally over stdio and configure Cursor, Windsurf, or Claude Desktop with npx.
Aurora SendCloud MCP Local Deployment Guide
Run the Aurora SendCloud MCP server locally over stdio and connect it to Cursor, Windsurf, or Claude Desktop with npx.
The server package is @aurorasendcloud/mcp-server.
- npm package:
@aurorasendcloud/mcp-server - npm page:
https://www.npmjs.com/package/@aurorasendcloud/mcp-server
What can it do?
This MCP server keeps the tool list small, but each tool supports richer operation modes and analysis output.
Use the MCP server to complete these tasks from your MCP client:
- Send email with
send_email - Check delivery status with
get_email_status - Review sending statistics with
get_send_statistics - Build chart-ready stats payloads with
get_send_statistics(include_chart=true) - Query account quota and basic account info with
get_account_quota
1. Set up your environment
- Install Node.js 18.17 or later.
- Get valid
api_userandapi_keycredentials. - Confirm your machine can reach the Aurora SendCloud API.
- Export the environment variables your MCP client should use:
export SENDCLOUD_API_USER="your_api_user"
export SENDCLOUD_API_KEY="your_api_key"
# Optional: region selector (default: sg)
# Supported: sg | us | hk
export SENDCLOUD_REGION="sg"
# Optional: custom base URL (highest priority, overrides SENDCLOUD_REGION)
export SENDCLOUD_BASE_URL="https://api.aurorasendcloud.com"Region mapping:
sg=>https://api.aurorasendcloud.comus=>https://api-us.aurorasendcloud.comhk=>https://api-hk.aurorasendcloud.com
2. Configure your MCP client
This server runs as a local stdio process. Configure a local command and args, and do not configure a remote url.
Update ~/.cursor/mcp.json:
{
"mcpServers": {
"aurorasendcloud": {
"command": "npx",
"args": ["-y", "@aurorasendcloud/mcp-server"],
"env": {
"SENDCLOUD_API_USER": "your_api_user",
"SENDCLOUD_API_KEY": "your_api_key",
"SENDCLOUD_REGION": "sg"
}
}
}
}3. Understand configuration priority
If you pass the same setting in more than one place, the higher item in each list takes precedence.
Auth parameter priority
- Tool call arguments (
api_user/api_key) - Environment variables (
SENDCLOUD_API_USER/SENDCLOUD_API_KEY)
Region and base URL priority
- Tool argument
base_url - Environment variable
SENDCLOUD_BASE_URL - Tool argument
region(sg/us/hk) - Environment variable
SENDCLOUD_REGION - Default region
sg
4. Validate the installation
- Restart your MCP client.
- Open a new chat.
- Run one of these test prompts:
- "Query weekly sending statistics (this_week)"
- "Check delivery status for a specific email_id"
- "Send a test email"
- "Query remaining account quota"
If the setup is correct, your client should expose the Aurora SendCloud tools and return a result instead of a configuration error.
You can also override the region per tool call by passing region: "us" (or sg / hk).
What does it look like in action?
Typical workflow:
- Send or schedule mail with
send_email(basic/template/calendar/task_status modes). - Check delivery and engagement status with
get_email_status(include_tracking=true). - Query trend data with
get_send_statistics(granularity=day|hour|invalid). - Generate chart-ready output with
get_send_statistics(include_chart=true). - Evaluate quota risk with
get_account_quota(include_health=true).
Use prompts like these when you test the server or show teammates what it can do:
- "Query weekly sending statistics (this_week)"
- "Use get_send_statistics for last_7_days with include_chart=true, metrics deliveredNum,bounceNum and chart_type=line"
- "Check delivery status for a specific email_id"
- "Send a test email"
- "Query remaining account quota"
Optional: Build locally for development
Run these commands only if you are contributing to the local MCP project in this repository:
cd /Users/sendcloud/Desktop/temp/mcpmd/aurorasendcloud-mcp
npm install
npm run buildTroubleshooting
The tools do not appear in your client
- Check your JSON syntax.
- Verify that
npxis available and that the package name is@aurorasendcloud/mcp-server. - Restart the MCP client after you update the configuration file.
Authentication failed
- Verify
SENDCLOUD_API_USERandSENDCLOUD_API_KEY. - If you pass
api_userorapi_keyin a tool call, remember that those values override the environment variables.
API request failed
- Check network connectivity to the Aurora SendCloud API.
- Verify
SENDCLOUD_REGIONandSENDCLOUD_BASE_URL. - If you set
SENDCLOUD_BASE_URL, remember that it overridesSENDCLOUD_REGION.
Updated about 1 hour ago
