Publication keyGenerated from lib/mcp.ts

dispatch_create_issue

Writes a newsletter issue in Markdown and saves it as a draft. It does not send anything. Sending is a separate, deliberate step.

Draft a newsletter issue in Markdown. Returns the issue id. Send it later with dispatch_send_issue. Pass topics (game slugs, e.g. ['headline-scramble']) to tag the issue: it will reach only the active subscribers who picked at least one tag. Untagged issues reach everyone. Supports newsletter components: !![Label](url) for a CTA button, ![alt](src "caption") for captioned images, *** for a divider, [^1] footnotes, tables, and fenced code blocks.

  • Use it when: Whenever an issue needs writing, whether it sends now or later.
  • Don't use it when: Do not use it to edit an issue that already exists. That is dispatch_update_issue.

Link and endpoint

Page link

https://dispatch.nshipyard.com/support/mcp/dispatch_create_issue

Endpoint

POST https://dispatch.nshipyard.com/api/mcp

Call it with method tools/call and name dispatch_create_issue.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—
subjectstringRequiredEmail subject / issue title
markdownstringRequiredFull issue body in Markdown, with newsletter components
scheduled_atstringOptionalISO 8601 timestamp to schedule; omit for draft. A bare wall-clock time like 2026-10-18T06:00 is read in the publication's timezone.
topicsarrayOptionalTopic slugs this issue covers, e.g. ['headline-scramble']

Returns

issue.id string
The issue id. Send or edit with this.
issue.slug string
The URL slug for the public archive page.
issue.status string
'draft', or 'scheduled' when scheduled_at was given.
issue.scheduled_at_utc string | null
The send time in UTC, or null for a draft.

Errors

ErrorWhen it happensFix
Not authorized for this publicationThe key belongs to a different publication.Use the publication key shown on that publication's Overview page, or the master key.
Publication not foundThe publicationId does not exist.List publications to get the right id, or copy it from the dashboard URL: /dashboard/pubs/<id>.
Invalid scheduled_at …The schedule time cannot be parsed.Use ISO 8601, e.g. 2026-11-20T06:00, or a bare wall-clock time read in the publication's timezone.

Related

Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.

All tools