posterly-mcp-server 0.47.0 → 0.48.0

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.47.0` 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.0` 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
 
@@ -217,7 +217,7 @@ Accounts, posting, media, schedule, analytics, and support. What most assistants
217
217
 
218
218
  | Mode (picked by params) | What it does |
219
219
  | --- | --- |
220
- | `post` (default) | Delete one post. Published Instagram or Facebook posts also need `confirm_published` |
220
+ | `post` (default) | Delete one post. Choose `delete_mode`: `posterly` keeps live content; `platform` also requires `confirm_published` |
221
221
  | `group` (pass `group_id`) | Delete a post group (preview then confirm). Never deletes published posts |
222
222
 
223
223
  **`upload_media`**: Upload media
@@ -194,6 +194,23 @@ export interface InstagramPostSettings {
194
194
  }>;
195
195
  reel_cover_url?: string;
196
196
  reel_thumb_offset?: number;
197
+ is_ai_generated?: boolean;
198
+ audio_id?: string;
199
+ caption_addon?: {
200
+ type?: 'none' | 'poll' | 'comment_prompt';
201
+ kind?: 'none' | 'poll' | 'comment_prompt';
202
+ options?: string[];
203
+ extended_duration?: boolean;
204
+ } | null;
205
+ poll_attachment?: {
206
+ option_a?: string;
207
+ option_b?: string;
208
+ option_c?: string;
209
+ option_d?: string;
210
+ options?: string[];
211
+ };
212
+ is_comment_prompt_used?: boolean;
213
+ is_poll_duration_extended?: boolean;
197
214
  }
198
215
  export type PlatformPostSettings = Record<string, unknown>;
199
216
  export type CreatePostPayload = {
@@ -1248,6 +1265,7 @@ export declare class PosterlyClient {
1248
1265
  }>;
1249
1266
  deletePost(id: number, options?: {
1250
1267
  confirmPublished?: boolean;
1268
+ deleteMode?: 'posterly' | 'platform';
1251
1269
  }): Promise<{
1252
1270
  deleted: boolean;
1253
1271
  id: number;
@@ -378,7 +378,12 @@ export class PosterlyClient {
378
378
  return this.request('PATCH', `/posts/${id}`, data);
379
379
  }
380
380
  async deletePost(id, options) {
381
- const qs = options?.confirmPublished ? '?confirm_published=true' : '';
381
+ const params = new URLSearchParams();
382
+ if (options?.confirmPublished)
383
+ params.set('confirm_published', 'true');
384
+ if (options?.deleteMode)
385
+ params.set('delete_mode', options.deleteMode);
386
+ const qs = params.size ? `?${params}` : '';
382
387
  return this.request('DELETE', `/posts/${id}${qs}`);
383
388
  }
384
389
  async setPostApproval(id, data) {
@@ -1 +1 @@
1
- export declare const POSTERLY_MCP_VERSION = "0.47.0";
1
+ export declare const POSTERLY_MCP_VERSION = "0.48.0";
@@ -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.47.0';
8
+ export const POSTERLY_MCP_VERSION = '0.48.0';