Kit MCP Server & CLI README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Kit MCP Server & CLI listing page.

Kit

Kit MCP Server & CLI

npm CI License YouTube X LinkedIn

Kit MCP server and CLI for Claude Code, Codex and AI agents. 85 tools: 38 reads and 47 writes for account data, newsletters, subscribers, tags, forms, sequences, snippets, statistics, bulk work and webhooks.

One package gives you two ways in: kit-mcp connects the tools to your AI app, and kit-cli makes the same tools shell commands. Claude Desktop also has a bundled .mcpb extension. The 40 audience, delivery, deletion and signing-secret operations require explicit confirmation.

Built and maintained by Navid Moazzez. Built on Slipway, which turns one definition of each tool into the MCP server and the CLI. The installation guide is in INSTALL.md; the full matching navid.me guide is saved as a CMS draft and awaits publication.

Illustrated Kit workflow in the same terminal component used on navid.me

The terminal illustrates shipped tool names and the requested draft workflow. It is a presentation preview, not a live account transcript.

You need a Kit v4 API key or an authorized OAuth session. Some endpoints require OAuth; account permissions and plan eligibility still apply. The wrapper is free software under AGPL-3.0-or-later. Kit service charges remain separate. This is a community integration, not a Kit-endorsed product.

Kit already has an official account MCP with v4 reads and writes. This package adds a task CLI, private named accounts, bounded cursor aggregation, private token refresh and a desktop bundle. It does not claim more API coverage or measured token savings over the official server.

Validation: build, typecheck, 40 behavior/CLI checks, public npm installation and desktop protocol discovery are checked. Live account writes and actual desktop GUI installation remain unverified; section 7 has the measured token costs.

Two ways to use it

Command line

Terminal
npm install -g @thenavidm/kit-mcp-cli@latest
kit-cli
kit-cli list-broadcasts --help
kit-cli schema create-broadcast
kit-cli get-account --agent
kit-cli list-broadcasts --per-page 5 --agent
kit-cli create-broadcast --subject "This week's creator notes" --content '<p>Your newsletter content.</p>' --confirm --agent

Configure credentials privately first. Draft creation defaults private and unscheduled. --confirm authorizes the requested operation; --agent and --yes never bypass that guard.

MCP server, for your AI app

Terminal
claude mcp add --scope user kit -- npx -y @thenavidm/kit-mcp-cli@latest

Then ask: "Draft my next newsletter privately. Show me the draft and leave it unscheduled." Confirm only the requested account action.

All client configurations and operating-system steps are in INSTALL.md.

Which one

Where you workWhat to use
Claude Code, Codex, Cursor or another agent with a terminalMCP, CLI or both
Claude Desktop chatThe local MCP server or desktop extension
Scripts, cron or CICLI commands, or MCP through an MCP client
A web client that accepts only a remote MCP URLKit's official hosted MCP; this package exposes local stdio

Features

CapabilityCLI commandMCP tool
Account and growthkit-cli get-account / get-growth-statsget_account / get_growth_stats
Recent newsletterskit-cli list-broadcastslist_broadcasts
Draft and schedulekit-cli create-broadcast / update-broadcastcreate_broadcast / update_broadcast
Newsletter statisticskit-cli get-broadcast-stats / get-broadcast-clicksget_broadcast_stats / get_broadcast_clicks
Subscriber lookupkit-cli search-subscriberssearch_subscribers
Subscribers and tagskit-cli list-subscribers / list-tags / tag-subscriberlist_subscribers / list_tags / tag_subscriber
Sequenceskit-cli list-sequenceslist_sequences
Templateskit-cli list-email-templateslist_email_templates
Signed webhook endpointskit-cli create-webhook-endpointcreate_webhook_endpoint
Private named accountskit-cli list-accountslist_accounts
Diagnose setupkit-cli doctorCLI utility

Contents

NumberSectionWhat it covers
1What you can ask itPractical prompts, coverage and validation
2Quick installInstall, discover and authenticate
3Set up Kit accessAPI keys, OAuth and revocation
4Connect your clientEvery client and desktop route
5Check it worksDoctor and the first account read
6Output, flags and exit codesScripts, JSON and nested bodies
7MCP or CLI and token costSurface choices and measurement
8Every tool and argumentAll 85 tools and their arguments
9Newsletter and subscriber workflowsDraft, review, schedule and manage audiences
10Pagination, bulk work and webhooksCursors, asynchronous jobs and private secrets
11Several private accountsAccount selection and isolation
12Writing safelyConfirmation, read-only and retries
13How it worksShared handlers, schemas and development
14Your dataCredentials, local files and privacy
15Environment variablesCredentials, safety and tuning
16Updates and removalnpm, desktop, disconnecting and migration
17TroubleshootingSymptoms and fixes
18API coverage and comparisonsOfficial and community alternatives
19VersionsComponent versions, releases and history
20FAQCommon questions

1. What you can ask it

  • Show my latest five newsletters and their statistics.
  • Draft my next newsletter privately and leave it unscheduled.
  • Find this subscriber by exact email and show their tags.
  • Read the current audience before applying the tag I requested.
  • List available sequences and templates.
  • Create the requested signed webhook and save its signing secret privately.

The pinned official API v4 snapshot contains 83 operations. This server exposes each one, plus list_accounts and the search_subscribers compatibility alias. The snapshot source, date, hash and reviewed corrections are in api-source.json.

AreaExamples
AccountIdentity, creator profile, growth statistics, email statistics and colors
BroadcastsDraft, read, update, delete, statistics and click breakdowns
SubscribersCreate, update, unsubscribe, filter, location, statistics and tags
Tags, forms, sequencesRead resources, subscribe to a form or sequence, tag and untag
Sequence emailsRead, create, edit and delete individual emails
Snippets and templatesReusable content CRUD supported by the API; list email templates
Posts and segmentsRead published posts and segment metadata
Purchases and bulkOAuth-only purchase endpoints and asynchronous bulk jobs
Webhook endpointsSigned endpoints, secret rotation and previous-secret revocation
Legacy webhooksOlder webhook API preserved separately

The API does not provide all Kit UI actions. This package does not promise visual automation editing, automatic duplication of a designed broadcast, a block editor, a webhook receiver, a hosted scheduler or a browser session. A successful bulk submission is not proof that its asynchronous job has completed.

What was actually checked

CheckStatus for 3.0.0
Official API snapshot83 operations, pinned on 2026-10-02
Real local MCP discovery85 tools, or 38 with read-only enabled
Behavior and shared CLI38 checks passed against controlled HTTP fixtures
TypeScriptBuild and typecheck passed
Production dependency auditZero findings at review time
Live account reads and writesPending a configured v4 key or authorized OAuth session
Actual Claude Desktop installationPending a GUI check; archive and protocol checked separately
Matched MCP versus CLI model-token taskMeasured against 2.0.3 in README section 7

Fixture tests check request construction and guards. They do not establish that a particular Kit account or email template accepts a live write. Release artifact checks are reported in the release notes when completed.

2. Quick install

Install Node.js 22 or newer, then:

Terminal
npm install -g @thenavidm/kit-mcp-cli@latest
kit-cli --version
kit-cli
kit-cli list-broadcasts --help
kit-cli schema create-broadcast
kit-cli login

Discovery, help and schemas work before authentication. login prints setup instructions. It does not open a browser, exchange an OAuth code or save credentials. Configure a v4 API key privately as KIT_API_KEY, then:

bash
kit-cli doctor
kit-cli doctor --network
kit-cli get-account --agent
kit-cli list-broadcasts --per-page 10 --agent --select broadcasts.id,broadcasts.subject,pagination

The local doctor checks configuration. The network doctor reads the default account and reports authentication success without returning account details. It never sends a newsletter or changes subscribers.

For a single invocation without a global install:

Terminal
npx -y --package @thenavidm/kit-mcp-cli@latest kit-cli tools

INSTALL.md covers Node/PATH on macOS, Windows and Linux, private account setup, every client, updates and removal. No .env file is loaded automatically.

3. Set up Kit access

Personal v4 API key

Open Kit's Developer settings, click Add a new key, name it and save the value privately when shown. Kit does not let you view that value again afterwards. Set KIT_API_KEY in your local shell or client settings. The server sends it in X-Kit-Api-Key, never a URL query string. Old v3 API secrets are not interchangeable.

Kit documents 120 requests over a rolling 60 seconds per API key and 600 for OAuth API access. The official hosted MCP separately documents 120/minute per token. This wrapper spaces calls per account by 550 ms for keys and 110 ms for OAuth. Other processes using the same credential also count against Kit's limits.

OAuth for full endpoint eligibility

Bulk and purchase endpoints in the tool table are marked OAuth-only. Create your own Kit app and enable API access, then implement the official OAuth authorization flow or Kit's Node example. Keep the app's secret on a private confidential backend. Use the callback URI exactly as registered, a cryptographically random state verified on callback, and HTTPS for a hosted callback.

The current authorization and token endpoints are https://api.kit.com/v4/oauth/authorize and https://api.kit.com/v4/oauth/token. There is no built-in OAuth consent service in this package. The old source's app.kit.com/oauth/token examples are obsolete. Follow Kit's current registered-app instructions; do not invent unsupported fine-grained OAuth scopes from operation-schema security labels.

A private token file can contain:

