Guides
MCP server
https://flockstack.io/mcp: you sign in to FlockStack and allow them, no key to copy. Claude Code, Codex and Cursor use an API key, at the level the work needs: start with send with approval, so sends wait for you. Each gets one tool per endpoint its level can run, with the same inputs, checks and errors.What is this for? Running a newsletter from an AI agent
https://flockstack.io/mcpChatGPT
- 1Go to Plugins (chatgpt.com/plugins), click + and pick Add custom MCP server.
- 2Name it FlockStack, enter https://flockstack.io/mcp as the server URL and pick OAuth, with no client ID or secret. If ChatGPT asks how to register, pick Client ID Metadata Document.
- 3Check I understand and want to continue, then click Create as a plugin.
- 4Install the plugin, sign in to FlockStack when ChatGPT asks and click Allow.
- 5In a chat, type @ and pick FlockStack.
Custom MCP servers are on ChatGPT on the web, for Business, Enterprise and Edu workspaces: on Business, admins and owners add them; on Enterprise and Edu, so can the members an admin allows. On Pro, ChatGPT only uses the read-only tools for now.
Claude
- 1Go to Customize › Connectors and click Add custom connector.
- 2Name it FlockStack and enter https://flockstack.io/mcp. If Claude asks how it identifies itself, keep Use Claude's published identity. Click Add.
- 3Click Connect, sign in to FlockStack and click Allow.
- 4The connector works in claude.ai, Claude Desktop and the mobile apps. Turn it on or off in a chat from + › Connectors.
On Team and Enterprise plans, an owner adds it once in Organization settings › Connectors › Add › Custom › Web, then each member clicks Connect under Customize › Connectors. The Free plan has one custom connector.
Grok Bot
- 1In a chat, ask Grok Bot to add the custom MCP server https://flockstack.io/mcp.
- 2Sign in to FlockStack when it asks, and click Allow.
Claude Code
claude mcp add --transport http --scope user flockstack https://flockstack.io/mcp \
--header "Authorization: Bearer $FLOCKSTACK_API_KEY"The shell puts the key in Claude Code's settings when the command runs. --scope user makes the server available in every project; run /mcp in Claude Code to check it's connected.
Codex
[mcp_servers.flockstack]
url = "https://flockstack.io/mcp"
bearer_token_env_var = "FLOCKSTACK_API_KEY"Codex reads the key from FLOCKSTACK_API_KEY each time it starts, so export it in your shell profile. The same server from the terminal: codex mcp add flockstack --url https://flockstack.io/mcp --bearer-token-env-var FLOCKSTACK_API_KEY
Cursor
{
"mcpServers": {
"flockstack": {
"url": "https://flockstack.io/mcp",
"headers": {
"Authorization": "Bearer ${env:FLOCKSTACK_API_KEY}"
}
}
}
}Cursor reads FLOCKSTACK_API_KEY from the environment it was opened in. If it isn't set there, put the key itself after Bearer, and keep the file out of version control.
Sends can't be undone
schedule_campaign, send_campaign, send_campaign_to_more, resend_campaign, resume_campaign are marked destructive, and their descriptions ask the assistant to check with you first. Most clients ask before running them. send_test_email sends only to the account owner or to up to 10 addresses you name, never to the list.
With a send with approval key or app, or on a newsletter set to ask before an agent sends, those tools don't send. They answer a result (not an error) with status: "approval_required" and a request ID, and nothing happens until you approve it on the Approvals page. The assistant reads the outcome with get_approval_status. See Agent safety.
Connected apps
An app you allow gets the access you pick on the consent page, at the levels of an API key (read only, drafts only, send with approval or full access), up to what it asked for, in your account only. The API keys page lists connected apps with when they were last used. Revoke one there and its tokens stop working right away; it has to ask you again to come back.
Tools
A signups only key sees add_contact alone. Each tool's inputs and outputs are in the API reference.
Comments
- get_reply_rulesRead-only
- list_commentsRead-only
- get_commentRead-only
- moderate_commentSafe to repeat
- set_comment_settingsSafe to repeat
- block_commenterSafe to repeat
- unblock_commenterSafe to repeat
- list_comment_reportsRead-only
Reports
- get_subscription_revenue_reportRead-only
- export_subscription_revenue_reportRead-only
- refresh_subscription_revenue
- get_growth_reportRead-only
- compare_issuesRead-only
- get_site_reportRead-only
- export_reportRead-only
Campaigns
- create_short_post_digestSafe to repeat
- get_issue_linksRead-only
- index_issue_linksSafe to repeat
- preview_campaign_as_readerRead-only
- set_campaign_authorSafe to repeat
- list_campaignsRead-only
- get_campaignRead-only
- get_campaign_reportRead-only
- list_link_clicksRead-only
- create_campaign
- update_campaignSafe to repeat
- delete_campaignCan't be undoneSafe to repeat
- duplicate_campaign
- send_test_email
- schedule_campaignCan't be undoneSafe to repeat
- unschedule_campaignSafe to repeat
- send_campaignCan't be undone
- undo_campaign_sendSafe to repeat
- send_campaign_to_moreCan't be undone
- resend_campaignCan't be undone
- pause_campaignSafe to repeat
- resume_campaignCan't be undone
- update_campaign_archiveSafe to repeat
- preview_campaign_cleanupRead-only
- preview_campaign_recipientsRead-only
- bulk_update_campaignsCan't be undoneSafe to repeat
- get_campaign_progressRead-only
- check_campaignRead-only
- list_campaign_versionsRead-only
- get_campaign_versionRead-only
- restore_campaign_version
- update_published_issueSafe to repeat
- get_content_calendarRead-only
Creator matches
- get_creator_match_settingsRead-only
- set_creator_match_settingsSafe to repeat
- get_creator_matchesRead-only
- list_creator_conversationsRead-only
- get_creator_conversationRead-only
- send_creator_introSafe to repeat
- reply_creator_introSafe to repeat
- set_creator_conversationSafe to repeat
Mailing lists
- list_mailing_listsRead-only
- upsert_mailing_list
- set_contact_listsSafe to repeat
Perks
Authors
- list_newsletter_authorsRead-only
- upsert_newsletter_author
- archive_newsletter_authorSafe to repeat
Readers
- get_reader_settingsRead-only
- update_reader_settingsSafe to repeat
- list_repliesRead-only
- archive_replySafe to repeat
Payments
- import_stripe_subscribersSafe to repeat
- get_payments_statusRead-only
- connect_payments
Team
- list_team_membersRead-only
- invite_team_member
- update_team_memberSafe to repeat
Agents
- get_best_send_timeRead-only
- bootstrap_newsletterSafe to repeat
- get_agent_briefRead-only
Fleet
- get_brand_fleetRead-only
- onboard_brand_domainsCan't be undone
- resume_newsletter_sendingSafe to repeat
Overview
- get_overviewRead-only
Newsletters
- list_newslettersRead-only
- get_newsletterRead-only
- create_newsletter
- update_newsletterSafe to repeat
- check_newsletter_slugRead-only
- send_welcome_test_email
- set_newsletter_mount
- check_newsletter_mountSafe to repeat
- rotate_newsletter_mount_token
- remove_newsletter_mountCan't be undoneSafe to repeat
- get_link_pageRead-only
- update_link_pageSafe to repeat
Website
- list_pagesRead-only
- get_pageRead-only
- create_page
- update_pageSafe to repeat
- delete_pageCan't be undoneSafe to repeat
- get_navigationRead-only
- update_navigationSafe to repeat
- list_issue_tagsRead-only
Content calendar
- create_content_itemSafe to repeat
- import_content_itemsSafe to repeat
- list_content_itemsRead-only
- get_content_itemRead-only
- update_content_itemSafe to repeat
- delete_content_itemCan't be undone
- set_content_slotSafe to repeat
- reorder_content_itemsSafe to repeat
- attach_content_assetSafe to repeat
- set_content_assetsSafe to repeat
- link_content_campaignSafe to repeat
- request_content_reviewSafe to repeat
- record_content_publicationSafe to repeat
- list_content_revisionsRead-only
- restore_content_revisionSafe to repeat
- get_content_planRead-only
- create_editorial_batchSafe to repeat
- list_editorial_batchesRead-only
- get_editorial_batchRead-only
- update_editorial_batchSafe to repeat
- delete_editorial_batchCan't be undone
- apply_editorial_patternSafe to repeat
- request_batch_reviewSafe to repeat
Feeds
- preview_feedRead-only
Series
- list_seriesRead-only
- create_series
- update_seriesSafe to repeat
- delete_seriesCan't be undoneSafe to repeat
- run_series
- list_series_runsRead-only
Briefings
- list_briefingsRead-only
- get_briefingRead-only
- create_briefing
- update_briefingSafe to repeat
- pause_briefingSafe to repeat
- resume_briefingSafe to repeat
- delete_briefingCan't be undoneSafe to repeat
- run_briefing
- list_briefing_runsRead-only
- get_briefing_runRead-only
- rate_briefing_storySafe to repeat
- add_ai_key
- list_ai_keysRead-only
- check_ai_key
- delete_ai_keyCan't be undoneSafe to repeat
Templates
- list_templatesRead-only
- get_templateRead-only
- create_template
- update_templateSafe to repeat
- delete_templateCan't be undoneSafe to repeat
Snippets
- list_snippetsRead-only
- create_snippet
- update_snippetSafe to repeat
- delete_snippetCan't be undoneSafe to repeat
Contacts
- list_contactsRead-only
- get_contactRead-only
- add_contact
- update_contact_statusCan't be undoneSafe to repeat
- delete_contactCan't be undoneSafe to repeat
- import_contactsCan't be undoneSafe to repeat
- export_contactsRead-only
- approve_held_signups
- reject_held_signupsCan't be undone
Forms
- list_formsRead-only
- get_formRead-only
- create_form
- update_formSafe to repeat
- delete_formCan't be undoneSafe to repeat
- get_popup_settingsRead-only
- update_popup_settingsSafe to repeat
- get_magic_linkRead-only
- rotate_magic_linkCan't be undone
Post import
- create_post_import
- start_post_importSafe to repeat
- get_post_importRead-only
- list_post_importsRead-only
Redirects
- list_redirectsRead-only
- add_redirect
- delete_redirectCan't be undoneSafe to repeat
- import_redirectsSafe to repeat
Referrals
- get_referral_settingsRead-only
- update_referral_settingsSafe to repeat
- list_referralsRead-only
- get_referral_leaderboardRead-only
- add_referral_codesSafe to repeat
- fulfill_referral_rewardsSafe to repeat
Recommendations
- list_recommendationsRead-only
- get_recommendation_statsRead-only
- search_recommendable_newslettersRead-only
- set_recommendation_settingsSafe to repeat
- add_recommendation
- update_recommendationSafe to repeat
- remove_recommendationCan't be undoneSafe to repeat
Audio versions
- list_audio_voicesRead-only
- get_audio_usageRead-only
- create_audio_version
- get_audio_versionRead-only
- update_audio_versionSafe to repeat
- delete_audio_versionCan't be undoneSafe to repeat
- get_audio_settingsRead-only
- update_audio_settingsSafe to repeat
Tags and fields
- list_tagsRead-only
- set_tag_colorSafe to repeat
- add_tagSafe to repeat
- remove_tagSafe to repeat
- delete_tagCan't be undoneSafe to repeat
- list_custom_fieldsRead-only
- create_custom_field
- update_custom_fieldSafe to repeat
- delete_custom_fieldCan't be undoneSafe to repeat
- set_contact_fieldSafe to repeat
- list_removalsRead-only
- retry_removalSafe to repeat
Segments
- list_segmentsRead-only
- get_segmentRead-only
- preview_segmentRead-only
- create_segment
- create_segment_snapshot
- update_segmentSafe to repeat
- delete_segmentCan't be undoneSafe to repeat
Polls and surveys
- list_pollsRead-only
- get_pollRead-only
- create_poll
- update_pollSafe to repeat
- delete_pollCan't be undoneSafe to repeat
- list_poll_votersRead-only
- list_surveysRead-only
- get_surveyRead-only
- create_survey
- update_surveySafe to repeat
- delete_surveyCan't be undoneSafe to repeat
- list_survey_responsesRead-only
- export_survey_responsesRead-only
Automations
- list_automationsRead-only
- get_automationRead-only
- create_automation
- update_automationSafe to repeat
- activate_automationCan't be undoneSafe to repeat
- pause_automationSafe to repeat
- delete_automationCan't be undoneSafe to repeat
- get_automation_reportRead-only
- enroll_contacts
- list_automation_templatesRead-only
- create_automation_from_template
Domains
- list_domainsRead-only
- add_domain
- check_domainSafe to repeat
- set_apex_websiteCan't be undone
- remove_domainCan't be undoneSafe to repeat
Paid subscriptions
- get_paid_tierRead-only
- set_paid_tierSafe to repeat
- get_paid_reportRead-only
Paid tiers
- list_paid_tiersRead-only
- create_paid_tier
- update_paid_tierSafe to repeat
- delete_paid_tierCan't be undoneSafe to repeat
- reorder_paid_tiersSafe to repeat
- list_supportersRead-only
- set_supporter_nameSafe to repeat
Pledges
- set_pledgesSafe to repeat
- get_pledge_reportRead-only
- list_pledgesRead-only
- cancel_pledgeCan't be undoneSafe to repeat
- start_pledge_chargingCan't be undone
- get_pledge_chargingRead-only
- stop_pledge_chargingCan't be undoneSafe to repeat
Offers
- create_offer
- list_offersRead-only
- get_offerRead-only
- update_offerSafe to repeat
- delete_offerCan't be undoneSafe to repeat
- set_launch_bannerSafe to repeat
Group subscriptions
- get_group_settingsRead-only
- set_group_subscriptionsSafe to repeat
- list_group_subscriptionsRead-only
- get_group_subscriptionRead-only
- refresh_group_subscriptionSafe to repeat
- create_group_checkoutSafe to repeat
- invite_group_seat
- revoke_group_seatCan't be undoneSafe to repeat
- send_group_manager_link
- list_group_invoicesRead-only
- open_group_billing_portal
Editor collaboration
- list_editor_collaboratorsRead-only
- list_editor_threadsRead-only
- create_editor_threadSafe to repeat
- reply_editor_threadSafe to repeat
- resolve_editor_threadSafe to repeat
- remove_editor_threadCan't be undoneSafe to repeat
Reader billing
- get_reader_retention_settingsRead-only
- set_reader_retention_settingsSafe to repeat
- refresh_reader_billingSafe to repeat
- schedule_reader_pauseSafe to repeat
- cancel_reader_pauseSafe to repeat
- resume_reader_subscriptionSafe to repeat
- accept_reader_save_offerSafe to repeat
- cancel_reader_subscriptionCan't be undoneSafe to repeat
- list_cancellation_responsesRead-only
Sponsorships
- prepare_sponsorship_blockSafe to repeat
- detach_sponsorship_bookingSafe to repeat
- get_sponsorship_reportRead-only
- get_sponsorship_settingsRead-only
- set_sponsorship_settingsSafe to repeat
- list_sponsorship_placementsRead-only
- save_sponsorship_placement
- list_sponsorship_slotsRead-only
- save_sponsorship_slotSafe to repeat
- list_sponsorship_bookingsRead-only
- get_sponsorship_bookingRead-only
- request_sponsorship
- accept_sponsorship_bookingSafe to repeat
- update_sponsorship_creativeSafe to repeat
- create_sponsorship_invoiceSafe to repeat
- refresh_sponsorship_invoiceSafe to repeat
- email_sponsorship_invoice
- email_sponsorship_manager
- cancel_sponsorship_bookingSafe to repeat
- upload_sponsorship_assetSafe to repeat
- list_sponsorship_assetsRead-only
- preview_sponsorship_assetRead-only
- remove_sponsorship_assetCan't be undone
Gifts
- set_giftsSafe to repeat
- list_giftsRead-only
- resend_gift
Gift links
- set_gift_linksSafe to repeat
- create_gift_link
- list_gift_linksRead-only
- revoke_gift_linkCan't be undoneSafe to repeat
Comps
- grant_comp_access
- revoke_comp_accessCan't be undoneSafe to repeat
- list_compsRead-only
Products
- create_product
- update_productSafe to repeat
- list_productsRead-only
- get_productRead-only
- archive_productSafe to repeat
- set_product_file
Orders
- list_ordersRead-only
- get_orderRead-only
- resend_order_email
Images
Media library
- list_mediaRead-only
- list_media_foldersRead-only
- move_mediaSafe to repeat
- rename_media_folderSafe to repeat
- search_stock_photosRead-only
- use_stock_photo
- search_gifsRead-only
AI writing
- rewrite_textSafe to repeat
- suggest_subject_linesSafe to repeat
- suggest_preview_textSafe to repeat
- draft_social_postsSafe to repeat
- get_ai_usageRead-only
API keys
- list_api_keysRead-only
- create_api_key
- revoke_api_keyCan't be undoneSafe to repeat
- list_connected_appsRead-only
- revoke_connected_appCan't be undoneSafe to repeat
Agent safety
- get_approval_statusRead-only
- list_approvalsRead-only
- list_agent_activityRead-only
Webhooks
- list_webhook_endpointsRead-only
- get_webhook_endpointRead-only
- create_webhook_endpoint
- update_webhook_endpointSafe to repeat
- delete_webhook_endpointCan't be undoneSafe to repeat
- rotate_webhook_secret
- send_test_webhook
- list_webhook_deliveriesRead-only
- resend_webhook_delivery
Billing
- get_billingRead-only
- change_plan
- set_extra_emails_limitSafe to repeat
- add_dedicated_ip
- set_sent_with_linkSafe to repeat
- open_billing_portal
Export
Protocol
The server is stateless: no sessions, every request carries a key or a token. It speaks the 2026-07-28 revision and answers clients on the 2025 revisions the same way. /api/mcp is the same server, for clients that want an /api path.
Keys start with mc_, or mc_eu_ for an account in the European Union, and only work at their own region's address.
OAuth follows the MCP authorization spec. A request without credentials gets a 401 pointing at /.well-known/oauth-protected-resource/mcp, whose authorization server is https://flockstack.io. Apps identify themselves with a client metadata document (Grok Bot, on Cursor's agents, registers instead), sign the user in with the authorization code flow and PKCE, and get tokens bound to https://flockstack.io/mcp with the flockstack:full scope, or a narrower one (flockstack:read, flockstack:drafts, flockstack:send for send with approval). Access tokens last an hour; refresh tokens rotate and keep the connection for 90 days after its last use.