Claude Code
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 21 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/mcpThat's it — no API key needed.
Step 2: Sign in
Start a Claude Code session and either ask Claude to use Nitrosend or run /mcp. Claude Code will open a Nitrosend sign-in flow or show you the login URL. 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:
- Claude Code sends tool calls via MCP protocol to
api.nitrosend.com/mcp - Authentication is handled via OAuth — you sign in once and Claude Code stores the token for you
- 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:
| Tool | What it does |
|---|---|
nitro_get_status | Account health, onboarding, and recommendations |
nitro_manage_template | Create, update, or clone reusable email templates |
nitro_compose_campaign | Create email or SMS campaigns with audience targeting |
nitro_compose_flow | Build automation flows with triggers, steps, and branches |
nitro_send_message | Send a single transactional email or SMS immediately |
nitro_manage_audience | Create contacts, manage lists, record events, tag contacts |
nitro_import_contacts | Bulk import contacts (up to 100 inline) |
nitro_search_contacts | Search contacts by email, name, or phone |
nitro_query | Query campaigns, flows, templates, segments, messages |
nitro_define_segment | Create dynamic segments with filters |
nitro_set_brand | Set up brand identity — colors, fonts, logo, voice |
nitro_set_memory | Read and update your AI memory document |
nitro_manage_domains | Add, verify, and manage sending domains |
nitro_control_delivery | Approve, send, pause, or schedule campaigns and flows |
nitro_review_delivery | Review email/SMS content and delivery readiness |
nitro_send_test_message | Send test email or SMS messages |
nitro_configure_account | Sender defaults and test email recipients |
nitro_get_insights | Email analytics with trends and benchmarks |
nitro_manage_billing | Plan status and upgrades |
nitro_configure_providers | BYO email provider (Mailgun, SES) |
nitro_request_support | Submit a support request to the Nitrosend team |
MCP resources
Claude can also read live resources for deeper context:
| Resource | What it provides |
|---|---|
nitro://guide | Platform vocabulary, workflows, and tool descriptions |
nitro://schema | Email component types, flow step types, filter definitions |
nitro://brand | Your brand identity — colors, fonts, tone, logo |
nitro://account | Current account status, tier, and limits |
nitro://config | Sender 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
# Local scope — private to your current project on this machine
claude mcp add --transport http -s local nitrosend https://api.nitrosend.com/mcp
# Project scope — shared with the project via .mcp.json
claude mcp add --transport http -s project nitrosend https://api.nitrosend.com/mcpTroubleshooting
Connection failed
Make sure api.nitrosend.com is reachable from your network. Run curl -I https://api.nitrosend.com/mcp to check connectivity.
Authentication failed
Run /mcp inside Claude Code to trigger the OAuth flow explicitly. If that still fails, remove and re-add the server: claude mcp remove nitrosend then re-run the add command.
Tool call timed out
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.
