MCP

MCP server

Ask Claude, ChatGPT or Cursor about your Sublaunch in plain words. Sublaunch's MCP server gives AI assistants the data and actions of the API, with your permission.

What it is

The Model Context Protocol is the open standard AI assistants use to call outside tools. Connect Sublaunch once and your assistant can count your new members, read your revenue, write and publish a post, or create a coupon or a course, right in the chat. It only sees the Sublaunch you connect, and the rules of the API apply, Business and Premium plans with the same scopes.

The server speaks Streamable HTTP. Claude and ChatGPT sign in with OAuth, Cursor and Claude Code can send an API key as a bearer token.

Server URL
https://api.sublaunch.com/mcp

Setup

  1. In Claude, open Customize, then Connectors.
  2. Click Add, then Add custom connector.
  3. Name it Sublaunch and paste https://api.sublaunch.com/mcp as the server URL.
  4. Keep Use Claude's published identity as the OAuth client, then click Add.
  5. Click Connect, sign in to Sublaunch and pick the Sublaunch.

In a chat, turn Sublaunch on from the + menu, under Connectors. Claude Desktop and the mobile apps use the same connectors as your Claude account, nothing more to set up.

On Team and Enterprise, an owner adds Sublaunch in Organization settings, Connectors, then each member clicks Connect. The Free plan of Claude allows one custom connector.

Other clients

Any client that speaks Streamable HTTP connects the same way, with the URL and an Authorization header. Try the server with the MCP Inspector.

Terminal
npx @modelcontextprotocol/inspector --cli https://api.sublaunch.com/mcp \
  --transport http \
  --header "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  --method tools/list

Several Sublaunches

A connection is for one Sublaunch. To work on several at once, add Sublaunch once for each Sublaunch, each with its own server URL, https://api.sublaunch.com/mcp/ and a name you choose, like https://api.sublaunch.com/mcp/alphadesk and https://api.sublaunch.com/mcp/julien. The name is only a label of up to 40 letters, digits, - and _.

Connect each one and pick its Sublaunch's consent page. It lists your own Sublaunches and the ones where you are a team member whose role edits Settings. If the Sublaunches are on different Sublaunch logins, sign in to the right one before you connect.

Each connection reads and acts on its own Sublaunch only, and tells the assistant which Sublaunch it is, so a post always goes up in the Sublaunch you asked for. Name each connector after its Sublaunch, like Sublaunch Alpha Desk, to tell them apart in the chat.

Tools

The server has 75 tools, one for each thing the API does. Read tools only read. Write tools change your Sublaunch, so they need the write scope, and their descriptions tell the assistant to check with you before it publishes or deletes anything.

Click an endpoint's MCP tag in the API reference to land on its tool.

No tool charges, refunds or pays anyone, by design. Payments happen on the Sublaunch's checkout and in its Stripe account.

Sublaunch

  • get_sublaunchread scope
    The Sublaunch of the connection, its link, tiers, prices, categories and the owner's plan. AI apps call it first.
    No arguments
  • update_sublaunchwrite scope
    Changes the Sublaunch's name, summary, color, logo or cover in its draft.
    Optionalnamesummarycolorlogo_urlcover_url
  • get_sublaunch_draftread scope
    What the draft changes that members don't see yet.
    No arguments
  • publish_sublaunchwrite scope
    Publishes the draft. Members see every change at once and new prices go on sale.
    No arguments
  • discard_sublaunch_draftwrite scope
    Drops every change of the draft. It cannot be undone.
    No arguments
  • get_settingsread scope
    The Sublaunch's settings, language, contact email, indexing, checkout fields and limited spots.
    No arguments
  • update_settingswrite scope
    Changes the Sublaunch's settings in its draft.
    Optionallanguagecontact_emailallow_indexingcollect_addresscollect_phone_numbermust_accept_termslimited_spots
  • update_aboutwrite scope
    Changes the About page's summary and FAQ in its draft.
    Optionalsummaryfaqfaq_title

Tiers

  • list_tiersread scope
    The tiers with their prices, members and trials, the draft included.
    No arguments
  • create_tierwrite scope
    Adds a tier in the draft. Its prices come with create_price.
    Requiredname
  • update_tierwrite scope
    Renames a tier in the draft.
    Requiredtier_idname
  • delete_tierwrite scope
    Removes a tier nobody ever joined, with its prices, in the draft.
    Requiredtier_id
  • create_pricewrite scope
    Adds a price to a tier in the draft. It goes on sale once published.
    Requiredtier_idamountinterval
    Optionaltrial_daysdefault
  • update_pricewrite scope
    Changes a price in the draft, or archives it to stop selling it.
    Requiredprice_id
    Optionalamounttrial_daysdefaulthiddenstatus
  • delete_pricewrite scope
    Removes a price nobody ever bought, in the draft.
    Requiredprice_id