config.json
{
  "access_token": "YOUR_OAUTH_ACCESS_TOKEN",
  "refresh_token": "YOUR_OAUTH_REFRESH_TOKEN",
  "client_id": "YOUR_OWN_KIT_APP_CLIENT_ID",
  "client_secret": "YOUR_OWN_KIT_APP_CLIENT_SECRET",
  "created_at": 1790899200,
  "expires_in": 7200
}

These are placeholders; use actual issued expiry metadata. Point KIT_TOKENS_FILE at an absolute private path outside the checkout. It must be a regular JSON file, at most 64 KB; symlinks are refused. Restrict access to your OS user. If expiry metadata is available, refresh happens one minute before expiry. Concurrent refreshes within the same process are deduplicated. Updated tokens are written atomically with mode 0600. On Windows, protect the enclosing folder using user-only ACLs; POSIX mode bits are not a complete Windows access policy.

Alternatively set KIT_ACCESS_TOKEN, KIT_REFRESH_TOKEN, KIT_CLIENT_ID and KIT_CLIENT_SECRET privately. Without a token file, refresh state lasts only in that process. Without refresh credentials, renew an expired access token yourself. An OAuth access token takes precedence over an API key for the selected account.

4. Connect your client

The full commands and private configurations are in INSTALL.md. Common registrations, after privately configuring account credentials:

Terminal
claude mcp add --scope user kit -- npx -y @thenavidm/kit-mcp-cli@latest
claude mcp list
codex mcp add kit -- npx -y @thenavidm/kit-mcp-cli@latest
codex mcp list

Claude Desktop can install the .mcpb release or use manual JSON. Cursor, Windsurf and Gemini CLI use their user MCP settings; VS Code supports secure prompted inputs; Zed uses context_servers. Local Cline/Roo-style clients accept the same stdio command through their MCP setup UI. A local stdio process is not a public HTTP connector for ChatGPT on the web. Kit's official hosted MCP is the appropriate remote option there.

Desktop settings accept a sensitive API key or a private OAuth token-file path. API-key authentication cannot use OAuth-only bulk and purchase endpoints. Custom extension availability depends on your installed host and organization policy.

Let an agent guide setup

Help me install Kit MCP Server & CLI using INSTALL.md. Check Node and the binary, let me configure my account credentials privately, then run discovery and doctor --network. Do not send email or change subscribers during setup.

For shell agents, make SKILL.md available through the client's supported skills location. npm installation does not register the skill automatically.

5. Check it works

bash
kit-cli --version
kit-cli doctor
kit-cli doctor --network
kit-cli get-account --agent
kit-cli list-broadcasts --per-page 1 --agent

Local discovery works without credentials. The local doctor checks configuration; the network doctor reads account identity without returning private account details. It never sends email or changes subscribers. A successful read does not establish every endpoint's eligibility or template compatibility.

6. Output, flags and exit codes

Tool names become dashed commands: get_broadcast becomes kit-cli get-broadcast. Both exact underscore tool names and dashed forms are accepted. Argument names have dashed aliases: broadcast_id is --broadcast-id. Use help and schema to discover each operation's current input.

bash
kit-cli tools
kit-cli get-broadcast --help
kit-cli schema get-broadcast
kit-cli get-broadcast --broadcast-id 123 --agent
FlagBehavior
--helpCurrent schema-derived arguments and defaults
--jsonStructured JSON output
--compactCompact JSON on one line
--agentCompact JSON and no prompts; never confirms a write
--select a,b.cKeep selected fields; dotted paths descend through objects and arrays
--no-colorNo terminal colors
--no-inputNo interactive prompts
--yesAccepted for scripts written for other tools; never substitutes for --confirm
--confirmExplicit confirmation for the requested guarded operation
--account NAMESelect a configured local account on API tools
--payload JSONComplete request body as one JSON object
--payload-file PATHComplete request body from a local regular JSON file, at most 5 MB

Body flags and payload/payload_file are mutually exclusive. Path and query flags remain separate. Objects take JSON; array flags repeat once per array item. Do not pass an array to a flag that expects a single item:

bash
kit-cli list-subscribers --include tags --include stats --per-page 10 --agent
kit-cli create-broadcast --payload-file /absolute/private/path/newsletter.json --confirm --agent

Null is meaningful

A shell flag such as --send-at null is the string null, not JSON null. Use the complete body form to return a scheduled broadcast to draft:

bash
kit-cli update-broadcast --broadcast-id 123 --payload '{"send_at":null}' --confirm --agent

The same applies to nullable text, thumbnail and other nullable fields. In an MCP call, send an actual JSON null. Avoid mixing the nullable complete body with individual body flags.

Exit codes

CodeMeaningA script's next step
0SuccessUse the returned data
1Unexpected errorReport it with the command that caused it
2Usage, validation or safety refusal, an unknown command or a hidden writeCorrect inputs or obtain the requested authorization
3Not foundVerify the resource ID
4Authentication or permission failureCheck key, OAuth state or endpoint eligibility
5Other API or transport failureInspect account state before repeating a write
7Rate limitWait; mutating requests are not automatically retried
10Missing or invalid local configurationRepair private configuration

Errors are JSON on stderr. On success, field selection shapes output only; it does not limit Kit's original response or its API processing.

7. MCP or CLI and token cost

SurfaceHow it runsSuitable for
kit-mcpLocal stdio server launched by an MCP clientNatural language account work in a compatible AI app
kit-cliSchema-derived commands with machine-readable outputScripts, CI and agents with shell access
kit-3.0.0.mcpbLocal MCP server with bundled production dependenciesClaude Desktop custom extensions
Official Kit MCPHosted https://app.kit.com/mcp with Kit OAuthRemote connections and browser-only AI clients

Slipway builds the MCP server, over stdio or --http, and the CLI from each tool's one definition, with the same schemas, validation, handlers and safety guards. Separate handwritten CLI request logic cannot drift from the MCP path.

An MCP client may send tool schemas or deferred tool names into model context. A shell agent instead needs the skill, help, commands and results. Both consume tokens; neither surface guarantees lower total cost for every task.

kit-cli with no arguments lists commands. kit-mcp with no arguments starts stdio and does not print a banner. Avoid launching an interactive banner on an MCP server's stdout.

Measuring the context and task cost

