posterly-mcp-server 0.54.2 → 0.54.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@ Use posterly from any MCP-compatible AI client.
4
4
 
5
5
  This package gives Claude Desktop, Cursor, Windsurf, Cline, and other local MCP clients a `stdio` server that can:
6
6
 
7
- - start paid posterly signup before an API key exists
7
+ - start the card-backed 7-day free trial before an API key exists
8
8
  - poll signup progress while the user completes checkout and password setup
9
9
  - list connected social accounts
10
10
  - resolve brands/clients into the right accounts
@@ -54,7 +54,7 @@ To let an AI agent start signup before a posterly API key exists, install the se
54
54
  }
55
55
  ```
56
56
 
57
- After paid signup is complete and posterly shows an API key, add `POSTERLY_API_KEY` to unlock the authenticated tools:
57
+ After the trial signup is complete and posterly shows an API key, add `POSTERLY_API_KEY` to unlock the authenticated tools:
58
58
 
59
59
  ```json
60
60
  {
@@ -74,7 +74,7 @@ After paid signup is complete and posterly shows an API key, add `POSTERLY_API_K
74
74
 
75
75
  1. Add the posterly MCP server to your AI client.
76
76
  2. If you do not have posterly yet, ask the AI to call `start_signup`.
77
- 3. Pay in Stripe Checkout and set your posterly password in the browser.
77
+ 3. Save a card in Stripe Checkout to start the 7-day free trial (nothing is charged today; the card is charged on day 8) and set your posterly password in the browser.
78
78
  4. When posterly shows your API key, add it as `POSTERLY_API_KEY`.
79
79
  5. Restart your AI client.
80
80
  6. Ask the AI to call `whoami` with `view: "status"`, then `whoami`, then continue by connecting your first social account.
@@ -123,7 +123,7 @@ Add the same server definition to your Cursor MCP settings:
123
123
 
124
124
  ## Available tools
125
125
 
126
- `posterly-mcp-server@0.54.2` exposes 67 tools covering 103 actions. The hosted HTTP endpoint exposes the same catalog minus the three signup tools: 64 tools covering 100 actions.
126
+ `posterly-mcp-server@0.54.4` exposes 67 tools covering 103 actions. The hosted HTTP endpoint exposes the same catalog minus the three signup tools: 64 tools covering 100 actions.
127
127
 
128
128
  Many tools pick what to do with one parameter: `view` (reads), `action` (writes), or `type`. A few pick their mode from which parameters you pass (for example `update_post` with `status` changes the status instead of editing). Every tool description names all of its views and actions.
129
129
 
@@ -403,7 +403,7 @@ Pre-auth signup for brand-new users. Local npm package only; always on.
403
403
  | Tool | What it does |
404
404
  | --- | --- |
405
405
  | `get_agent_signup_info` | Signup info for agents |
406
- | `start_signup` | Start a paid signup |
406
+ | `start_signup` | Start a free trial |
407
407
  | `get_signup_session` | Check a signup session |
408
408
 
409
409
  > Google Business tip: pass `account_id` (the integer `id` from `list_accounts`) to every Google Business tool. If you use `location_id` instead, it is the numeric `location_id` from `list_accounts` (the GBP location id), not the `ChIJ...` Place ID that `list_google_business_reviews` with `view: "review_link"` returns. Passing the Place ID resolves to no account and returns "Google Business Profile account not found".
@@ -1320,6 +1320,10 @@ export interface PublicSignupPayment {
1320
1320
  amount_display?: string | null;
1321
1321
  billing?: string;
1322
1322
  description?: string;
1323
+ /** Free trial length in days, or null when Checkout charges today. */
1324
+ trial_period_days?: number | null;
1325
+ /** False when Checkout collects a card and charges nothing today. */
1326
+ charged_today?: boolean;
1323
1327
  merchant_name?: string;
1324
1328
  merchant_url?: string;
1325
1329
  checkout_redirect_url?: string;
@@ -1327,6 +1331,14 @@ export interface PublicSignupPayment {
1327
1331
  agent_wallet?: PublicSignupPaymentAgentWallet;
1328
1332
  [key: string]: unknown;
1329
1333
  }
1334
+ /** True when this signup Checkout is the card-backed free trial (nothing due today). */
1335
+ export declare function signupCheckoutIsTrial(payment: PublicSignupPayment | null | undefined): boolean;
1336
+ /**
1337
+ * One line for the Checkout charge. Trials have amount null, so this does not
1338
+ * invent an amount due. A session that charges today keeps the amount the
1339
+ * server returned.
1340
+ */
1341
+ export declare function signupCheckoutChargeLine(payment: PublicSignupPayment | null | undefined): string;
1330
1342
  export interface PublicSignupSession {
1331
1343
  id: string;
1332
1344
  status: string;
@@ -60,6 +60,43 @@ function postFilterParams(params) {
60
60
  searchParams.set('timezone', params.timezone);
61
61
  return searchParams;
62
62
  }
63
+ /** True when this signup Checkout is the card-backed free trial (nothing due today). */
64
+ export function signupCheckoutIsTrial(payment) {
65
+ if (!payment)
66
+ return false;
67
+ if (payment.charged_today === true)
68
+ return false;
69
+ if (payment.charged_today === false)
70
+ return true;
71
+ return typeof payment.trial_period_days === 'number' && payment.trial_period_days >= 1;
72
+ }
73
+ /**
74
+ * One line for the Checkout charge. Trials have amount null, so this does not
75
+ * invent an amount due. A session that charges today keeps the amount the
76
+ * server returned.
77
+ */
78
+ export function signupCheckoutChargeLine(payment) {
79
+ if (!payment)
80
+ return '';
81
+ if (signupCheckoutIsTrial(payment)) {
82
+ const trialDays = typeof payment.trial_period_days === 'number' &&
83
+ Number.isFinite(payment.trial_period_days) &&
84
+ payment.trial_period_days >= 1
85
+ ? Math.floor(payment.trial_period_days)
86
+ : null;
87
+ const described = payment.description ? ` ${payment.description}.` : '';
88
+ const card = payment.description?.toLowerCase().includes('card required') ? '' : ' A card is required.';
89
+ const chargeDay = trialDays ? trialDays + 1 : null;
90
+ const when = chargeDay && !payment.description?.includes(`day ${chargeDay}`)
91
+ ? ` The card is charged on day ${chargeDay} unless the paid plan starts sooner.`
92
+ : '';
93
+ return `Nothing due today.${described}${card}${when}`;
94
+ }
95
+ if (payment.amount_display) {
96
+ return `Amount due: ${payment.amount_display} ${String(payment.currency || 'usd').toUpperCase()} to ${payment.merchant_name || 'posterly'} (${payment.billing || 'subscription'})`;
97
+ }
98
+ return '';
99
+ }
63
100
  export class PosterlyClient {
64
101
  baseUrl;
65
102
  apiKey;
@@ -137,7 +174,7 @@ export class PosterlyClient {
137
174
  }
138
175
  requireApiKey() {
139
176
  if (!this.apiKey) {
140
- throw new Error('posterly access is not installed yet. Use start_signup to begin paid setup, or set POSTERLY_API_KEY after signup.');
177
+ throw new Error('posterly access is not installed yet. Use start_signup to start the card-backed free trial, or set POSTERLY_API_KEY after signup.');
141
178
  }
142
179
  }
143
180
  async request(method, path, body, options) {
@@ -6,7 +6,7 @@
6
6
  */
7
7
  const descriptions = {
8
8
  get_agent_signup_info: 'Return posterly signup requirements and the human signup link.',
9
- start_signup: 'Create a short-lived signup session with a browser link for human completion. This operation does not take payment.',
9
+ start_signup: 'Create a short-lived signup session for the card-backed free trial and return a browser Checkout link so the person can save a card. This operation does not collect card details.',
10
10
  get_signup_session: 'Read the completion status of a signup session.',
11
11
  whoami: 'Return connection status or the authenticated user, scopes, and accessible workspaces.',
12
12
  create_api_key: 'Create a scoped posterly API key for the authenticated user. The new key cannot exceed the caller key permissions.',
@@ -1 +1 @@
1
- export declare const POSTERLY_MCP_VERSION = "0.54.2";
1
+ export declare const POSTERLY_MCP_VERSION = "0.54.4";
@@ -5,4 +5,4 @@
5
5
  // tool set (minus the intentional pre-auth signup tools that only this stdio
6
6
  // package exposes). `npm run check:mcp-parity` enforces both the version match
7
7
  // and the tool-list match, and runs in the pre-commit hook.
8
- export const POSTERLY_MCP_VERSION = '0.54.2';
8
+ export const POSTERLY_MCP_VERSION = '0.54.4';
@@ -171,7 +171,7 @@ export const createPostPayloadInputSchema = z.object({
171
171
  .enum(SUPPORTED_PLATFORM_INPUTS)
172
172
  .optional()
173
173
  .describe(`Platform name (required with username). Supported: ${SUPPORTED_PLATFORM_IDS.join(', ')}. Aliases such as x, gmb, and instagram-standalone are accepted.`),
174
- caption: z.string().optional().describe('The post caption/text content. On Instagram, @username creates a caption mention only; it is not a native media tag or collaborator invitation. Ignored when `thread_posts` is provided.'),
174
+ caption: z.string().optional().describe('The post caption/text content. On Instagram, @username is a caption mention, not a native tag or collaborator invite. Optional on Instagram Stories (first slide only in a series). Ignored when `thread_posts` is provided.'),
175
175
  scheduled_at: z
176
176
  .string()
177
177
  .optional()
@@ -296,12 +296,13 @@ export async function buildCreatePostPayload(input, resolvePlatform) {
296
296
  }
297
297
  // Mirror the server rule (lib/api-v1-post-create.ts): a post needs a caption
298
298
  // OR media, not a caption unconditionally. Requiring one here made every
299
- // media-only post impossible from the npm client, most visibly Instagram and
300
- // Facebook Stories, which carry no caption at all. The dashboard composer and
301
- // the hosted MCP have always allowed it; only this package disagreed.
299
+ // media-only post impossible from the npm client. An Instagram Story can
300
+ // also include an optional caption. A Facebook Story does not take a caption.
301
+ // The dashboard composer and the hosted MCP have always allowed media-only
302
+ // posts; only this package used to disagree.
302
303
  const hasMedia = Boolean(input.media_url) || (input.media_urls?.length ?? 0) > 0;
303
304
  if (!caption && !hasMedia) {
304
- throw new Error('Provide caption or media (or pass `thread_posts` for an X/Threads thread). Media-only posts are valid, for example an Instagram or Facebook Story.');
305
+ throw new Error('Provide caption or media (or pass `thread_posts` for an X/Threads thread). Media-only posts are valid. An Instagram Story can also include an optional caption. A Facebook Story does not take a caption.');
305
306
  }
306
307
  return {
307
308
  ...rest,
@@ -6,7 +6,7 @@ export const getAgentSignupInfoTool = {
6
6
  async execute(client) {
7
7
  const authState = client.hasApiKey()
8
8
  ? 'posterly API key is installed. Authenticated scheduling and connect tools are available.'
9
- : 'No posterly API key is installed. Only public setup tools are available until the user completes paid setup and gives this AI posterly access.';
9
+ : 'No posterly API key is installed. Only public setup tools are available until the user starts the free trial and gives this AI posterly access.';
10
10
  return [
11
11
  'posterly agent signup info',
12
12
  '',
@@ -14,11 +14,11 @@ export const getAgentSignupInfoTool = {
14
14
  '',
15
15
  'Pre-auth tools:',
16
16
  '- whoami with view=status: checks the installed server version, latest npm version, MCP endpoint health, API auth health, and whether POSTERLY_API_KEY is configured.',
17
- '- start_signup: starts paid signup and returns a signup poll URL, a browser Checkout fallback, and, when enabled, a prepaid PaymentIntent for a Link virtual card (credential_type: card).',
18
- '- get_signup_session: polls payment, password, and agent-access status.',
17
+ '- start_signup: starts the card-backed 7-day free trial (nothing is charged today; the card is charged on day 8 unless the paid plan starts sooner) and returns a signup poll URL, a browser Checkout handoff, and a payment object with the trial length, whether anything is charged today, and agent-wallet instructions. An account that already had a trial is charged at checkout. The API add-on is still required. Agent-card pay is not available during a trial.',
18
+ '- get_signup_session: polls checkout, card save, password, and agent-access status.',
19
19
  '',
20
20
  'After posterly access is installed, onboard the user IN THIS chat (do not send them to /onboarding-v2):',
21
- '- whoami: confirm the paid account and read onboarding.next_step.',
21
+ '- whoami: confirm the account and read onboarding.next_step.',
22
22
  '- About you: confirm name and IANA timezone.',
23
23
  '- create_connect_session, then list_accounts with view=connect_session: first social account in the browser.',
24
24
  '- Brand voice: ask how they want to sound, then use that on captions.',
@@ -30,9 +30,10 @@ export const getAgentSignupInfoTool = {
30
30
  '- Do not narrate raw curl, HTTP, JSON, API keys, or implementation details unless the user explicitly asks for debugging.',
31
31
  '',
32
32
  'Boundaries:',
33
- '- Payment happens on Stripe Checkout, either by the user in their browser or by the agent with its own approved payment credential (for example a Link agent wallet); never card details in chat.',
34
- '- Where enabled, payment can instead be a one-time Link Agent Wallet virtual card (credential_type: card) on a prepaid PaymentIntent.',
35
- '- Never send card numbers to posterly. Confirm the PaymentIntent with Stripe, or send checkout_redirect_url.',
33
+ '- Checkout starts a 7-day free trial for a new account: a card is required, nothing is charged today, and the card is charged on day 8 unless the paid plan starts sooner. The user enters the card in their browser.',
34
+ '- If you complete Checkout yourself, use only a reusable card the person has approved for recurring posterly charges. A one-time virtual card fails on day 8.',
35
+ '- Never send card numbers to posterly. Send checkout_redirect_url, or complete that Checkout page with a reusable card.',
36
+ '- Agent-card pay (a prepaid PaymentIntent) is not available during the trial.',
36
37
  '- The user sets their posterly password in their browser.',
37
38
  '- The user approves social OAuth in their browser.',
38
39
  '- Publish approval stays with the user.',
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { PosterlyClient } from '../lib/api-client.js';
2
+ import { type PosterlyClient } from '../lib/api-client.js';
3
3
  export declare const getSignupSessionTool: {
4
4
  name: string;
5
5
  description: string;
@@ -1,7 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import { signupCheckoutChargeLine, signupCheckoutIsTrial, } from '../lib/api-client.js';
2
3
  export const getSignupSessionTool = {
3
4
  name: 'get_signup_session',
4
- description: 'Poll a public posterly signup session created by start_signup. Use this to narrate payment (Link virtual card or browser Checkout), password setup, and agent access status before a posterly API key is installed. Keep updates user-facing; do not narrate raw HTTP, curl, or API plumbing.',
5
+ description: 'Poll a public posterly signup session created by start_signup. Use this to narrate the free trial (card saved, nothing charged today), password setup, and agent access status before a posterly API key is installed. An account that already had a trial is charged at checkout instead. Keep updates user-facing; do not narrate raw HTTP, curl, or API plumbing.',
5
6
  inputSchema: z.object({
6
7
  session_id: z
7
8
  .string()
@@ -37,9 +38,7 @@ function formatSignupSession(session, includeRaw) {
37
38
  agentPay?.requires_tos_acceptance ? 'Terms acceptance required before client_secret is released.' : '',
38
39
  agentPay?.client_secret ? `PaymentIntent client_secret: ${agentPay.client_secret}` : '',
39
40
  agentPay?.confirm_url ? `Confirm URL: ${agentPay.confirm_url}` : '',
40
- !agentPay?.enabled && payment?.amount_display
41
- ? `Amount due: ${payment.amount_display} ${String(payment.currency || 'usd').toUpperCase()} to ${payment.merchant_name || 'posterly'} (${payment.billing || 'subscription'})`
42
- : '',
41
+ !agentPay?.enabled ? signupCheckoutChargeLine(payment) : '',
43
42
  !agentPay?.enabled && payment?.agent_wallet?.how
44
43
  ? `Agent wallet option: ${payment.agent_wallet.how}`
45
44
  : '',
@@ -48,7 +47,7 @@ function formatSignupSession(session, includeRaw) {
48
47
  passwordUrl ? `Password setup URL: ${passwordUrl}` : '',
49
48
  completeUrl ? `Completion URL: ${completeUrl}` : '',
50
49
  '',
51
- guidanceForStatus(session.status, Boolean(agentPay?.enabled || agentPay?.payment_intent_id), Boolean(agentPay?.requires_tos_acceptance)),
50
+ guidanceForStatus(session.status, Boolean(agentPay?.enabled || agentPay?.payment_intent_id), Boolean(agentPay?.requires_tos_acceptance), signupCheckoutIsTrial(payment)),
52
51
  session.agent_next_steps?.length
53
52
  ? `Agent next steps:\n${session.agent_next_steps.map((step, index) => `${index + 1}. ${step}`).join('\n')}`
54
53
  : '',
@@ -60,14 +59,17 @@ function stringFromRecord(record, key) {
60
59
  const value = record?.[key];
61
60
  return typeof value === 'string' ? value : null;
62
61
  }
63
- function guidanceForStatus(status, agentPayAvailable = false, requiresTosAcceptance = false) {
62
+ function guidanceForStatus(status, agentPayAvailable = false, requiresTosAcceptance = false, trialCheckout = false) {
64
63
  switch (status) {
65
64
  case 'checkout_pending':
66
65
  if (agentPayAvailable && requiresTosAcceptance) {
67
66
  return 'Payment is still pending on terms acceptance. Ask the user to explicitly confirm they accept the posterly terms at https://www.poster.ly/terms, then POST { "tos_accepted": true } to Confirm URL to receive client_secret, or send the user the Checkout handoff URL. Keep polling; never ask for card numbers.';
68
67
  }
69
- return agentPayAvailable
70
- ? 'Payment is still pending. Confirm the prepaid PaymentIntent with a Link virtual card (credential_type: card), or send the user the Checkout handoff URL. Keep polling; never ask for card numbers.'
68
+ if (agentPayAvailable) {
69
+ return 'Payment is still pending. Confirm the prepaid PaymentIntent with a Link virtual card (credential_type: card), or send the user the Checkout handoff URL. Keep polling; never ask for card numbers.';
70
+ }
71
+ return trialCheckout
72
+ ? 'Tell the user checkout is still waiting for a card to start the free trial. Nothing is charged today. Send the Checkout handoff URL. If you complete Checkout yourself, use only a reusable card: a one-time virtual card fails when the trial ends. Keep polling. Never ask for card details.'
71
73
  : 'Tell the user checkout is still pending. If you hold an approved payment credential such as a Link agent wallet, you may pay the Checkout handoff URL yourself instead of asking the user; otherwise keep polling. Never ask for card details.';
72
74
  case 'checkout_expired':
73
75
  return 'Tell the user checkout expired and offer to call start_signup again.';
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { PosterlyClient, PublicSignupTier } from '../lib/api-client.js';
2
+ import { type PosterlyClient, type PublicSignupTier } from '../lib/api-client.js';
3
3
  export declare const startSignupTool: {
4
4
  name: string;
5
5
  description: string;
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import { signupCheckoutChargeLine, signupCheckoutIsTrial, } from '../lib/api-client.js';
2
3
  const DEFAULT_RETURN_PATH = '/dashboard/api?api_signup=success';
3
4
  export const startSignupTool = {
4
5
  name: 'start_signup',
5
- description: 'Start the public posterly paid signup flow for a user before posterly API access exists. Returns a signup poll URL, a browser Checkout fallback URL, and, when enabled, a prepaid PaymentIntent the agent can pay with a Link Agent Wallet virtual card (credential_type: card). The user still sets a password and approves social OAuth in the browser. Never ask for card numbers, a posterly password, or social passwords in chat.',
6
+ description: 'Start the public posterly signup for a user before posterly API access exists. A new account starts a 7-day free trial: Stripe Checkout collects a card, nothing is charged today, and the card is charged on day 8 unless the paid plan starts sooner. API and MCP stay limited during the trial. The API add-on is still required. Returns a signup poll URL, a browser Checkout handoff URL, and a payment object for that Checkout session (trial length, whether anything is charged today, merchant, and agent-wallet instructions). An account that already had a trial is charged at checkout instead. The user still sets a password and approves social OAuth in the browser. Never ask for card numbers, a posterly password, or social passwords in chat.',
6
7
  inputSchema: z.object({
7
8
  email: z
8
9
  .string()
@@ -84,9 +85,7 @@ function formatSignupStart(response, includeRaw) {
84
85
  agentPay?.client_secret ? `PaymentIntent client_secret: ${agentPay.client_secret}` : '',
85
86
  agentPay?.confirm_url ? `Confirm URL: ${agentPay.confirm_url}` : '',
86
87
  agentPay?.pay_instructions ? `Pay instructions: ${agentPay.pay_instructions}` : '',
87
- !agentPay?.enabled && payment?.amount_display
88
- ? `Amount due: ${payment.amount_display} ${String(payment.currency || 'usd').toUpperCase()} to ${payment.merchant_name || 'posterly'} (${payment.billing || 'subscription'})`
89
- : '',
88
+ !agentPay?.enabled ? signupCheckoutChargeLine(payment) : '',
90
89
  !agentPay?.enabled && payment?.agent_wallet?.how
91
90
  ? `Agent wallet option: ${payment.agent_wallet.how}`
92
91
  : '',
@@ -113,14 +112,23 @@ function formatSignupStart(response, includeRaw) {
113
112
  '5. If status becomes agent_access_required, ask the user to install or paste the posterly MCP/API setup instructions into this trusted AI chat, then onboard them in this conversation (about you, connect, brand voice, first post). Do not send them to /onboarding-v2.',
114
113
  '6. Do not ask for card details, the posterly password, social passwords, or OAuth codes.',
115
114
  ]
116
- : [
117
- '1. If you hold an approved payment credential such as a Link agent wallet, you can pay the Checkout handoff URL yourself: create a spend request for the amount and merchant above, get the user\'s approval in the wallet, then complete the Checkout page with that credential. Never paste card numbers into chat or send them to posterly.',
118
- '2. Otherwise, send the Checkout handoff URL to the user so they can pay securely in their browser. Use the raw Stripe checkout URL only if you preserve the full URL including any fragment. posterly does not email this link, so do not tell the user to check their inbox at this stage.',
119
- '3. Call get_signup_session with the signup session ID until the status changes.',
120
- '4. Tell the user when posterly sends the password setup email.',
121
- '5. If status becomes agent_access_required, ask the user to install or paste the posterly MCP/API setup instructions into this trusted AI chat, then onboard them in this conversation (about you, connect, brand voice, first post). Do not send them to /onboarding-v2.',
122
- '6. Do not ask for card details, the posterly password, social passwords, or OAuth codes.',
123
- ]),
115
+ : signupCheckoutIsTrial(payment)
116
+ ? [
117
+ '1. Send the Checkout handoff URL to the user so they can save a card in their browser. Nothing is charged today. Use the raw Stripe checkout URL only if you preserve the full URL including any fragment. posterly does not email this link, so do not tell the user to check their inbox at this stage.',
118
+ '2. If you complete Checkout yourself, use only a reusable card the person has approved for recurring posterly charges. A one-time virtual card fails when the trial ends. Follow the agent wallet option above. Never paste card numbers into chat or send them to posterly.',
119
+ '3. Call get_signup_session with the signup session ID until the status changes.',
120
+ '4. Tell the user when posterly sends the password setup email.',
121
+ '5. If status becomes agent_access_required, ask the user to install or paste the posterly MCP/API setup instructions into this trusted AI chat, then onboard them in this conversation (about you, connect, brand voice, first post). Do not send them to /onboarding-v2.',
122
+ '6. Do not ask for card details, the posterly password, social passwords, or OAuth codes.',
123
+ ]
124
+ : [
125
+ '1. If you hold an approved payment credential such as a Link agent wallet, you can pay the Checkout handoff URL yourself: create a spend request for the amount and merchant above, get the user\'s approval in the wallet, then complete the Checkout page with that credential. Never paste card numbers into chat or send them to posterly.',
126
+ '2. Otherwise, send the Checkout handoff URL to the user so they can pay securely in their browser. Use the raw Stripe checkout URL only if you preserve the full URL including any fragment. posterly does not email this link, so do not tell the user to check their inbox at this stage.',
127
+ '3. Call get_signup_session with the signup session ID until the status changes.',
128
+ '4. Tell the user when posterly sends the password setup email.',
129
+ '5. If status becomes agent_access_required, ask the user to install or paste the posterly MCP/API setup instructions into this trusted AI chat, then onboard them in this conversation (about you, connect, brand voice, first post). Do not send them to /onboarding-v2.',
130
+ '6. Do not ask for card details, the posterly password, social passwords, or OAuth codes.',
131
+ ]),
124
132
  includeRaw ? `\nRaw signup response:\n${JSON.stringify(response, null, 2)}` : '',
125
133
  ];
126
134
  return lines.filter(Boolean).join('\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posterly-mcp-server",
3
- "version": "0.54.2",
3
+ "version": "0.54.4",
4
4
  "mcpName": "io.github.awpthorp/posterly",
5
5
  "description": "MCP server for posterly: schedule and publish social media posts across 18 platforms from any MCP client (Claude, ChatGPT, Cursor, Windsurf, Cline, and more)",
6
6
  "license": "MIT",
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "io.github.awpthorp/posterly",
4
4
  "title": "posterly",
5
5
  "description": "Validate, schedule, publish, and analyze social content across 18 platforms with posterly.",
6
- "version": "0.54.2",
6
+ "version": "0.54.4",
7
7
  "websiteUrl": "https://www.poster.ly/mcp",
8
8
  "repository": {
9
9
  "url": "https://github.com/awpthorp/posterly-mcp-server",
@@ -13,7 +13,7 @@
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "posterly-mcp-server",
16
- "version": "0.54.2",
16
+ "version": "0.54.4",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },
@@ -60,13 +60,13 @@
60
60
  },
61
61
  "start_signup": {
62
62
  "set": "signup",
63
- "label": "Start a paid signup",
63
+ "label": "Start a free trial",
64
64
  "surfaces": [
65
65
  "stdio"
66
66
  ],
67
67
  "exception": {
68
68
  "category": "signup",
69
- "reason": "Starts a paid signup before any API key exists; local npm package only."
69
+ "reason": "Starts the card-backed free trial before any API key exists; local npm package only."
70
70
  },
71
71
  "readOnly": false,
72
72
  "destructive": false,