posterly-mcp-server 0.53.3 → 0.54.2

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
@@ -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.53.3` exposes 66 tools covering 102 actions. The hosted HTTP endpoint exposes the same catalog minus the three signup tools: 63 tools covering 99 actions.
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.
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
 
@@ -162,6 +162,7 @@ Accounts, posting, media, schedule, analytics, and support. What most assistants
162
162
  | `list_activity` | Activity feed |
163
163
  | `get_credits` | AI credits |
164
164
  | `get_updates` | Product updates |
165
+ | `posterly_status` | Publishing status |
165
166
 
166
167
  **`whoami`**: Who am I
167
168
 
@@ -499,7 +500,7 @@ much more reliable than forcing the agent to guess from raw account handles alon
499
500
 
500
501
  This package uses the posterly API/MCP add-on:
501
502
 
502
- - `$3/month` add-on
503
+ - add-on: `$3/month` on Starter, `$4/month` on new Pro (existing Pro stays at `$3/month`), `$5/month` on Power, `$29/month` on Agency
503
504
  - `100 create-post requests/hour` per API key, with separate media/read limits
504
505
  - user-created API keys per plan: Starter 1, Pro 2, Power 3, Agency 4
505
506
  - works across all 18 supported platforms: Instagram, Facebook, TikTok, X, LinkedIn, YouTube, Pinterest, Threads, Google Business, Telegram, Bluesky, Discord, Slack, Mastodon, Dev.to, Hashnode, WordPress, and Lemmy
@@ -549,6 +550,6 @@ The package reads:
549
550
 
550
551
  The optional directory profile provides 52 tools over HTTP or 55 tools over local stdio for social publishing, existing-media uploads, analytics, and inbox work. AI image and video generation, generation-job helpers, billing mutations, and legacy tool aliases are unavailable in this profile. Text caption suggestions and read-only subscription information remain available. Tool descriptions are functional summaries; input schemas retain their validation constraints.
551
552
 
552
- Hosted endpoint: `https://www.poster.ly/api/mcp?profile=claude`. For local stdio, set `POSTERLY_DIRECTORY_PROFILE=claude` alongside the existing API key. The default catalogs remain 63 hosted tools and 66 local tools. This profile does not grant authorization, bypass scopes, or change the existing preview and confirmation checks.
553
+ Hosted endpoint: `https://www.poster.ly/api/mcp?profile=claude`. For local stdio, set `POSTERLY_DIRECTORY_PROFILE=claude` alongside the existing API key. The default catalogs remain 64 hosted tools and 67 local tools. This profile does not grant authorization, bypass scopes, or change the existing preview and confirmation checks.
553
554
 
554
555
  Directory approval remains Anthropic's decision. This profile addresses the generation and financial-transaction restrictions in the [Anthropic Software Directory Policy](https://support.claude.com/en/articles/13145358-anthropic-software-directory-policy).
package/dist/index.js CHANGED
@@ -25,6 +25,7 @@ import { manageWorkspaceMemberTool } from './tools/manage-workspace-member.js';
25
25
  import { listPublishingPausesTool } from './tools/list-publishing-pauses.js';
26
26
  import { managePublishingPauseTool } from './tools/manage-publishing-pause.js';
27
27
  import { getCreditsTool } from './tools/get-credits.js';
28
+ import { posterlyStatusTool } from './tools/posterly-status.js';
28
29
  import { getSubscriptionTool } from './tools/get-subscription.js';
29
30
  import { cancelSubscriptionTool } from './tools/cancel-subscription.js';
30
31
  import { pauseSubscriptionTool } from './tools/pause-subscription.js';
@@ -148,6 +149,7 @@ const STDIO_TOOLS = [
148
149
  createWebhookTool,
149
150
  manageWebhookTool,
150
151
  getXPostingQuotaTool,
152
+ posterlyStatusTool,
151
153
  ];
152
154
  // The tool registry (sets, labels, aliases) ships at the package root next to
153
155
  // tool-annotations.json; dist/index.js reads it from one level up.
@@ -652,6 +652,28 @@ export type CreditsSummaryResponse = {
652
652
  };