Measured on 2026-10-05 against 2.0.3, with Claude Code 2.1.286 on Claude Opus 5.5 (one short prompt with and without the server connected, the difference read from the API's own usage figures) and Codex 0.159.3 on gpt-6.1-sol:

Cost2.0.33.0.0
Claude Code, every tool loaded, every message55,24246,158
Claude Code's default, tool search, every message1,5161,518
SKILL.md, read once1,4301,566
Codex over the CLI, one task, median of five84,49783,147
Codex over MCP, the same task, median of five77,33677,462

The task was "find the command that tags a subscriber, and the flags it requires". Every tool loaded costs less because parts that several tools repeated are written once. Over the CLI, every 3.0.0 run asked which, a 568-character answer, where every 2.0.3 run read the 6,245-character command list. Over MCP, Codex prints only part of a tool list this long and 3.0.0's part takes a few more tokens to say, so the median rose by 126, while two 3.0.0 runs answered from a shorter printout, against one 2.0.3 run, and the average fell from 70,923 to 64,738. SKILL.md costs 136 more because it says how approval works over MCP and how which finds a command, and lists every exit code.

Tool-list bytes or characters divided by four are not API usage, and no other offering was measured.

8. Every tool and argument

The following catalog is generated from the actual tools/list result. Body-required fields are enforced within payload or individual body arguments at execution; path/query requirements appear in each input schema. schema <command> is the exact machine-readable reference. OAuth-only labels come from the pinned operation security definitions.

ToolAPIModeOAuth only
get_accountGET /v4/accountReadNo
list_colorsGET /v4/account/colorsReadNo
update_colorsPUT /v4/account/colorsWriteNo
get_creator_profileGET /v4/account/creator_profileReadNo
get_email_statsGET /v4/account/email_statsReadNo
get_growth_statsGET /v4/account/growth_statsReadNo
list_broadcastsGET /v4/broadcastsReadNo
create_broadcastPOST /v4/broadcastsWrite, confirmsNo
list_broadcast_statsGET /v4/broadcasts/statsReadNo
get_broadcast_clicksGET /v4/broadcasts/{broadcast_id}/clicksReadNo
get_broadcast_statsGET /v4/broadcasts/{broadcast_id}/statsReadNo
delete_broadcastDELETE /v4/broadcasts/{id}Write, confirmsNo
get_broadcastGET /v4/broadcasts/{id}ReadNo
update_broadcastPUT /v4/broadcasts/{id}Write, confirmsNo
bulk_create_custom_fieldsPOST /v4/bulk/custom_fieldsWriteYes
bulk_update_subscriber_custom_field_valuesPOST /v4/bulk/custom_fields/subscribersWrite, confirmsYes
list_custom_fieldsGET /v4/custom_fieldsReadNo
create_custom_fieldPOST /v4/custom_fieldsWriteNo
delete_custom_fieldDELETE /v4/custom_fields/{id}Write, confirmsNo
update_custom_fieldPUT /v4/custom_fields/{id}WriteNo
list_email_templatesGET /v4/email_templatesReadNo
bulk_add_subscribers_to_formsPOST /v4/bulk/forms/subscribersWrite, confirmsYes
list_formsGET /v4/formsReadNo
list_subscribers_for_formGET /v4/forms/{form_id}/subscribersReadNo
add_subscriber_to_formPOST /v4/forms/{form_id}/subscribersWrite, confirmsNo
add_subscriber_to_form_by_idPOST /v4/forms/{form_id}/subscribers/{id}Write, confirmsNo
list_postsGET /v4/postsReadNo
get_postGET /v4/posts/{id}ReadNo
list_purchasesGET /v4/purchasesReadYes
create_purchasePOST /v4/purchasesWrite, confirmsYes
get_purchaseGET /v4/purchases/{id}ReadYes
list_segmentsGET /v4/segmentsReadNo
list_sequence_emailsGET /v4/sequences/{sequence_id}/emailsReadNo
create_sequence_emailPOST /v4/sequences/{sequence_id}/emailsWrite, confirmsNo
delete_sequence_emailDELETE /v4/sequences/{sequence_id}/emails/{id}Write, confirmsNo
get_sequence_emailGET /v4/sequences/{sequence_id}/emails/{id}ReadNo
update_sequence_emailPUT /v4/sequences/{sequence_id}/emails/{id}Write, confirmsNo
list_sequencesGET /v4/sequencesReadNo
create_sequencePOST /v4/sequencesWrite, confirmsNo
delete_sequenceDELETE /v4/sequences/{id}Write, confirmsNo
get_sequenceGET /v4/sequences/{id}ReadNo
update_sequencePUT /v4/sequences/{id}Write, confirmsNo
list_subscribers_for_sequenceGET /v4/sequences/{sequence_id}/subscribersReadNo
add_subscriber_to_sequencePOST /v4/sequences/{sequence_id}/subscribersWrite, confirmsNo
add_subscriber_to_sequence_by_idPOST /v4/sequences/{sequence_id}/subscribers/{id}Write, confirmsNo
list_snippetsGET /v4/snippetsReadNo
create_snippetPOST /v4/snippetsWrite, confirmsNo
get_snippetGET /v4/snippets/{id}ReadNo
update_snippetPUT /v4/snippets/{id}Write, confirmsNo
bulk_create_subscribersPOST /v4/bulk/subscribersWrite, confirmsYes
list_subscribersGET /v4/subscribersReadNo
create_subscriberPOST /v4/subscribersWrite, confirmsNo
filter_subscribersPOST /v4/subscribers/filterReadNo
get_subscriberGET /v4/subscribers/{id}ReadNo
update_subscriberPUT /v4/subscribers/{id}Write, confirmsNo
unsubscribePOST /v4/subscribers/{id}/unsubscribeWrite, confirmsNo
delete_subscriber_locationDELETE /v4/subscribers/{subscriber_id}/locationWrite, confirmsNo
update_subscriber_locationPATCH /v4/subscribers/{subscriber_id}/locationWrite, confirmsNo
pin_subscriber_locationPOST /v4/subscribers/{subscriber_id}/locationWrite, confirmsNo
get_subscriber_statsGET /v4/subscribers/{subscriber_id}/statsReadNo
list_subscriber_tagsGET /v4/subscribers/{subscriber_id}/tagsReadNo
bulk_delete_tagsDELETE /v4/bulk/tagsWrite, confirmsYes
bulk_create_tagsPOST /v4/bulk/tagsWriteYes
bulk_remove_tags_from_subscribersDELETE /v4/bulk/tags/subscribersWrite, confirmsYes
bulk_tag_subscribersPOST /v4/bulk/tags/subscribersWrite, confirmsYes
list_tagsGET /v4/tagsReadNo
create_tagPOST /v4/tagsWriteNo
update_tag_namePUT /v4/tags/{id}WriteNo
untag_subscriber_by_emailDELETE /v4/tags/{tag_id}/subscribersWrite, confirmsNo
list_subscribers_for_tagGET /v4/tags/{tag_id}/subscribersReadNo
tag_subscriberPOST /v4/tags/{tag_id}/subscribersWrite, confirmsNo
untag_subscriberDELETE /v4/tags/{tag_id}/subscribers/{id}Write, confirmsNo
tag_subscriber_by_idPOST /v4/tags/{tag_id}/subscribers/{id}Write, confirmsNo
list_webhook_endpointsGET /v4/webhook_endpointsReadNo
create_webhook_endpointPOST /v4/webhook_endpointsWrite, confirmsNo
delete_webhook_endpointDELETE /v4/webhook_endpoints/{id}Write, confirmsNo
get_webhook_endpointGET /v4/webhook_endpoints/{id}ReadNo
update_webhook_endpointPATCH /v4/webhook_endpoints/{id}Write, confirmsNo
revoke_previous_webhook_secretPOST /v4/webhook_endpoints/{id}/revoke_previous_secretWrite, confirmsNo
rotate_webhook_secretPOST /v4/webhook_endpoints/{id}/rotate_secretWrite, confirmsNo
list_webhooksGET /v4/webhooksReadNo
create_webhookPOST /v4/webhooksWrite, confirmsNo
delete_webhookDELETE /v4/webhooks/{id}Write, confirmsNo
search_subscribersAlias for GET /v4/subscribers with exact emailReadNo
list_accountsLocal labels onlyReadNo

Shared input rules

Every API tool accepts optional account. Writes accept confirm; the 40 guarded operations require it to be true. Pagination controls are included only on tools whose schema supports cursor pagination. Body tools accept either their individual body fields or payload/payload_file. list_accounts accepts no arguments.

Complete arguments

get_account

Get current account. Read-only.

bash
kit-cli get-account --help
ArgumentTypeRequiredMeaning

list_colors

List colors. Read-only.

bash
kit-cli list-colors --help
ArgumentTypeRequiredMeaning

update_colors

Update colors. Reversible configuration write.

bash
kit-cli update-colors --help
ArgumentTypeRequiredMeaning
colorsarrayBodyAn array of up to 10 color hex codes

get_creator_profile

Get Creator Profile. Read-only.

bash
kit-cli get-creator-profile --help
ArgumentTypeRequiredMeaning

get_email_stats

Get email stats. Read-only.

bash
kit-cli get-email-stats --help
ArgumentTypeRequiredMeaning

get_growth_stats

Get growth stats. Read-only.

bash
kit-cli get-growth-stats --help
ArgumentTypeRequiredMeaning
endingstringNoSee the exact input schema.
startingstringNoSee the exact input schema.

list_broadcasts

List broadcasts. Read-only.

bash
kit-cli list-broadcasts --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
sent_afterschemaNoSee the exact input schema.
sent_beforeschemaNoSee the exact input schema.
slimbooleanNoSee the exact input schema.
statusstringNoValues: draft, scheduled, sending, completed, aborted.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_broadcast

Create a broadcast. Requires confirmation.

bash
kit-cli create-broadcast --help
ArgumentTypeRequiredMeaning
email_template_idintegerNoId of the email template to use. Uses the account's default template if not provided. 'Starting point' template is not supported.
email_addressstring/nullNoThe sending email address to use. Uses the account's sending email address if not provided.
contentstringNoThe HTML content of the email. On a Classic template this is the body, and the template adds the design around it when the broadcast is sent. On a Starting point template the design lives in the body, so this is the complete email: keep the wrappers, images, inline styles and Liquid tags, including {{ unsubscribe_url }} and {{ address }}. Without an unsubscribe link the broadcast can't be sent. A read returns the string that was written, so GET, PUT, GET round-trips, apart from Kit's own "Built with Kit" badge, which a Starting point write takes out of the body and re-applies when the email renders. A broadcast built in Kit's editor reads back as Kit's rendered HTML instead, and writing that back replaces its individually-editable blocks with one HTML block. Sending content in the same request as a Starting point email_template_id also needs allow_starting_point: true. Omit content and name a Starting point template in email_template_id to create the broadcast with that template's own design.
descriptionstringNoSee the exact input schema.
publicbooleanNotrue to publish this broadcast to the web. The broadcast will appear in a newsletter feed on your Creator Profile and Landing Pages.
published_atstringNoThe published timestamp to display in ISO8601 format. If no timezone is provided, UTC is assumed.
send_atstring/nullNoThe scheduled send time for this broadcast in ISO8601 format. If no timezone is provided, UTC is assumed.
thumbnail_altstring/nullNoSee the exact input schema.
thumbnail_urlstring/nullNoSee the exact input schema.
preview_textstringNoSee the exact input schema.
subjectstringBodySee the exact input schema.
subscriber_filterarrayNoFilters your subscribers. At this time, we only support using only one filter group type via the API (e.g. all, any, or none but no combinations). If nothing is provided, will default to all of your subscribers.
allow_starting_pointbooleanNoExplicitly allow replacing a Starting point template body, as described in Kit’s current content-field documentation. Review the complete rendered HTML first.

Body alternatives: content; email_template_id.

list_broadcast_stats

Get stats for a list of broadcasts. Read-only.

bash
kit-cli list-broadcast-stats --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
sent_afterschemaNoSee the exact input schema.
sent_beforeschemaNoSee the exact input schema.
statusstringNoValues: draft, scheduled, sending, completed, aborted.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

get_broadcast_clicks

Get link clicks for a broadcast. Read-only.

bash
kit-cli get-broadcast-clicks --help
ArgumentTypeRequiredMeaning
broadcast_idschemaYesPositive broadcast id.

get_broadcast_stats

Get stats for a broadcast. Read-only.

bash
kit-cli get-broadcast-stats --help
ArgumentTypeRequiredMeaning
broadcast_idschemaYesPositive broadcast id.

delete_broadcast

Delete a broadcast. Requires confirmation.

bash
kit-cli delete-broadcast --help
ArgumentTypeRequiredMeaning
broadcast_idschemaYesPositive broadcast id.

get_broadcast

Get a broadcast. Read-only.

bash
kit-cli get-broadcast --help
ArgumentTypeRequiredMeaning
broadcast_idschemaYesPositive broadcast id.

update_broadcast

Update a broadcast. Requires confirmation.

bash
kit-cli update-broadcast --help
ArgumentTypeRequiredMeaning
broadcast_idschemaYesPositive broadcast id.
email_template_idintegerNoId of the email template to use. Uses the account's default template if not provided. 'Starting point' template is not supported.
email_addressstring/nullNoThe sending email address to use. Uses the account's sending email address if not provided.
contentstringNoThe HTML content of the email. On a Classic template this is the body, and the template adds the design around it when the broadcast is sent. On a Starting point template the design lives in the body, so this is the complete email: keep the wrappers, images, inline styles and Liquid tags, including {{ unsubscribe_url }} and {{ address }}. Without an unsubscribe link the broadcast can't be sent. A read returns the string that was written, so GET, PUT, GET round-trips, apart from Kit's own "Built with Kit" badge, which a Starting point write takes out of the body and re-applies when the email renders. A broadcast built in Kit's editor reads back as Kit's rendered HTML instead, and writing that back replaces its individually-editable blocks with one HTML block. Sending content in the same request as a Starting point email_template_id also needs allow_starting_point: true.
descriptionstringNoSee the exact input schema.
publicbooleanNotrue to publish this broadcast to the web. The broadcast will appear in a newsletter feed on your Creator Profile and Landing Pages.
published_atstringNoThe published timestamp to display in ISO8601 format. If no timezone is provided, UTC is assumed.
send_atstring/nullNoThe scheduled send time for this broadcast in ISO8601 format. If no timezone is provided, UTC is assumed.
thumbnail_altstring/nullNoSee the exact input schema.
thumbnail_urlstring/nullNoSee the exact input schema.
preview_textstringNoSee the exact input schema.
subjectstringNoSee the exact input schema.
subscriber_filterarrayNoFilters your subscribers. At this time, we only support using only one filter group type via the API (e.g. all, any, or none but no combinations). If nothing is provided, will default to all of your subscribers.
allow_starting_pointbooleanNoExplicitly allow replacing a Starting point template body, as described in Kit’s current content-field documentation. Review the complete rendered HTML first.

bulk_create_custom_fields

Bulk create custom fields. OAuth-only. Reversible configuration write.

bash
kit-cli bulk-create-custom-fields --help
ArgumentTypeRequiredMeaning
custom_fieldsarrayBodySee the exact input schema.
callback_urlstring/nullNoSee the exact input schema.

bulk_update_subscriber_custom_field_values

Bulk update subscriber custom field values. OAuth-only. Requires confirmation.

bash
kit-cli bulk-update-subscriber-custom-field-values --help
ArgumentTypeRequiredMeaning
custom_field_valuesarrayBodySee the exact input schema.
callback_urlschemaBodySee the exact input schema.

list_custom_fields

List custom fields. Read-only.

bash
kit-cli list-custom-fields --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_custom_field

Create a custom field. Reversible configuration write.

bash
kit-cli create-custom-field --help
ArgumentTypeRequiredMeaning
labelstringBodySee the exact input schema.

delete_custom_field

Delete custom field. Requires confirmation.

bash
kit-cli delete-custom-field --help
ArgumentTypeRequiredMeaning
custom_field_idschemaYesPositive custom field id.

update_custom_field

Update a custom field. Reversible configuration write.

bash
kit-cli update-custom-field --help
ArgumentTypeRequiredMeaning
custom_field_idschemaYesPositive custom field id.
labelstringBodySee the exact input schema.

list_email_templates

List email templates. Read-only.

bash
kit-cli list-email-templates --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

bulk_add_subscribers_to_forms

Bulk add subscribers to forms. OAuth-only. Requires confirmation.

bash
kit-cli bulk-add-subscribers-to-forms --help
ArgumentTypeRequiredMeaning
additionsarrayBodySee the exact input schema.
callback_urlstring/nullNoSee the exact input schema.

list_forms

List forms. Read-only.

bash
kit-cli list-forms --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
statusstring/nullNoValues: active, archived, trashed, all.
typeschemaNoSee the exact input schema.
includestringNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

list_subscribers_for_form

List subscribers for a form. Read-only.

bash
kit-cli list-subscribers-for-form --help
ArgumentTypeRequiredMeaning
added_afterstring/nullNoSee the exact input schema.
added_beforestring/nullNoSee the exact input schema.
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
created_afterstring/nullNoSee the exact input schema.
created_beforestring/nullNoSee the exact input schema.
form_idschemaYesPositive form id.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
slimbooleanNoSee the exact input schema.
statusstringNoValues: active, inactive, bounced, complained, cancelled, all.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

add_subscriber_to_form

Add subscriber to form by email address. Requires confirmation.

bash
kit-cli add-subscriber-to-form --help
ArgumentTypeRequiredMeaning
form_idschemaYesPositive form id.
email_addressstringBodySee the exact input schema.
referrerstring/nullNoSee the exact input schema.

add_subscriber_to_form_by_id

Add subscriber to form. Requires confirmation.

bash
kit-cli add-subscriber-to-form-by-id --help
ArgumentTypeRequiredMeaning
form_idschemaYesPositive form id.
subscriber_idschemaYesPositive subscriber id.
referrerstringBodySee the exact input schema.

list_posts

List posts. Read-only.

bash
kit-cli list-posts --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_contentbooleanNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

get_post

Get a post. Read-only.

bash
kit-cli get-post --help
ArgumentTypeRequiredMeaning
post_idschemaYesPositive post id.

list_purchases

List purchases. OAuth-only. Read-only.

bash
kit-cli list-purchases --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_purchase

Create a purchase. OAuth-only. Requires confirmation.

bash
kit-cli create-purchase --help
ArgumentTypeRequiredMeaning
purchaseobjectBodySee the exact input schema.

get_purchase

Get a purchase. OAuth-only. Read-only.

bash
kit-cli get-purchase --help
ArgumentTypeRequiredMeaning
purchase_idschemaYesPositive purchase id.

list_segments

List segments. Read-only.

bash
kit-cli list-segments --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

list_sequence_emails

List sequence emails. Read-only.

bash
kit-cli list-sequence-emails --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_contentschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
sequence_idschemaYesPositive sequence id.
includestringNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_sequence_email

Create a sequence email. Requires confirmation.

bash
kit-cli create-sequence-email --help
ArgumentTypeRequiredMeaning
sequence_idschemaYesPositive sequence id.
subjectstringBodySubject line of the email
preview_textstring/nullNoPreview text shown in email clients before the email is opened
contentstring/nullNoHTML body content of the email
delay_valueintegerBodyNumber of days or hours to wait before sending this email after the previous one
delay_unitstringBodyUnit for the send delay. Use days for schedule-aware delivery, hours for a fixed hourly delay Values: days, hours.
email_template_idinteger/nullNoID of the email template to use for layout and styling
publishedbooleanNoWhether the email is active and will be sent to subscribers. Defaults to false (draft)
send_daysarray/nullNoDays of the week this email may be sent. Defaults to all 7 days (inherits the sequence schedule). Pass a subset to restrict delivery, or null to reset to all days
positioninteger/nullNoZero-based position of the email in the sequence. Assigned automatically after the last email if omitted

delete_sequence_email

Delete a sequence email. Requires confirmation.

bash
kit-cli delete-sequence-email --help
ArgumentTypeRequiredMeaning
email_idschemaYesPositive email id.
sequence_idschemaYesPositive sequence id.

get_sequence_email

Get a sequence email. Read-only.

bash
kit-cli get-sequence-email --help
ArgumentTypeRequiredMeaning
email_idschemaYesPositive email id.
sequence_idschemaYesPositive sequence id.
includestringNoSee the exact input schema.

update_sequence_email

Update a sequence email. Requires confirmation.

bash
kit-cli update-sequence-email --help
ArgumentTypeRequiredMeaning
email_idschemaYesPositive email id.
sequence_idschemaYesPositive sequence id.
subjectstringNoNew subject line for the email
preview_textstring/nullNoNew preview text shown in email clients before the email is opened
contentstring/nullNoNew HTML body content of the email
delay_valueintegerNoNew delay value
delay_unitstringNoNew delay unit. Use days for schedule-aware delivery, hours for a fixed hourly delay Values: days, hours.
email_template_idinteger/nullNoNew email template ID for layout and styling. Pass null to clear
publishedbooleanNoPass true to publish a draft email or false to unpublish it
send_daysarray/nullNoDays of the week this email may be sent. Pass a subset to restrict delivery, or null to reset to all days (inherits the sequence schedule)
positioninteger/nullNoNew zero-based position of the email in the sequence

list_sequences

List sequences. Read-only.

bash
kit-cli list-sequences --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
includestringNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_sequence

Create a sequence. Requires confirmation.

bash
kit-cli create-sequence --help
ArgumentTypeRequiredMeaning
namestringNoThe name of the sequence.
email_addressstringNoThe sending email address to use. Uses the account's sending email address if not provided.
email_template_idintegerNoId of the email template to use.
send_daysarrayNoThe days of the week to send the sequence on. Must be one of: monday, tuesday, wednesday, thursday, friday, saturday, sunday.
send_hourintegerNoThe hour of the day to send the sequence at. Must be an integer between 0 and 23.
time_zonestringNoThe timezone to use for the sequence. Must be a valid IANA timezone string.
activebooleanNotrue to activate the sequence, false to deactivate it.
repeatbooleanNoWhen true, subscribers can restart the sequence multiple times.
holdbooleanNoWhen true, subscribers added via Visual Automations stay in the sequence after receiving the last email.
exclude_subscriber_sourcesarrayNoThe subscriber sources to exclude from the sequence.

delete_sequence

Delete a sequence. Requires confirmation.

bash
kit-cli delete-sequence --help
ArgumentTypeRequiredMeaning
sequence_idschemaYesPositive sequence id.

get_sequence

Get a sequence. Read-only.

bash
kit-cli get-sequence --help
ArgumentTypeRequiredMeaning
sequence_idschemaYesPositive sequence id.
includestringNoSee the exact input schema.

update_sequence

Update a sequence. Requires confirmation.

bash
kit-cli update-sequence --help
ArgumentTypeRequiredMeaning
sequence_idschemaYesPositive sequence id.
namestringNoThe name of the sequence.
email_addressstringNoThe sending email address to use. Uses the account's sending email address if not provided.
email_template_idintegerNoId of the email template to use.
send_daysarrayNoThe days of the week to send the sequence on. Must be one of: monday, tuesday, wednesday, thursday, friday, saturday, sunday.
send_hourintegerNoThe hour of the day to send the sequence at. Must be an integer between 0 and 23.
time_zonestringNoThe timezone to use for the sequence. Must be a valid IANA timezone string.
activebooleanNotrue to activate the sequence, false to deactivate it.
repeatbooleanNoWhen true, subscribers can restart the sequence multiple times.
holdbooleanNoWhen true, subscribers added via Visual Automations stay in the sequence after receiving the last email.
exclude_subscriber_sourcesarrayNoThe subscriber sources to exclude from the sequence.

list_subscribers_for_sequence

List subscribers for a sequence. Read-only.

bash
kit-cli list-subscribers-for-sequence --help
ArgumentTypeRequiredMeaning
added_afterstring/nullNoSee the exact input schema.
added_beforestring/nullNoSee the exact input schema.
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
created_afterstring/nullNoSee the exact input schema.
created_beforestring/nullNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
sequence_idschemaYesPositive sequence id.
statusstringNoValues: active, inactive, bounced, complained, cancelled, all.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

add_subscriber_to_sequence

Add subscriber to sequence by email address. Requires confirmation.

bash
kit-cli add-subscriber-to-sequence --help
ArgumentTypeRequiredMeaning
sequence_idschemaYesPositive sequence id.
email_addressstringBodySee the exact input schema.

add_subscriber_to_sequence_by_id

Add subscriber to sequence. Requires confirmation.

bash
kit-cli add-subscriber-to-sequence-by-id --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.
sequence_idschemaYesPositive sequence id.

list_snippets

List snippets. Read-only.

bash
kit-cli list-snippets --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
archivedschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_contentbooleanNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
snippet_typeschemaNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_snippet

Create a snippet. Requires confirmation.

bash
kit-cli create-snippet --help
ArgumentTypeRequiredMeaning

get_snippet

Get a snippet. Read-only.

bash
kit-cli get-snippet --help
ArgumentTypeRequiredMeaning
snippet_idschemaYesPositive snippet id.

update_snippet

Update a snippet. Requires confirmation.

bash
kit-cli update-snippet --help
ArgumentTypeRequiredMeaning
snippet_idschemaYesPositive snippet id.

bulk_create_subscribers

Bulk create subscribers. OAuth-only. Requires confirmation.

bash
kit-cli bulk-create-subscribers --help
ArgumentTypeRequiredMeaning
subscribersarrayBodySee the exact input schema.
callback_urlstring/nullNoSee the exact input schema.

list_subscribers

List subscribers. Read-only.

bash
kit-cli list-subscribers --help
ArgumentTypeRequiredMeaning
afterstring/nullNoSee the exact input schema.
beforestring/nullNoSee the exact input schema.
created_afterstringNoSee the exact input schema.
created_beforestringNoSee the exact input schema.
email_addressstringNoSee the exact input schema.
includestringNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pagenumber/nullNoSee the exact input schema.
slimbooleanNoSee the exact input schema.
sort_fieldstringNoValues: id, created_at, updated_at, cancelled_at, canceled_at, engagement__sent, engagement__opens, engagement__clicks, engagement__open_rate, engagement__click_rate.
sort_orderstringNoValues: asc, desc.
statusstringNoValues: active, inactive, bounced, complained, cancelled, all.
updated_afterstringNoSee the exact input schema.
updated_beforestringNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_subscriber

Create a subscriber. Requires confirmation.

bash
kit-cli create-subscriber --help
ArgumentTypeRequiredMeaning
first_namestring/nullNoSee the exact input schema.
email_addressstringBodySee the exact input schema.
statestring/nullNoCreate subscriber in this state (active, bounced, cancelled, complained or inactive). Defaults to active. Values: active, cancelled, bounced, complained, inactive.
fieldsobjectNoCustom field values keyed by the custom field's key (e.g. last_name, not Last Name). Unknown keys are ignored and reported in the response warnings array.

filter_subscribers

Filter subscribers by engagement, sign-up date, state, and tags. Read-only.

bash
kit-cli filter-subscribers --help
ArgumentTypeRequiredMeaning
counting_modestringNoControls how engagement-filter count thresholds are tallied. raw (default) counts every event : five opens of the same email = five. unique_email counts distinct emails on which the action occurred : five opens of the same email = one. Applies to every engagement filter (opens, clicks, sent, delivered) in the request; ignored for other filter types. Values: raw, unique_email.
allarrayBodyArray of filter conditions where ALL must be met (AND logic)
includearrayNoOptional. Array of { type, ...config } objects naming additional fields to embed on each subscriber row. Valid types: attribution, tags, location, canceled_at, stats, custom_fields. The stats type accepts an optional range: { start, end } (YYYY-MM-DD dates, defaulting to the last 90 days). The custom_fields type adds a fields object with all account custom field values (null for fields the subscriber has not set).
sort_fieldstringNoField to order results by. Base columns (id, first_name, email_address, created_at) order by that subscriber attribute. engagement__ orders by an engagement stat over the trailing 90 days: counts (sent, opens, clicks) and rates (open_rate, click_rate); subscribers with no sends order as 0. location__distance orders by great-circle distance and requires a location filter in the same request : its latitude/longitude supply the origin, and subscribers without a primary location are excluded. Distance defaults to nearest-first (sort_order defaults to asc for this field); pass sort_order=desc for farthest-first. Values: id, first_name, email_address, created_at, engagement__sent, engagement__opens, engagement__clicks, engagement__open_rate, engagement__click_rate, location__distance. Default: "created_at".
sort_orderstringNoSort direction (default: desc). Values: asc, desc.

get_subscriber

Get a subscriber. Read-only.

bash
kit-cli get-subscriber --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.

update_subscriber

Update a subscriber. Requires confirmation.

bash
kit-cli update-subscriber --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.
first_namestring/nullNoSee the exact input schema.
email_addressstringBodySee the exact input schema.
fieldsobjectNoCustom field values keyed by the custom field's key (e.g. last_name, not Last Name). Unknown keys are ignored and reported in the response warnings array.

unsubscribe

Unsubscribe subscriber. Requires confirmation.

bash
kit-cli unsubscribe --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.

delete_subscriber_location

Delete a subscriber's location. Requires confirmation.

bash
kit-cli delete-subscriber-location --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.

update_subscriber_location

Update a subscriber's pinned location. Requires confirmation.

bash
kit-cli update-subscriber-location --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.
locationobjectBodySee the exact input schema.

pin_subscriber_location

Pin a subscriber's location. Requires confirmation.

bash
kit-cli pin-subscriber-location --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.
locationobjectBodySee the exact input schema.

get_subscriber_stats

List stats for a subscriber. Read-only.

bash
kit-cli get-subscriber-stats --help
ArgumentTypeRequiredMeaning
email_sent_afterstringNoSee the exact input schema.
email_sent_beforestringNoSee the exact input schema.
subscriber_idschemaYesPositive subscriber id.

list_subscriber_tags

List tags for a subscriber. Read-only.

bash
kit-cli list-subscriber-tags --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
subscriber_idschemaYesPositive subscriber id.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

bulk_delete_tags

Bulk delete tags. OAuth-only. Requires confirmation.

bash
kit-cli bulk-delete-tags --help
ArgumentTypeRequiredMeaning
tagsarrayBodyTags to delete, identified by id. Batches of 100 or fewer are processed synchronously (200); larger batches are queued and processed asynchronously (202).
callback_urlstring/nullNoOptional. When the batch is processed asynchronously (more than 100 tags), the results are POSTed to this URL on completion.

bulk_create_tags

Bulk create tags. OAuth-only. Reversible configuration write.

bash
kit-cli bulk-create-tags --help
ArgumentTypeRequiredMeaning
tagsarrayBodySee the exact input schema.
callback_urlstring/nullNoSee the exact input schema.

bulk_remove_tags_from_subscribers

Bulk remove tags from subscribers. OAuth-only. Requires confirmation.

bash
kit-cli bulk-remove-tags-from-subscribers --help
ArgumentTypeRequiredMeaning

bulk_tag_subscribers

Bulk tag subscribers. OAuth-only. Requires confirmation.

bash
kit-cli bulk-tag-subscribers --help
ArgumentTypeRequiredMeaning
taggingsarrayBodySee the exact input schema.
callback_urlstring/nullNoSee the exact input schema.

list_tags

List tags. Read-only.

bash
kit-cli list-tags --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
includestringNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_tag

Create a tag. Reversible configuration write.

bash
kit-cli create-tag --help
ArgumentTypeRequiredMeaning
namestringBodySee the exact input schema.

update_tag_name

Update tag name. Reversible configuration write.

bash
kit-cli update-tag-name --help
ArgumentTypeRequiredMeaning
tag_idschemaYesPositive tag id.
namestringBodySee the exact input schema.

untag_subscriber_by_email

Remove tag from subscriber by email address. Requires confirmation.

bash
kit-cli untag-subscriber-by-email --help
ArgumentTypeRequiredMeaning
tag_idschemaYesPositive tag id.
email_addressstringYesSee the exact input schema.

list_subscribers_for_tag

List subscribers for a tag. Read-only.

bash
kit-cli list-subscribers-for-tag --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
created_afterstring/nullNoSee the exact input schema.
created_beforestring/nullNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
slimbooleanNoSee the exact input schema.
statusstringNoValues: active, inactive, bounced, complained, cancelled, all.
tag_idschemaYesPositive tag id.
tagged_afterstring/nullNoSee the exact input schema.
tagged_beforestring/nullNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

tag_subscriber

Tag a subscriber by email address. Requires confirmation.

bash
kit-cli tag-subscriber --help
ArgumentTypeRequiredMeaning
tag_idschemaYesPositive tag id.
email_addressstringBodySee the exact input schema.

untag_subscriber

Remove tag from subscriber. Requires confirmation.

bash
kit-cli untag-subscriber --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.
tag_idschemaYesPositive tag id.

tag_subscriber_by_id

Tag a subscriber. Requires confirmation.

bash
kit-cli tag-subscriber-by-id --help
ArgumentTypeRequiredMeaning
subscriber_idschemaYesPositive subscriber id.
tag_idschemaYesPositive tag id.

list_webhook_endpoints

List webhook endpoints. Read-only.

bash
kit-cli list-webhook-endpoints --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
statusstringNoValues: active, disabled.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_webhook_endpoint

Create a webhook endpoint. Requires confirmation.

bash
kit-cli create-webhook-endpoint --help
ArgumentTypeRequiredMeaning
urlstringBodySee the exact input schema.
eventsarrayBodyEvent types this endpoint subscribes to (e.g. subscriber.created). On update, the list supplied here replaces the endpoint's full subscription list.
namestringNoSee the exact input schema.
descriptionstringNoSee the exact input schema.
secret_namestringYesNew private filename under KIT_PRIVATE_DIR. Required before creating/rotating a signing secret; never overwritten.

delete_webhook_endpoint

Delete a webhook endpoint. Requires confirmation.

bash
kit-cli delete-webhook-endpoint --help
ArgumentTypeRequiredMeaning
webhook_endpoint_idschemaYesPositive webhook endpoint id.

get_webhook_endpoint

Get a webhook endpoint. Read-only.

bash
kit-cli get-webhook-endpoint --help
ArgumentTypeRequiredMeaning
webhook_endpoint_idschemaYesPositive webhook endpoint id.

update_webhook_endpoint

Update a webhook endpoint. Requires confirmation.

bash
kit-cli update-webhook-endpoint --help
ArgumentTypeRequiredMeaning
webhook_endpoint_idschemaYesPositive webhook endpoint id.
namestringNoSee the exact input schema.
urlstringNoSee the exact input schema.
descriptionstringNoSee the exact input schema.
statusstringNoEndpoint status. One of: active, disabled. Values: active, disabled.
eventsarrayNoEvent types this endpoint subscribes to (e.g. subscriber.created). On update, the list supplied here replaces the endpoint's full subscription list.

revoke_previous_webhook_secret

Revoke the previous webhook endpoint secret. Requires confirmation.

bash
kit-cli revoke-previous-webhook-secret --help
ArgumentTypeRequiredMeaning
webhook_endpoint_idschemaYesPositive webhook endpoint id.

rotate_webhook_secret

Rotate a webhook endpoint secret. Requires confirmation.

bash
kit-cli rotate-webhook-secret --help
ArgumentTypeRequiredMeaning
webhook_endpoint_idschemaYesPositive webhook endpoint id.
forcebooleanNoRotating again while a previous rotation's overlap window is still open returns 409 (see the responses below). Pass true to rotate anyway, immediately expiring the older secret.
secret_namestringYesNew private filename under KIT_PRIVATE_DIR. Required before creating/rotating a signing secret; never overwritten.

list_webhooks

List webhooks. Read-only.

bash
kit-cli list-webhooks --help
ArgumentTypeRequiredMeaning
afterschemaNoSee the exact input schema.
beforeschemaNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pageschemaNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

create_webhook

Create a webhook. Requires confirmation.

bash
kit-cli create-webhook --help
ArgumentTypeRequiredMeaning
target_urlstringBodySee the exact input schema.
eventobjectBodySee the exact input schema.

delete_webhook

Delete a webhook. Requires confirmation.

bash
kit-cli delete-webhook --help
ArgumentTypeRequiredMeaning
webhook_idschemaYesPositive webhook id.

search_subscribers

Find subscribers by exact email. Read-only.

bash
kit-cli search-subscribers --help
ArgumentTypeRequiredMeaning
afterstring/nullNoSee the exact input schema.
beforestring/nullNoSee the exact input schema.
created_afterstringNoSee the exact input schema.
created_beforestringNoSee the exact input schema.
email_addressstringYesSee the exact input schema.
includestringNoSee the exact input schema.
include_total_countbooleanNoSee the exact input schema.
per_pagenumber/nullNoSee the exact input schema.
slimbooleanNoSee the exact input schema.
sort_fieldstringNoValues: id, created_at, updated_at, cancelled_at, canceled_at, engagement__sent, engagement__opens, engagement__clicks, engagement__open_rate, engagement__click_rate.
sort_orderstringNoValues: asc, desc.
statusstringNoValues: active, inactive, bounced, complained, cancelled, all.
updated_afterstringNoSee the exact input schema.
updated_beforestringNoSee the exact input schema.
all_pagesbooleanNoRead successive cursor pages, bounded by max_items (default 1000). Default false returns one API page.
max_itemsintegerNoMaximum records when all_pages=true. A capped result reports truncation and its continuation cursor.

list_accounts

List configured accounts. Read-only.

bash
kit-cli list-accounts --help

No arguments.

9. Newsletter and subscriber workflows

Draft privately, review, then schedule

A create call defaults to public:false and send_at:null. It creates a private unscheduled draft. It still requires confirmation because it changes account content and can accept delivery fields when explicitly supplied.

bash
kit-cli list-email-templates --agent
kit-cli create-broadcast --subject "This week's creator notes" --content '<p>Write the actual newsletter here.</p>' --confirm --agent --select broadcast.id,broadcast.subject,broadcast.send_at
kit-cli get-broadcast --broadcast-id BROADCAST_ID_FROM_RESULT --agent

Positive IDs are returned by Kit; replace illustrative markers with real IDs. For an existing draft, validate the intended audience and delivery time before the separate confirmed update:

bash
kit-cli update-broadcast --broadcast-id 123 --payload-file /absolute/private/path/schedule.json --confirm --agent

Your private schedule.json contains the ISO timestamp and the audience fields from the current schema, for example send_at with a timezone offset or UTC Z. published_at controls web publication metadata; it is not the email send time. Neither successful creation nor a local confirmation proves delivery. Read the broadcast and statistics afterwards.

Template HTML needs care

The API's content is HTML; it is not Kit's visual editor block tree. Preserve the full email wrapper and required Liquid unsubscribe/address markup when replacing content. Retrieve an existing example and inspect the selected template before updating. Do not replace a whole template with one paragraph if you need its existing branding and legal footer.

Kit's current OpenAPI prose contradicts itself around Starting point templates and required fields. This wrapper accepts a subject plus either content or email_template_id, allows nonempty partial broadcast updates, and exposes the documented allow_starting_point flag. These reviewed corrections are recorded with the snapshot. Starting point behavior remains unverified against a live account, so test with a private unscheduled draft and inspect it in Kit before any send.

Existing broadcasts and click reports

bash
kit-cli list-broadcasts --per-page 10 --agent --select broadcasts.id,broadcasts.subject,pagination
kit-cli get-broadcast-stats --broadcast-id 123 --agent
kit-cli get-broadcast-clicks --broadcast-id 123 --agent

The client does not automatically retry POST, PUT, PATCH or DELETE requests. A timeout can have an unknown outcome. Check the existing draft or scheduled broadcast before repeating a write; sending twice cannot be undone by a retry wrapper.

Subscriber workflows

Find an exact email or read a bounded list, then choose a requested audience change:

bash
kit-cli search-subscribers --email-address reader@example.com --agent
kit-cli list-tags --agent
kit-cli tag-subscriber --tag-id 123 --email-address reader@example.com --confirm --agent
kit-cli list-subscriber-tags --subscriber-id 456 --agent

The .example address is illustrative. Do not add or tag real people without the requested account action. Tagging and form/sequence enrollment may trigger existing Kit automations.

filter_subscribers is a read-only POST with nested all/any filters. Use its current schema and a private JSON body; it is not a v3 page-number endpoint. search_subscribers is an exact-email compatibility alias, not a fuzzy search engine.

Sequences now have their own create/update/delete endpoints and individual email operations. Read their schemas and current delay units before using them. Sequence enrollment can deliver email through existing automation, so it is confirmed even if the API call itself merely adds a subscriber.

Custom field and tag creation are reversible configuration writes, so they do not require --confirm; they still disappear in read-only mode. Deletions, audience changes, snippets that can affect email and purchases are guarded. The tool table labels every operation.

10. Pagination, bulk work and webhooks

Cursor pages

Kit v4 uses after, before, start_cursor and end_cursor, not old v3 numeric page arguments. Default per_page is 500, maximum 1000. Ask for a small page when you only need a sample:

bash
kit-cli list-subscribers --per-page 25 --include-total-count --agent
kit-cli list-subscribers --after END_CURSOR_FROM_RESULT --per-page 25 --agent
kit-cli list-subscribers --all-pages --max-items 1000 --agent

Do not supply both before and after. all_pages traverses forward and refuses before. It stops at max_items (default 1000, maximum 10000) or 100 pages, and refuses repeated cursors. It reduces each page size to the remaining cap so the returned end cursor does not skip unseen records. Aggregated output includes collected, pages, the last pagination object and truncated.

include_total_count must be requested where supported; total count can add API work. max_items without all_pages is a usage error. This is bounded retrieval, not a backup/export guarantee for an entire large account.

OAuth-only bulk

The full API snapshot supplies nested request schemas and endpoint-specific limits. Discover the body and put private batches outside the checkout:

bash
kit-cli schema bulk-create-subscribers
kit-cli bulk-create-subscribers --payload-file /absolute/private/path/subscribers.json --confirm --agent

Some bulk operations require a callback URL. Use HTTPS on a receiver you control and inspect its actual completion notification. The wrapper does not deploy or listen for callbacks. Split payloads according to Kit's current per-endpoint limits and the local 5 MB request cap. Do not retry an asynchronous submission merely because its completion has not arrived yet.

Signed webhooks

The current signed webhook_endpoints family and older webhooks are separate APIs. Prefer signed endpoints for new setups. Discover the accepted event enum from the current schema:

bash
kit-cli schema create-webhook-endpoint
kit-cli create-webhook-endpoint --url https://your-receiver.example/kit --events EVENT_FROM_SCHEMA --secret-name newsletter-hook --confirm --agent

Replace both placeholders with your own endpoint and a supported event. Creation and secret rotation require a new secret_name. Before the remote call, the server reserves that filename exclusively under KIT_PRIVATE_DIR (default ~/.config/kit-mcp-cli/secrets) with mode 0600. Existing files are never overwritten.

Returned signing secrets are redacted from model/CLI output and saved to the private file. The result exposes secret_file, not the secret itself. Configure your own receiver's signature verification privately. The package does not provide a receiver or claim that the endpoint is reachable. Protect private folders with Windows ACLs where applicable.

When rotating, update and verify your receiver before revoking the previous secret. If Kit changed the endpoint but local secret storage failed, inspect the remote endpoint before attempting rotation again. Do not paste signing secrets in an AI chat or public issue.

11. Several private accounts

Set KIT_ACCOUNTS to a private JSON array. Its supported keys are name, api_key, access_token, refresh_token, client_id, client_secret and tokens_file. It replaces the single-account variables:

config.json
[
  {"name":"work","api_key":"YOUR_WORK_V4_KEY"},
  {"name":"personal","tokens_file":"/absolute/private/path/personal-kit.json"}
]

Set KIT_DEFAULT_ACCOUNT=work, then:

bash
kit-cli list-accounts --agent
kit-cli list-broadcasts --account work --per-page 10 --agent
kit-cli get-growth-stats --account personal --agent

Names must be unique. list_accounts exposes labels, default choice and auth type only, never credentials or file paths. Guard logs omit account names. Separate processes are still preferable when you need strict account isolation.

12. Writing safely

KIT_READ_ONLY=1 hides every write, leaving 38 reads, and also refuses a direct write invocation. KIT_ALLOW_DESTRUCTIVE=0 leaves tools visible but refuses the 40 guarded audience/delivery/deletion/secret operations. There is no --agent or --yes bypass. Confirmation means permission for the actual user-requested operation, not a blanket license to modify an account.

Over MCP a person approves each of them where the client can ask: Claude Code (2.1.246 and later) shows its own prompt, and a client that can show forms asks with an approval form whose one box starts unticked. Each approval is signed, bound to that exact call and works once. Where a client can do neither, the model's confirm: true counts. KIT_CONFIRM=model makes confirm: true enough everywhere, for an agent with no person to ask.

Seven configuration writes (such as creating a tag or custom field) do not require confirmation. They are still writes and are blocked by read-only mode. Tool annotations describe read, destructive, idempotent and open-world behavior; application prompts remain client-dependent.

GET 429 responses can retry up to two times by default, honoring a bounded delay. GET OAuth 401 can refresh and retry once. All mutating requests have zero automatic retries, including 429 and token expiry. A read-only filter POST also has no automatic retry. Treat service data as data, not instructions to execute an unrelated operation.

13. How it works

bash
git clone https://github.com/thenavidm/kit-mcp-cli.git
cd kit-mcp-cli
npm ci
npm run typecheck
npm run build
npm test
npm run check:counts
npm run build:mcpb
npm pack --dry-run

The snapshot is checked into scripts/kit-api.snapshot.json; generated operation schemas and the source hash are in src/tools/. To review a future API snapshot, save the official document locally and run node scripts/sync-openapi.mjs /absolute/path/reviewed-v4.json, inspect every diff and re-run the checks. Do not treat new endpoint discovery as a reviewed release. Record current source corrections and verify live behavior when credentials permit.

The CI workflow verifies Node 22 and 24 on Linux and Windows, then builds the desktop archive. The release workflow verifies package/tag/counts/tests, publishes npm with provenance, and attaches the matching desktop archive. Release tags are annotated v<package version>. Topics and npm keywords cover the actual Kit/MCP/CLI surfaces. Credentials use encrypted GitHub secrets or private local configuration and never enter a package.

The npm allowlist includes built code, full setup/skill/comparison/changelog/security/contribution docs and licenses. It excludes source tests, private account files, local .env, build scratch folders and the desktop archive. The .mcpb vendors production dependencies, the server and notices without configured credentials. A build dependency audit can differ from the production audit; see SECURITY.md.

Issues and reproducible bug reports are welcome. This repository does not accept unsolicited pull requests; see CONTRIBUTING.md. Use private vulnerability reporting for security issues.

14. Your data

Requests go directly to https://api.kit.com/v4; no Navid-hosted relay, analytics or telemetry is included. HTTP redirects are refused. Keys, OAuth tokens, client secrets and signing secrets are sanitized from tool results and reflected API errors. Subscriber addresses, email content, reports and other authorized response data are still private business data that your AI client can process. Configure its retention and sharing policy accordingly.

Private OAuth files, webhook-secret files and optional audit files remain local. Audit records contain attempted write names, risk, surface, decision and outcome, without arguments, subscriber addresses, message bodies, account labels or credentials. Audit failure does not block a requested operation. It is a guard-decision log, not proof of remote delivery or complete Kit account audit history.

See SECURITY.md for disclosure, private file handling, dependency limitations and live-validation limits.

15. Environment variables

VariableDefaultMeaning
KIT_API_KEYEmptyPersonal v4 API key
KIT_ACCESS_TOKENEmptyExisting OAuth access token
KIT_REFRESH_TOKENEmptyOAuth refresh token
KIT_CLIENT_IDEmptyYour authorized Kit app ID
KIT_CLIENT_SECRETEmptyYour private confidential-app secret
KIT_TOKENS_FILEEmptyRegular private OAuth JSON, max 64 KB
KIT_ACCOUNTSEmptyPrivate JSON named accounts; replaces single-account settings
KIT_DEFAULT_ACCOUNTFirst accountDefault name from KIT_ACCOUNTS
KIT_READ_ONLY01 or true hides and refuses all 47 writes
KIT_ALLOW_DESTRUCTIVE10 or false blocks all 40 guarded operations even with confirm
KIT_AUDIT_LOGNoneLocal attempted-write guard log, no request fields
KIT_PRIVATE_DIR~/.config/kit-mcp-cli/secretsPrivate signing-secret folder
KIT_REQUEST_TIMEOUT_MS30000Per-request deadline, integer 100–300000
KIT_MAX_RETRIES2GET 429 retries only, integer 0–5
KIT_MIN_REQUEST_INTERVAL_MS0 = automatic0 chooses 550 ms keys / 110 ms OAuth; otherwise 1–10000 ms
KIT_CONFIRMhumanmodel lets confirm:true alone approve over MCP, for an agent with no person to ask
KIT_SURFACEfullsearch lists three tools that find, describe and run the rest
KIT_TOOL_TIMEOUT_MSNoneGive up on any tool after this long
KIT_HTTP_PORT, KIT_HTTP_HOST, KIT_HTTP_TOKEN8787, 127.0.0.1, noneFor --http; any host but 127.0.0.1 needs the bearer token
KIT_HTTP_ALLOWED_ORIGINSNoneComma-separated browser origins allowed to call --http; a page from any other site is refused
KIT_DEBUG01 prints debug lines on stderr

The package reads environment variables only. It does not automatically load .env, resolve a secret-manager account, or inherit GUI environment values from a terminal. Private client config examples are in INSTALL.md. Never put real credentials in project MCP files.

16. Updates and removal

Terminal
npm install -g @thenavidm/kit-mcp-cli@latest
kit-cli --version
claude mcp remove --scope user kit
codex mcp remove kit
npm uninstall -g @thenavidm/kit-mcp-cli

Reinstall a newer desktop archive separately and restart affected clients. Remove manual client entries using its own settings. Uninstalling the package does not revoke Kit credentials, remove private token/secret files or unschedule email. Revoke/delete keys or authorized apps in Kit when appropriate. Inspect and remove private files yourself after preserving any receiver secrets still in use.

Pin a reviewed version instead of @latest if your automation requires reproducibility. Check CHANGELOG.md and GitHub Releases before a major update. Do not roll back by blindly publishing an older version over an existing npm version.

17. Troubleshooting

SymptomResolution
Binary not foundInstall Node 22+, check npm global prefix/PATH, reopen terminal
PowerShell blocks npm.ps1Use npm.cmd or Command Prompt in accordance with your policy
Local doctor exit 10Configure a v4 key or regular OAuth token file in private settings
GUI works differently from terminalGUI clients often do not inherit shell env; configure private client env
API 401Verify v4 credentials; OAuth may be expired or revoked
API 403 / OAuth requiredCheck current plan permissions and use OAuth for that endpoint
Read-only missing toolsSet KIT_READ_ONLY=0 only when writes are wanted; reconnect
Confirmation refusedSupply confirm:true/--confirm only for an explicitly requested operation; check destructive policy
Invalid request bodyRead schema; use payload for nested fields/null; avoid mixing body forms
No results beyond the first pageFollow end_cursor or use bounded all_pages
429Wait; other integrations share the credential limit; do not blindly retry writes
Write timeoutOutcome may be unknown; inspect the account before repeating
Template or Starting point errorSee recorded schema contradictions and test an unscheduled private draft
Secret filename existsChoose a new private secret_name; files are never overwritten
Refresh succeeds but file update failsRepair private folder access and inspect state before another write
Desktop extension rejectedValidate host custom-extension policy and compatible runtime; try manual stdio setup

18. API coverage and comparisons

OfferingSurfaceWhat the reviewed source establishesTradeoff
Official Kit account MCPRemote MCP, Kit OAuthv4 account reads and writes; paid Creator/Creator Pro; 120 requests/min/tokenHosted consent/setup; standalone task CLI not identified there
Kit Developer Docs MCPDocumentation MCPRead documentationNo account operations
This packageLocal stdio, CLI, desktop archive83 pinned operations + 2 helpers, private account settings and guardsYou maintain local credentials; live writes pending
ArtisanPack UI ConvertKitPHP/Laravel integration and Artisan commandsKit integration with framework commandsRequires the Laravel application environment
CData ConvertKit CLIProvider data-access CLIJDBC-backed data access from a CLIDifferent provider/license and data-oriented scope

COMPARISON.md records dated primary sources, scope and limitations. Counts are package discovery results, not evidence that the official server has fewer endpoints. No competitor latency, success rate or total token cost has been measured here.

19. Versions

ComponentVersion / source
This package and desktop manifest3.0.0
RuntimeNode 22 or newer
Kit APIv4; 83 reviewed operations from the 2026-10-02 snapshot
Slipway0.1.20
MCP TypeScript SDK, through Slipway2.3.0
Source provenanceapi-source.json, with SHA-256 and corrections

CHANGELOG.md records dated changes and validation. Version 2.0.0 replaces the private 1.0.0 source with a sanitized public v4 implementation. It preserves the AGPL license and useful operation names, and adds the CLI and desktop surface.

The old source's private account instructions and original commits remain private. Public history starts with the reviewed v2 source; this avoids publishing personal setup data. Only the sanitized public branch is pushed.

Major-version migration

  • Configure a v4 key or private authorized OAuth file; a v3 API secret is insufficient.
  • Replace numeric page arguments with v4 cursors.
  • Use current tool IDs and schemas; search_subscribers remains an exact-email alias.
  • The old browser kit_login and broadcast/sequence/visual-automation duplication helpers are not included. Their private cookie workflows are not part of the v4 API. Use the Kit UI for designed duplication and visual automation work.
  • API sequence/email CRUD is now available, but it is not a claim of legacy browser feature parity.
  • Review send_at, draft defaults and explicit confirmation before any delivery or audience change.
  • Never copy old personal SKILL content, cookies or the private Git history into public files.

20. FAQ

Is Kit free to use here?

The wrapper is free AGPL software. Your Kit subscription and API eligibility are separate. The official Kit MCP is available on paid Creator and Creator Pro plans; consult Kit for your account’s API access.

Does Kit already have an official MCP?

Yes. Its account server supports reads and writes across v4. Its separate developer-docs MCP reads documentation and cannot act on your account.

Why use this if the official one exists?

Use it for standalone task commands, shell automation, private named-account settings, token-file refresh, bounded pagination or a local desktop archive. Use Kit’s official server for Kit-managed hosted OAuth. Neither is declared universally better.

Is there an official Kit CLI?

No standalone email-account task CLI was identified in the official developer surfaces reviewed on 2026-10-02. Framework-specific and data-provider CLIs exist; see COMPARISON.md.

Are all 85 tools available with an API key?

Discovery shows them, but OAuth-only bulk and purchase endpoints reject API-key calls before HTTP. The tool table marks them. Use an authorized OAuth session for those operations.

Do I need to give the AI my key?

No. Configure it privately in your shell or client settings. Help, discovery and schemas work without it.

Does login sign me in?

No. It explains first-time key/OAuth setup. This package does not host a consent flow or copy your browser cookies.

Can I use Claude Desktop?

Yes, through local stdio configuration or the custom .mcpb release. GUI installation of this version remains a separate host check.

Can I use ChatGPT on the web?

This local package does not expose an HTTPS connector. Use Kit’s official remote MCP for a compatible web connector.

Will creating a broadcast immediately send it?

The wrapper defaults create to private and unscheduled. If you explicitly pass send_at or publication fields, they can change that behavior. All broadcast writes require confirmation; review in Kit before delivery.

Is published_at the schedule time?

No. Use send_at for email delivery. published_at concerns web publication.

How do I clear a schedule?

Use update_broadcast with a JSON body containing send_at:null, then inspect the broadcast. A shell string null is not JSON null.

Can I preserve my designed email template?

Inspect existing template HTML and required Liquid/footer markup before changing content. The API is not a visual block editor. Starting point schema conflicts remain live-account validation pending.

Can tags send email indirectly?

Yes, existing automations can react to tagging, form subscription or sequence enrollment. Those operations require explicit confirmation here.

Will the CLI retry a failed send?

No. Mutating requests are never automatically retried. A timeout may have an unknown outcome; inspect the account first.

Can I connect multiple accounts?

Yes. Use a private KIT_ACCOUNTS array with unique names, then --account. list_accounts returns labels/auth methods without credentials.

How do I retrieve more than one page?

Use after or bounded all_pages/max_items. v4 uses cursors. Aggregate output exposes the last cursor and truncation; it is not an unlimited export.

Where do webhook secrets go?

New signed endpoint secrets go to exclusive owner-only files under KIT_PRIVATE_DIR and are redacted from returned tool data. Configure your own receiver privately.

Is it more token-efficient than official MCP?

Against the official MCP it has not been measured. In Claude Code the CLI costs nothing until it is used, plus about 1,570 tokens for SKILL.md once, where the server costs about 1,520 tokens a message with tool search and 46,200 with every tool loaded. In Codex, finding the command that tags a subscriber and its flags took a median of 83,147 input tokens over the CLI and 77,462 over MCP. Section 7 has how each was measured.

Can I migrate my old private setup?

Create new private settings with a v4 key or authorized OAuth token file. Do not copy old personal SKILL content, cookies or source history into a public repo. See the 2.0 migration notes.

Questions

Open an issue with the version, client and a sanitized reproduction. Report security problems privately through SECURITY.md.

About the author

Navid Moazzez is a leading AI business strategist, and the host of the AI Creator Summit, watched by 100,000+ creators. He helps creators and founders master AI and build their own AI Operating System (AI OS) to automate their business and life. He creates useful free tools, MCP servers and CLIs that creators and founders can use in their own workflows.

Links

Dependencies

DependencyVersion rangeUsed for
@thenavidm/slipway^0.1.20The MCP server and the CLI from one definition of each tool, with the MCP TypeScript SDK
ajv^8.17.1JSON Schema input validation
ajv-formats^3.0.1JSON Schema input validation

Full third-party attribution is in THIRD_PARTY_NOTICES.md. Development tooling and its audit limitations are documented in SECURITY.md.

License

This wrapper is AGPL-3.0-or-later, preserving the legacy source's license. See LICENSE and the full AGPL text. Kit's service and documentation retain their own rights and terms. Third-party dependency attribution is in THIRD_PARTY_NOTICES.md.


© 2026 Navid Media. Made with ❤️ by Navid Moazzez.