Publication keyGenerated from lib/mcp.ts
dispatch_create_topic
Creates one game subscription (audience segment) that subscribers can pick at signup and on the manage page.
Create one audience segmentation topic (game subscription) for a publication. Subscribers can then pick it at signup and on the manage page; tag issues with its slug to reach only its subscribers.
- Use it when: When a publication adds a new game or segment its readers can choose.
- Don't use it when: Do not use it to tag an issue. That is dispatch_create_issue or dispatch_update_issue with topics.
Link and endpoint
Page link
https://dispatch.nshipyard.com/support/mcp/dispatch_create_topicEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_create_topic.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicationId | string | Required | — |
label | string | Required | Display name, e.g. 'Daily Crossword' |
slug | string | Optional | Stable slug; defaults to the label slugified |
description | string | Optional | Short description shown on the signup form |
Returns
topicobject- The created topic: id, slug, label, description.
Errors
| Error | When it happens | Fix |
|---|---|---|
Not authorized for this publication | The key belongs to a different publication. | Use the publication key shown on that publication's Overview page, or the master key. |
Publication not found | The publicationId does not exist. | List publications to get the right id, or copy it from the dashboard URL: /dashboard/pubs/<id>. |
topic slug "…" already exists | A topic with that slug already exists for this publication. | Pick a different label, or list topics to find the existing one. |
Related
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.