653
653
  };
654
654
  };
655
+ /** Mirrors AgentStatusResponse in lib/status/agent-status.ts (GET /api/v1/status). */
656
+ export type PosterlyStatusResponse = {
657
+ state: 'operational' | 'degraded' | 'partial_outage' | 'major_outage' | 'unknown';
658
+ state_basis: string;
659
+ insufficient_data: boolean;
660
+ counted_4h: number;
661
+ as_of: string;
662
+ incidents: {
663
+ platform: string;
664
+ state: string;
665
+ message: string;
666
+ }[];
667
+ platforms: {
668
+ platform: string;
669
+ state: 'operational' | 'degraded' | 'outage' | 'low_volume' | 'no_data';
670
+ success_rate_7d: number | null;
671
+ publishes_7d: number;
672
+ customer_side_failures_7d: number;
673
+ }[];
674
+ upcoming_scheduled_posts: number;
675
+ notes: string;
676
+ };
655
677
  export type CancelSubscriptionPayload = {
656
678
  reason: string;
657
679
  feedback?: string;
@@ -1501,6 +1523,7 @@ export declare class PosterlyClient {
1501
1523
  }): Promise<PublishMissedResponse>;
1502
1524
  getSubscription(): Promise<SubscriptionSummaryResponse>;
1503
1525
  getCredits(): Promise<CreditsSummaryResponse>;
1526
+ getStatus(): Promise<PosterlyStatusResponse>;
1504
1527
  cancelSubscription(data: CancelSubscriptionPayload): Promise<CancelSubscriptionResponse>;
1505
1528
  pauseSubscription(): Promise<PauseSubscriptionResponse>;
1506
1529
  resumeSubscription(): Promise<ResumeSubscriptionResponse>;
