Publication keyGenerated from lib/mcp.ts
dispatch_set_plans
Sets the monthly and yearly prices for a publication's paid subscriptions, in cents. Paid signups open at the subscribe page right after.
Set the Monthly and Yearly prices (in cents, e.g. 900 = $9.00) for a publication's paid subscriptions. Creates the Stripe product and recurring prices on the operator's connected account and enables paid signups at /<slug>/subscribe. Requires completed Stripe onboarding.
- Use it when: Once Stripe onboarding is complete and the operator has chosen prices.
- Don't use it when: Do not use it before onboarding is done. It will fail until Stripe is connected.
Link and endpoint
Page link
https://dispatch.nshipyard.com/support/mcp/dispatch_set_plansEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_set_plans.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicationId | string | Required | Publication id |
monthly_price_cents | integer | Required | Monthly price in cents, min 50 |
yearly_price_cents | integer | Required | Yearly price in cents, min 50 |
Returns
payments_enabledboolean- True when paid signups are live.
monthly_price_centsnumber- Monthly price in cents (900 = $9.00).
yearly_price_centsnumber- Yearly price in cents.
platform_fee_percentnumber- Dispatch's share: 10.
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. |
Stripe is not configured on this Dispatch instance | The platform has no Stripe keys set up. | The Dispatch operator needs to configure Stripe first. |
Requires completed Stripe onboarding | The operator has not finished Stripe's checks. | Finish onboarding with dispatch_setup_payments, then check with dispatch_payments_status. |
Related
dispatch_setup_payments→dispatch_payments_status→- Help article →
- Open the publication overview (Payments panel) →
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.