Model Context Protocol

Nonito MCP Server

Connect Claude, or any MCP client, to your Nonito workspace. Ask about flows, customers and campaigns in plain language, and build or change them with a preview before anything goes live.

Server URL
https://mcp.nonito.io/mcp
39 toolsStreamable HTTPOAuth 2.1 or API key
Ask your data

Flow revenue, lifecycle segments, weekly customer changes and campaign reports, the same numbers as the console.

Build in plain language

Draft flows, segments and email templates from a sentence, validated against the same rules as the app.

Preview before it ships

Writes default to a dry run. New flows are drafts, and large sends need a confirmation token.

Connect a client

The server speaks Streamable HTTP at one URL. Clients that support OAuth sign in through a consent screen; others send your Nonito API key as a bearer token. Your API key is under Settings → API in the Nonito app.

1

claude.ai and Claude Desktop

Open Settings → Connectors → Add custom connector, paste https://mcp.nonito.io/mcp, then sign in with your API key on the Nonito consent screen.

2

Claude Code and other clients

Add the server from the terminal or your client's MCP config, using one of the snippets below.

3

Check the connection

Ask “Use Nonito to tell me who I'm connected as.” Claude calls whoami and shows your workspace.

Configuration

claude mcp add --transport http nonito https://mcp.nonito.io/mcp \
  --header "Authorization: Bearer $NONITO_API_KEY"

Authentication

Two ways in. Both resolve to the same workspace and see the same data.

Recommended
OAuth 2.1
For claude.ai, Claude Desktop and any client with dynamic client registration. The client discovers the server, registers itself and opens a consent screen listing the scopes it asked for.
Simple
API key
Send Authorization: Bearer <NONITO_API_KEY> on every request. API keys always have full access, so keep them out of shared configs.

Discovery endpoints

PathPurpose
/.well-known/oauth-protected-resourceProtected-resource metadata (RFC 9728). Where a client starts OAuth.
/.well-known/oauth-authorization-serverAuthorization-server metadata (RFC 8414), including supported scopes.
/.well-known/mcp/server-card.jsonServer card with transport, URL and the live tool list.

Scopes

OAuth clients can ask for less than full access. A tool call without its scope is refused with 403 insufficient_scope and a challenge naming what to request.

ScopeGrants
flows:readList and get flows, flow performance, validate_flow
flows:writeCreate, update, enable and disable flows
customers:readContacts, customer profiles, segments, Nonito Pulse, segment fields, previews and suggestions
customers:writeCreate, update and delete segments
email:readBrand kit, templates, previews and validation, audience estimates, campaigns and reports
email:writeSave and import templates, upload email images
email:sendSchedule and cancel campaigns, send test emails
mcpFull access. API keys and clients that request no recognised scope get this.

Flows

flows:read · flows:write

  • list_flowsRead

    List automation flows, filtered by active or inactive.

  • get_flowRead

    One flow with its full graph of nodes and edges.

  • get_flow_performanceRead

    Messages sent per channel, unique users, orders, revenue and conversion rate per flow.

  • list_attributed_ordersRead

    Recent orders credited to a flow message, with send and order times. Needs customers:read too.

  • validate_flowRead

    Check a flow graph for errors and warnings without saving anything.

  • create_flowWrite

    Save a new flow as an inactive draft. It never starts sending on create.

  • update_flowWrite

    Rename, re-flag or edit a flow graph. Dry run first, with a before/after diff.

  • enable_flowWrite

    Turn a flow on. Refuses invalid graphs; previews audience size first.

  • disable_flowWrite

    Turn a flow off and report how many already-scheduled messages remain.

Customers & Pulse

customers:read

  • list_contactsRead

    Customers with lifetime spend, order count, AOV and first/last order dates.

  • search_contactsRead

    Find customers by email, phone or first name.

  • get_customer_profileRead

    Everything about one customer: KPIs, lifecycle stage, orders, flows entered, consent.

  • get_customer_segmentsRead

    The 11 Nonito Pulse lifecycle segments in 5 journey bands, with 7-day net change.

  • list_segment_customersRead

    The customers currently in one Pulse lifecycle segment.

  • get_customer_changesRead

    "Changes this week": who ordered again, came back, went late or quiet.