@@ -252,6 +252,9 @@ export class PosterlyClient {
252
252
  async getCredits() {
253
253
  return this.request('GET', '/credits');
254
254
  }
255
+ async getStatus() {
256
+ return this.request('GET', '/status');
257
+ }
255
258
  async cancelSubscription(data) {
256
259
  return this.request('POST', '/subscription/cancel', data);
257
260
  }
@@ -1 +1 @@
1
- export declare const POSTERLY_MCP_VERSION = "0.53.3";
1
+ export declare const POSTERLY_MCP_VERSION = "0.54.2";
@@ -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.53.3';
8
+ export const POSTERLY_MCP_VERSION = '0.54.2';
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import type { PosterlyClient } from '../lib/api-client.js';
3
+ export declare const posterlyStatusTool: {
4
+ name: string;
5
+ description: string;
6
+ inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
7
+ execute(client: PosterlyClient): Promise<string>;
8
+ };
@@ -0,0 +1,57 @@
1
+ import { z } from 'zod';
2
+ import { formatDateTime, mdBullets, mdKeyValue, mdSection, mdTitle } from '../lib/format.js';
3
+ const STATE_LABELS = {
4
+ operational: 'Operational',
5
+ degraded: 'Degraded performance',
6
+ partial_outage: 'Partial outage',
7
+ major_outage: 'Major outage',
8
+ unknown: 'Not enough recent activity to measure',
9
+ };
10
+ const PLATFORM_STATE_LABELS = {
11
+ operational: 'operational',
12
+ degraded: 'degraded',
13
+ outage: 'outage',
14
+ low_volume: 'low volume',
15
+ no_data: 'no data',
16
+ };
17
+ function formatPosterlyStatus(result) {
18
+ const incidents = Array.isArray(result.incidents) ? result.incidents : [];
19
+ const platforms = Array.isArray(result.platforms) ? result.platforms : [];
20
+ const platformRows = platforms.map((p) => {
21
+ const label = PLATFORM_STATE_LABELS[p.state] || p.state;
22
+ return [
23
+ p.platform,
24
+ p.success_rate_7d === null || p.success_rate_7d === undefined
25
+ ? `${label} (${p.publishes_7d ?? 0} publishes in 7 days)`
26
+ : `${label} (${p.success_rate_7d}% of ${p.publishes_7d ?? 0} publishes in 7 days)`,
27
+ ];
28
+ });
29
+ const excluded = platforms.reduce((sum, p) => sum + (Number(p.customer_side_failures_7d) || 0), 0);
30
+ return [
31
+ mdTitle('posterly publishing status', result.as_of ? `Computed ${formatDateTime(result.as_of)}` : undefined),
32
+ mdSection('Overall', mdKeyValue([
33
+ ['State', STATE_LABELS[result.state] || result.state],
34
+ ['Basis', result.state_basis || 'publishing success, last 4 hours'],
35
+ ['Posts counted in the success rate (last 4 hours)', String(result.counted_4h ?? 0)],
36
+ ['Enough recent activity to judge', result.insufficient_data ? 'no' : 'yes'],
37
+ ['Upcoming scheduled posts', String(result.upcoming_scheduled_posts ?? 0)],
38
+ ])),
39
+ incidents.length > 0
40
+ ? mdSection('Active incidents', mdBullets(incidents.map((i) => `${i.platform || 'unknown'}: ${i.message || i.state || 'incident'}`)))
41
+ : '',
42
+ platforms.length > 0 ? mdSection('Platforms (last 7 days)', mdKeyValue(platformRows)) : '',
43
+ result.insufficient_data && incidents.length === 0
44
+ ? 'Too few publishes in the last 4 hours to judge health. That is not an outage, and not a green light either.'
45
+ : '',
46
+ `Excluded from the rates: ${excluded} failures in the last 7 days caused by content or account problems (for example an expired connection or a content limit). They are not posterly's fault.`,
47
+ ].filter(Boolean).join('\n\n');
48
+ }
49
+ export const posterlyStatusTool = {
50
+ name: 'posterly_status',
51
+ description: "Check posterly's own publishing health: overall state from the last 4 hours of publishing success, any active incident (for example X being unavailable), and per-platform state with 7-day success rate and publish counts. Call it before scheduling a time-critical post, or when a user asks whether posterly or a platform is down or why posts are failing. Says so plainly when there is not enough recent activity to judge. Failures caused by content or account problems (expired connections, content limits) are excluded from the rates and reported separately as customer_side. Not the same as whoami view \"status\", which only reports the MCP server and npm package version. Read-only; aggregates only, no post or user data.",
52
+ inputSchema: z.object({}),
53
+ async execute(client) {
54
+ const result = await client.getStatus();
55
+ return formatPosterlyStatus(result);
56
+ },
57
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posterly-mcp-server",
3
- "version": "0.53.3",
3
+ "version": "0.54.2",
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.53.3",
6
+ "version": "0.54.2",
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.53.3",
16
+ "version": "0.54.2",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },
@@ -65,7 +65,8 @@
65
65
  "downgrade_subscription",
66
66
  "upgrade_subscription",
67
67
  "manage_extra_account",
68
- "get_updates"
68
+ "get_updates",
69
+ "posterly_status"
69
70
  ],
70
71
  "readOnlyTools": [
71
72
  "get_agent_signup_info",
@@ -98,7 +99,8 @@
98
99
  "list_webhooks",
99
100
  "get_credits",
100
101
  "get_subscription",
101
- "get_updates"
102
+ "get_updates",
103
+ "posterly_status"
102
104
  ],
103
105
  "destructiveTools": [
104
106
  "delete_api_key",
@@ -2092,6 +2092,19 @@
2092
2092
  "idempotent": true,
2093
2093
  "openWorld": false,
2094
2094
  "confirm": "none"
2095
+ },
2096
+ "posterly_status": {
2097
+ "set": "core",
2098
+ "label": "Publishing status",
2099
+ "exception": {
2100
+ "category": "report",
2101
+ "reason": "Reports posterly's own publishing health (overall state, incidents, per-platform rates), not the user's records. The name is not list_ or manage_ because it is a single read-only health report like whoami and get_updates."
2102
+ },
2103
+ "readOnly": true,
2104
+ "destructive": false,
2105
+ "idempotent": true,
2106
+ "openWorld": false,
2107
+ "confirm": "none"
2095
2108
  }
2096
2109
  },
2097
2110
  "aliases": {