Skip to main content

Claude Code + Nitrosend MCP

Claude Code is Anthropic’s CLI tool for working with Claude in your terminal. Connect Nitrosend via MCP and Claude Code becomes a full email marketing command center.

What is MCP?

MCP (Model Context Protocol) is an open standard that lets AI tools connect to external services. When you add Nitrosend as an MCP server to Claude Code, Claude gets native access to 20 email marketing tools — no API wrappers, no middleware, no boilerplate.

Setup

Step 1: Add the MCP server

Run this single command in your terminal:
claude mcp add --transport http nitrosend https://api.nitrosend.com/mcp
That’s it — no API key needed.

Step 2: Sign in

Start a Claude Code session and use any Nitrosend tool. Claude will open a sign-in window automatically. Log in or create a free account.

Step 3: Verify the connection

Ask Claude:
What's my Nitrosend account status?
Claude will call the nitro_get_status tool and show your account health, onboarding progress, and recommendations.

How MCP works

Claude Code connects directly to the Nitrosend MCP endpoint over HTTP:
  1. Claude Code sends tool calls via MCP protocol to api.nitrosend.com/mcp
  2. Authentication is handled via OAuth — you sign in once and the token is managed automatically
  3. Structured results come back to Claude with full context
No data is stored locally. All state lives in your Nitrosend account.

MCP tools available

Once connected, Claude Code has access to these tools:
ToolWhat it does
nitro_get_statusAccount health, onboarding, and recommendations
nitro_compose_emailCreate, update, or clone email templates
nitro_compose_campaignCreate email or SMS campaigns with audience targeting
nitro_compose_flowBuild automation flows with triggers, steps, and branches
nitro_send_messageSend a single transactional email or SMS immediately
nitro_manage_audienceCreate contacts, manage lists, record events, tag contacts
nitro_import_contactsBulk import contacts (up to 100 inline)
nitro_search_contactsSearch contacts by email, name, or phone
nitro_queryQuery campaigns, flows, templates, segments, messages
nitro_define_segmentCreate dynamic segments with filters
nitro_set_brandSet up brand identity — colors, fonts, logo, voice
nitro_set_memoryRead and update your AI memory document
nitro_manage_domainsAdd, verify, and manage sending domains
nitro_control_deliveryApprove, send, pause, or schedule campaigns and flows
nitro_review_and_testReview emails (validation, spam scoring) and send test emails
nitro_configure_accountSender defaults and test email recipients
nitro_get_insightsEmail analytics with trends and benchmarks
nitro_manage_billingPlan status and upgrades
nitro_configure_providersBYO email provider (Mailgun, SES)
nitro_request_supportSubmit a support request to the Nitrosend team

MCP resources

Claude can also read live resources for deeper context:
ResourceWhat it provides
nitro://guidePlatform vocabulary, workflows, and tool descriptions
nitro://schemaEmail component types, flow step types, filter definitions
nitro://brandYour brand identity — colors, fonts, tone, logo
nitro://accountCurrent account status, tier, and limits
nitro://configSender defaults and verified domains

Example workflows

Create a welcome flow

Create a welcome email flow. When a new contact is added, send a welcome 
email immediately, wait 3 days, then send a follow-up with our top 
recommendations.

Send a campaign

Create a campaign called "March Newsletter" and send it to my subscriber list. 
Use my brand colors and include a section about our new features.

Check performance

Show me insights for my last campaign. How did it compare to benchmarks?

Set up brand and memory

Set up my brand from https://mysite.com and then update my AI memory with 
our Q1 marketing goals.

Scope-based configuration

Add the MCP server at different scopes depending on your needs:
# User scope — available in all Claude Code sessions (recommended)
claude mcp add --transport http -s user nitrosend https://api.nitrosend.com/mcp

# Project scope — only available in this directory
claude mcp add --transport http -s project nitrosend https://api.nitrosend.com/mcp

Troubleshooting

Make sure api.nitrosend.com is reachable from your network. Run curl -I https://api.nitrosend.com/mcp to check connectivity.
The sign-in window should open automatically on first use. If it doesn’t, try removing and re-adding the server: claude mcp remove nitrosend then re-run the add command.
If calls consistently time out, check your network connection. You can also try removing and re-adding the MCP server to refresh the session.
No API key or local dependencies required. Authentication is handled via OAuth sign-in when you first connect.