Segments

customers:read · customers:write

  • list_segmentsRead

    Audience segments with size, description and source.

  • get_segmentRead

    One segment: its kind, rule in plain English and phone/email sizes.

  • list_segment_fieldsRead

    Fields and operators a rule can use, with your workspace’s own values.

  • preview_segmentRead

    Test a rule: match count, reachability by channel and a masked sample.

  • suggest_segmentsRead

    Ready-made segments worth targeting, sized from your own customers.

  • create_segmentWrite

    Build a segment from an uploaded list or CSV, or generate one from a rule.

  • update_segmentWrite

    Change a segment’s name, description or rule. Dry run first.

  • delete_segmentWrite

    Delete a segment. Refused while a flow or unsent campaign uses it.

Email

email:read · email:write · email:send

  • get_brand_kitRead

    Your confirmed brand: logo, colour roles, fonts, socials and email sender.

  • validate_email_templateRead

    Check email HTML against Gmail, Apple Mail and Outlook rules and your brand kit.

  • preview_email_templateRead

    Render an approximate preview of an email in the panel.

  • list_email_templatesRead

    Saved templates with version and validation status.

  • get_email_templateRead

    Open one saved template, optionally with its HTML.

  • save_email_templateWrite

    Save validated HTML as a reusable template, versioned by slug.

  • import_email_templateWrite

    Bring in HTML, MJML or react-email JSX; it is cleaned, validated and saved.

  • upload_email_assetWrite

    Host an image and get back a public https URL and an <img> snippet.

  • estimate_email_audienceRead

    How many people in a segment an email would actually reach.

  • list_email_campaignsRead

    Email campaigns with status, segment, schedule and counters.

  • get_email_campaignRead

    One campaign by id or name.

  • get_email_campaign_reportRead

    Sent and failed counts, top failure reasons and opted-out recipients.

  • schedule_email_campaignSend

    Schedule a template to a segment. Dry run first; large sends need a confirmation token.

  • cancel_email_campaignSend

    Cancel a scheduled campaign or pause one that is already sending.

  • send_email_testSend

    Send a template to up to 5 test inboxes right now.

Account

no scope needed

  • whoamiRead

    Your workspace, profile and brand summary. A quick check that the connection works.

Safe writes

Every tool that changes something is built to show you the result before it happens.

  • Dry run by default. Flow, segment and campaign writes return a preview unless you pass dry_run: false.

  • Drafts first. create_flow always saves an inactive draft. Turning it on is a separate, previewed step.

  • Confirmation tokens. Email sends over 1,000 recipients, and segment changes that feed an active flow, must echo the token from their preview.

  • No lost edits. If someone changes the same flow or segment in the app between preview and apply, the apply is refused.

  • Honest about what’s queued. disable_flow tells you how many scheduled messages will still go out.

Resources

Reference material the server exposes for clients to read. These need no token.

URIContents
nonito://docs/guideHow to use the server well
nonito://docs/flow-referenceFlow node types and the rules a graph must follow
nonito://skills/email-templateThe email-template skill for building marketing emails
nonito://skills/email-template/gotchasEmail-client rendering pitfalls the validator checks for

Example prompts

Once connected, talk to Claude the way you'd brief a teammate.

Which of my flows made the most revenue, and what’s their conversion rate?

What changed in my customer base this week? Who went quiet?

Build a segment of customers who spent over 2,000 EGP but haven’t ordered in 90 days.

Draft a win-back flow for that segment: WhatsApp first, then email two days later.

Design a Black Friday email in our brand colours and send a test to me.

Schedule it to the VIP segment for Thursday 7pm Cairo time.

Errors

Auth errors come back as HTTP statuses; tool errors come back as a readable message the model can act on.

401Missing, invalid or expired token. The response points to the OAuth metadata so the client can sign in again.
403insufficient_scope: the token lacks this tool's scope. Reconnect and grant the scope named in the challenge.

Smoke test

json
// whoami response (trimmed)
{
  "nonitoId": "…",
  "profile": {
    "company_name": "Your Store",
    "currency": "EGP"
  },
  "brand": { "name": "Your Store", "confirmed": true }
}