Accesses

  • list_accessesread scope
    What the tiers open besides courses, connected or not, live or only in the draft.
    No arguments
  • create_accesswrite scope
    Adds a link, a PDF or a file to what the tiers open, in the draft.
    Requiredtypetitleurl
    Optionalfile_namedescriptiontier_ids
  • update_accesswrite scope
    Changes an access's name, description, link or tiers, in the draft.
    Requiredaccess_id
    Optionaltitledescriptionurltier_ids
  • delete_accesswrite scope
    Removes an access in the draft.
    Requiredaccess_id

Pages

  • list_pagesread scope
    The Sublaunch's pages with their visits, leads and clicks.
    No arguments
  • get_pageread scope
    One page by its ID or slug, with its words.
    Requiredpage
  • create_pagewrite scope
    Creates a blank page, a draft.
    Requiredname
    Optionalslugseo
  • update_pagewrite scope
    Changes a page's name, slug or SEO.
    Requiredpage_id
    Optionalnameslugseo
  • publish_pagewrite scope
    Puts a page online in the draft.
    Requiredpage_id
  • unpublish_pagewrite scope
    Takes a page offline in the draft.
    Requiredpage_id
  • delete_pagewrite scope
    Deletes a page with its stats.
    Requiredpage_id

Courses

  • list_coursesread scope
    The Classroom's courses, live or only in the draft.
    No arguments
  • get_courseread scope
    One course with its modules and lessons' names.
    Requiredcourse_id
  • create_coursewrite scope
    Creates a course with its modules and lessons' names, shown once the draft is published.
    Requiredname
    Optionaldescriptioncover_urlmodulestier_ids
  • update_coursewrite scope
    Changes a course's name, description, cover or tiers, in the draft.
    Requiredcourse_id
    Optionalnamedescriptioncover_urltier_ids
  • delete_coursewrite scope
    Deletes a course at once. It cannot be undone.
    Requiredcourse_id
  • list_studentsread scope
    A course's students, newest first.
    Requiredcourse_id
    Optionalsearchlimitcursor
  • give_course_accesswrite scope
    Gives a course to an email by hand, with no membership.
    Requiredcourse_idemail
    Optionalnote
  • remove_course_accesswrite scope
    Takes back a course given by hand.
    Requiredcourse_idemail

Categories

  • list_categoriesread scope
    The Community's categories, with who posts, comments and reads in each.
    No arguments
  • create_categorywrite scope
    Adds a Community category in the draft.
    Requiredname
    Optionalwho_can_postwho_can_commentwho_can_viewtier_idssort
  • update_categorywrite scope
    Changes a Community category in the draft.
    Requiredcategory_id
    Optionalnamewho_can_postwho_can_commentwho_can_viewtier_idssort
  • delete_categorywrite scope
    Removes a Community category in the draft. Its posts stay.
    Requiredcategory_id

Posts

  • list_postsread scope
    The Community's posts with their counts, pinned first then the newest.
    Optionalcategory_idsortlimitcursor
  • get_postread scope
    One post with its text, media, poll and counts.
    Requiredpost_id
  • create_postwrite scope
    Publishes a post as the Sublaunch's creator, at once. Members get a notification.
    Requiredtitle
    Optionaltextcategory_idaccesspricemediaattachmentspoll
  • update_postwrite scope
    Changes a post. Its words change only while nobody reacted.
    Requiredpost_id
    Optionaltitletextcategory_idaccesspricemediaattachmentspollcomments_off
  • delete_postwrite scope
    Deletes a post with its comments.
    Requiredpost_id
  • pin_postwrite scope
    Pins a post at the top of the feed, or unpins it.
    Requiredpost_id
    Optionalpinned
  • list_commentsread scope
    A post's comments and replies, oldest first.
    Requiredpost_id
    Optionallimitcursor
  • create_commentwrite scope
    Comments a post or replies to a comment as the Sublaunch's creator, at once.
    Requiredpost_idtext
    Optionalparent_id
  • delete_commentwrite scope
    Deletes a comment with its replies.
    Requiredcomment_id

Coupons

  • list_couponsread scope
    The Sublaunch's coupons with their uses.
    No arguments
  • create_couponwrite scope
    Creates a coupon in the draft.
    Requiredcodetypevalue
    Optionaldurationusage_limitexcluded_price_idscheckout_onlyincludes_postsstatus
  • update_couponwrite scope
    Changes a coupon in the draft.
    Requiredcoupon_id
    Optionalvaluedurationusage_limitexcluded_price_idscheckout_onlyincludes_postsstatus
  • delete_couponwrite scope
    Deletes a coupon in the draft.
    Requiredcoupon_id

