posterly-mcp-server 0.48.1 → 0.48.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.48.1` exposes 62 tools covering 95 actions. The hosted HTTP endpoint exposes the same catalog minus the three signup tools: 59 tools covering 92 actions.
126
+ `posterly-mcp-server@0.48.2` exposes 62 tools covering 95 actions. The hosted HTTP endpoint exposes the same catalog minus the three signup tools: 59 tools covering 92 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
 
@@ -237,6 +237,10 @@ export type CreatePostResponse = {
237
237
  is_personal: boolean;
238
238
  resolved_from: 'explicit' | 'account' | 'personal';
239
239
  };
240
+ warnings?: Array<{
241
+ code: string;
242
+ message: string;
243
+ }>;
240
244
  };
241
245
  export type ValidatePostResponse = {
242
246
  dry_run: true;
@@ -1 +1 @@
1
- export declare const POSTERLY_MCP_VERSION = "0.48.1";
1
+ export declare const POSTERLY_MCP_VERSION = "0.48.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.48.1';
8
+ export const POSTERLY_MCP_VERSION = '0.48.2';
@@ -382,6 +382,12 @@ export const createPostTool = {
382
382
  if (ws) {
383
383
  lines.push(`• Workspace: ${ws.name} (${ws.id}) - resolved from ${ws.resolved_from}`);
384
384
  }
385
+ if (result.warnings && result.warnings.length > 0) {
386
+ lines.push('• Warnings:');
387
+ for (const warning of result.warnings) {
388
+ lines.push(` - ${warning.message || warning.code}`);
389
+ }
390
+ }
385
391
  lines.push('', 'Next step for the AI agent: tell the user the post is in posterly, share the dashboard link above, then ask whether they want to create another post, adjust this one, or connect another account.');
386
392
  return lines.join('\n');
387
393
  },
@@ -54,6 +54,12 @@ export const createPostsBatchTool = {
54
54
  for (const error of result.errors.slice(0, 25)) {
55
55
  lines.push(`• [${error.index}] ERROR ${error.status}: ${error.error}`);
56
56
  }
57
+ for (const item of result.posts.slice(0, 25)) {
58
+ const warnings = item.warnings || [];
59
+ for (const warning of warnings) {
60
+ lines.push(`• [${item.index}] WARNING ${warning.message || warning.code}`);
61
+ }
62
+ }
57
63
  lines.push('', 'Next step for the AI agent: tell the user which posts were created, share the dashboard link above, and ask whether they want to review the queue, adjust anything, or create the next post.');
58
64
  return lines.join('\n');
59
65
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posterly-mcp-server",
3
- "version": "0.48.1",
3
+ "version": "0.48.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.48.1",
6
+ "version": "0.48.2",
7
7
  "websiteUrl": "https://www.poster.ly/mcp",
8
8
  "repository": {
9
9
  "url": "https://github.com/awpthorp/posterly",
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "registryType": "npm",
16
16
  "identifier": "posterly-mcp-server",
17
- "version": "0.48.1",
17
+ "version": "0.48.2",
18
18
  "transport": {
19
19
  "type": "stdio"
20
20
  },
@@ -269,6 +269,7 @@ export type CreatePostPayload = {
269
269
  export type CreatePostResponse = {
270
270
  post: Post;
271
271
  workspace: { id: string; name: string; is_personal: boolean; resolved_from: 'explicit' | 'account' | 'personal' };
272
+ warnings?: Array<{ code: string; message: string }>;
272
273
  };
273
274
 
274
275
  export type ValidatePostResponse = {
@@ -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.48.1';
8
+ export const POSTERLY_MCP_VERSION = '0.48.2';
@@ -415,6 +415,12 @@ export const createPostTool = {
415
415
  if (ws) {
416
416
  lines.push(`• Workspace: ${ws.name} (${ws.id}) - resolved from ${ws.resolved_from}`);
417
417
  }
418
+ if (result.warnings && result.warnings.length > 0) {
419
+ lines.push('• Warnings:');
420
+ for (const warning of result.warnings) {
421
+ lines.push(` - ${warning.message || warning.code}`);
422
+ }
423
+ }
418
424
  lines.push(
419
425
  '',
420
426
  'Next step for the AI agent: tell the user the post is in posterly, share the dashboard link above, then ask whether they want to create another post, adjust this one, or connect another account.',
@@ -63,6 +63,13 @@ export const createPostsBatchTool = {
63
63
  lines.push(`• [${error.index}] ERROR ${error.status}: ${error.error}`);
64
64
  }
65
65
 
66
+ for (const item of result.posts.slice(0, 25)) {
67
+ const warnings = item.warnings || [];
68
+ for (const warning of warnings) {
69
+ lines.push(`• [${item.index}] WARNING ${warning.message || warning.code}`);
70
+ }
71
+ }
72
+
66
73
  lines.push(
67
74
  '',
68
75
  'Next step for the AI agent: tell the user which posts were created, share the dashboard link above, and ask whether they want to review the queue, adjust anything, or create the next post.',