Members

  • list_membersread scope
    Members with the filters of List members, like the active members of one tier.
    Optionalstatustier_idemailsinceuntillimitcursor
  • get_memberread scope
    One member with their tier, price and status.
    Requiredmember_id

Payments

  • list_paymentsread scope
    Payments with your share after fees, newest first.
    Optionalmember_idsinceuntillimitcursor
  • get_revenueread scope
    A period's payments and the MRR curve of the Dashboard.
    Optionalsinceuntilscaletimezone

Leads

  • list_leadsread scope
    The emails your free lead magnets and forms collected.
    Optionalemailsinceuntillimitcursor

Affiliates

  • list_affiliatesread scope
    The affiliates with their commission and the members they brought.
    Optionalstatuslimitcursor
  • update_affiliatewrite scope
    Changes an affiliate's commission in the draft, or pauses them.
    Requiredaffiliate_id
    Optionalcommission_ratestatus
  • delete_affiliatewrite scope
    Removes an affiliate from the program.
    Requiredaffiliate_id
  • get_affiliate_programread scope
    The affiliate program and its invitation codes.
    No arguments

Broadcasts

  • list_broadcastsread scope
    The Sublaunch's emails with their stats.
    Optionalstatuslimitcursor
  • get_broadcastread scope
    One email with its stats.
    Requiredbroadcast_id
  • create_broadcastwrite scope
    Writes a new email as a draft, nothing sent.
    Requiredsubject
    Optionalpreview_textcontentaudiencecustom_emailstriggerscheduled_at
  • update_broadcastwrite scope
    Changes a draft or paused email.
    Requiredbroadcast_id
    Optionalsubjectpreview_textcontentaudiencecustom_emailstriggerscheduled_at
  • quote_broadcastread scope
    What sending an email costs, before sending it.
    Requiredbroadcast_id
  • send_broadcastwrite scope
    Sends a draft email now, or schedules it in the draft. Sending cannot be undone.
    Requiredbroadcast_id
  • pause_broadcastwrite scope
    Pauses a scheduled or automated email, or drops its scheduling from the draft.
    Requiredbroadcast_id
  • resume_broadcastwrite scope
    Turns a paused email back on in the draft.
    Requiredbroadcast_id

Notifications

  • list_notificationsread scope
    The owner's Community notifications and how many are unread.
    Optionallimitcursor
  • read_notificationswrite scope
    Marks every notification of the owner read.
    No arguments

Team

  • list_teamread scope
    The team with each member's role.
    No arguments
  • invite_team_memberwrite scope
    Invites someone to the team with a role.
    Requiredemailrole
    Optionalzones
  • update_team_memberwrite scope
    Changes a team member's role.
    Requiredmember_idrole
    Optionalzones
  • remove_team_memberwrite scope
    Removes someone from the team, with their API keys and AI app connections.
    Requiredmember_id

Arguments and results

  • A tool takes the parameters of its endpoint, with IDs named after their object, like tier_id, course_id, post_id, member_id or coupon_id. Lists page with limit and cursor, as in Pagination.
  • Changes to the page, the settings, prices, tiers, coupons, accesses, courses, the affiliate program, affiliates' commissions, pages online and scheduled emails go to the Sublaunch's draft. get_sublaunch_draft shows what members don't see yet, and publish_sublaunch puts it all live at once.
  • get_revenue counts from since up to until, both ISO 8601 times, the last 30 days by default, and draws the MRR curve by day, month or year with scale.
  • create_course takes the names of its modules and lessons. The lessons start empty, for the creator to write in the app, and the course reaches members at publish_sublaunch.
  • A wrong argument comes back as a tool error that names it. An API error comes back as a tool error with its code and the argument it is about.

Each tool answers with the JSON of its endpoint, as structured content and as text. The tools publish no output schema, the API reference describes every object.

On the Starter plan the server installs and lists its tools, and each call answers with a plan_required error the assistant can explain. Tool calls count toward the key's 120 requests a minute, shared with the REST API.

Example prompts

  • How many members joined my Sublaunch this week, and on which tier?
  • What was my revenue over the last 30 days, and how much of it is my share after fees?
  • List the members whose last payment failed, with their email.
  • Write a post for my Community announcing tonight's live session, show it to me, then publish it.
  • Create a WELCOME20 coupon for 20% off the first payment, for 100 uses at most.
  • Add a course called Options 101 with three lessons, then tell me what the draft changes before I publish it.
  • Which of my affiliates brought the most members, and what commission do they earn?

Security

  • The assistant only sees the Sublaunch you connected.
  • Revoke a connection or a key on the Sublaunch's API page in the app, at any time.
  • Give a read key to an assistant that only needs to read.
  • Assistants can be tricked by text they read. Check what a write tool is about to do before you allow it.