posterly-mcp-server 0.55.0 → 0.56.1
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 +11 -4
- package/dist/index.js +9 -1
- package/dist/lib/api-client.d.ts +21 -3
- package/dist/lib/api-client.js +26 -7
- package/dist/lib/id-schema.js +7 -1
- package/dist/lib/idempotency.d.ts +45 -0
- package/dist/lib/idempotency.js +83 -0
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/create-api-key.d.ts +3 -0
- package/dist/tools/create-api-key.js +3 -1
- package/dist/tools/create-post.d.ts +27 -0
- package/dist/tools/create-post.js +27 -8
- package/dist/tools/create-posts-batch.d.ts +16 -0
- package/dist/tools/create-posts-batch.js +25 -5
- package/dist/tools/generate-image.js +1 -1
- package/dist/tools/get-subscription.js +1 -1
- package/dist/tools/list-posts.js +1 -1
- package/dist/tools/manage-google-business-location.js +2 -2
- package/dist/tools/manage-plan.d.ts +21 -0
- package/dist/tools/manage-plan.js +65 -0
- package/dist/tools/manage-workspace-member.d.ts +4 -0
- package/dist/tools/manage-workspace-member.js +14 -1
- package/dist/tools/trigger-platform-helper.js +4 -1
- package/dist/tools/update-post.d.ts +8 -0
- package/dist/tools/update-post.js +8 -1
- package/dist/tools/validate-post.d.ts +16 -0
- package/package.json +2 -2
- package/server.json +2 -2
- package/tool-annotations.json +2 -0
- package/tool-registry.json +37 -1
|
@@ -313,6 +313,7 @@ export declare const validatePostInputSchema: import("zod").ZodObject<{
|
|
|
313
313
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
314
314
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
315
315
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
316
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
316
317
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
317
318
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
318
319
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -462,6 +463,7 @@ export declare const validatePostInputSchema: import("zod").ZodObject<{
|
|
|
462
463
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
463
464
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
464
465
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
466
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
465
467
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
466
468
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
467
469
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -611,6 +613,7 @@ export declare const validatePostInputSchema: import("zod").ZodObject<{
|
|
|
611
613
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
612
614
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
613
615
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
616
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
614
617
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
615
618
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
616
619
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -681,6 +684,7 @@ export declare const validatePostInputSchema: import("zod").ZodObject<{
|
|
|
681
684
|
ai_generated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
682
685
|
}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
683
686
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
687
|
+
idempotency_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
684
688
|
}, "strip", import("zod").ZodTypeAny, {
|
|
685
689
|
platform?: "instagram" | "instagram-standalone" | "facebook" | "tiktok" | "twitter" | "threads" | "linkedin" | "youtube" | "pinterest" | "google_business" | "x" | "bluesky" | "telegram" | "discord" | "wordpress" | "devto" | "hashnode" | "lemmy" | "slack" | "mastodon" | "gmb" | "google-business" | "google_business_profile" | undefined;
|
|
686
690
|
account_id?: string | undefined;
|
|
@@ -691,6 +695,7 @@ export declare const validatePostInputSchema: import("zod").ZodObject<{
|
|
|
691
695
|
media_url?: string | undefined;
|
|
692
696
|
media_urls?: string[] | undefined;
|
|
693
697
|
post_type?: string | undefined;
|
|
698
|
+
idempotency_key?: string | undefined;
|
|
694
699
|
thread_posts?: string[] | undefined;
|
|
695
700
|
instagram_settings?: {
|
|
696
701
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -823,6 +828,7 @@ export declare const validatePostInputSchema: import("zod").ZodObject<{
|
|
|
823
828
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
824
829
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
825
830
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
831
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
826
832
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
827
833
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
828
834
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -902,6 +908,7 @@ export declare const validatePostInputSchema: import("zod").ZodObject<{
|
|
|
902
908
|
media_url?: string | undefined;
|
|
903
909
|
media_urls?: string[] | undefined;
|
|
904
910
|
post_type?: string | undefined;
|
|
911
|
+
idempotency_key?: string | undefined;
|
|
905
912
|
thread_posts?: string[] | undefined;
|
|
906
913
|
instagram_settings?: {
|
|
907
914
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -1034,6 +1041,7 @@ export declare const validatePostInputSchema: import("zod").ZodObject<{
|
|
|
1034
1041
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
1035
1042
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1036
1043
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1044
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
1037
1045
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1038
1046
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1039
1047
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1421,6 +1429,7 @@ export declare const validatePostTool: {
|
|
|
1421
1429
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
1422
1430
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1423
1431
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1432
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
1424
1433
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1425
1434
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1426
1435
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1570,6 +1579,7 @@ export declare const validatePostTool: {
|
|
|
1570
1579
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
1571
1580
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1572
1581
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1582
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
1573
1583
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1574
1584
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1575
1585
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1719,6 +1729,7 @@ export declare const validatePostTool: {
|
|
|
1719
1729
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
1720
1730
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1721
1731
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1732
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
1722
1733
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1723
1734
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1724
1735
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1789,6 +1800,7 @@ export declare const validatePostTool: {
|
|
|
1789
1800
|
ai_generated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1790
1801
|
}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
1791
1802
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1803
|
+
idempotency_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1792
1804
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1793
1805
|
platform?: "instagram" | "instagram-standalone" | "facebook" | "tiktok" | "twitter" | "threads" | "linkedin" | "youtube" | "pinterest" | "google_business" | "x" | "bluesky" | "telegram" | "discord" | "wordpress" | "devto" | "hashnode" | "lemmy" | "slack" | "mastodon" | "gmb" | "google-business" | "google_business_profile" | undefined;
|
|
1794
1806
|
account_id?: string | undefined;
|
|
@@ -1799,6 +1811,7 @@ export declare const validatePostTool: {
|
|
|
1799
1811
|
media_url?: string | undefined;
|
|
1800
1812
|
media_urls?: string[] | undefined;
|
|
1801
1813
|
post_type?: string | undefined;
|
|
1814
|
+
idempotency_key?: string | undefined;
|
|
1802
1815
|
thread_posts?: string[] | undefined;
|
|
1803
1816
|
instagram_settings?: {
|
|
1804
1817
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -1931,6 +1944,7 @@ export declare const validatePostTool: {
|
|
|
1931
1944
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
1932
1945
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1933
1946
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1947
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
1934
1948
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1935
1949
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1936
1950
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -2010,6 +2024,7 @@ export declare const validatePostTool: {
|
|
|
2010
2024
|
media_url?: string | undefined;
|
|
2011
2025
|
media_urls?: string[] | undefined;
|
|
2012
2026
|
post_type?: string | undefined;
|
|
2027
|
+
idempotency_key?: string | undefined;
|
|
2013
2028
|
thread_posts?: string[] | undefined;
|
|
2014
2029
|
instagram_settings?: {
|
|
2015
2030
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -2142,6 +2157,7 @@ export declare const validatePostTool: {
|
|
|
2142
2157
|
content_call_to_action_label: import("zod").ZodOptional<import("zod").ZodEnum<["APPLY", "DOWNLOAD", "VIEW_QUOTE", "LEARN_MORE", "SIGN_UP", "SUBSCRIBE", "REGISTER", "JOIN", "ATTEND", "REQUEST_DEMO", "SEE_MORE", "BUY_NOW", "SHOP_NOW"]>>;
|
|
2143
2158
|
content_landing_page: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2144
2159
|
privacy_level: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2160
|
+
post_mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "inbox"]>>;
|
|
2145
2161
|
allow_comment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2146
2162
|
allow_duet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2147
2163
|
allow_stitch: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posterly-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.1",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"test:alias-transport": "npm run build && node scripts/test-alias-transport.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@modelcontextprotocol/sdk": "1.
|
|
49
|
+
"@modelcontextprotocol/sdk": "1.32.1",
|
|
50
50
|
"zod": "^3.24.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
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.
|
|
6
|
+
"version": "0.56.1",
|
|
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.
|
|
16
|
+
"version": "0.56.1",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
},
|
package/tool-annotations.json
CHANGED
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"manage_webhook",
|
|
65
65
|
"get_credits",
|
|
66
66
|
"get_subscription",
|
|
67
|
+
"manage_plan",
|
|
67
68
|
"cancel_subscription",
|
|
68
69
|
"pause_subscription",
|
|
69
70
|
"resume_subscription",
|
|
@@ -190,6 +191,7 @@
|
|
|
190
191
|
"manage_webhook",
|
|
191
192
|
"get_credits",
|
|
192
193
|
"get_subscription",
|
|
194
|
+
"manage_plan",
|
|
193
195
|
"cancel_subscription",
|
|
194
196
|
"pause_subscription",
|
|
195
197
|
"resume_subscription",
|
package/tool-registry.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"version": 1,
|
|
4
4
|
"designRules": "on",
|
|
5
5
|
"budgets": {
|
|
6
|
-
"maxTotal":
|
|
6
|
+
"maxTotal": 71,
|
|
7
7
|
"maxCore": 30
|
|
8
8
|
},
|
|
9
9
|
"sunset": "2027-01-12",
|
|
@@ -2172,6 +2172,42 @@
|
|
|
2172
2172
|
"openWorld": true,
|
|
2173
2173
|
"confirm": "none"
|
|
2174
2174
|
},
|
|
2175
|
+
"manage_plan": {
|
|
2176
|
+
"set": "billing",
|
|
2177
|
+
"label": "Plans and confirm link",
|
|
2178
|
+
"exception": {
|
|
2179
|
+
"category": "money",
|
|
2180
|
+
"reason": "Confirming the link charges the saved card and ends the trial; plans are read with the list action."
|
|
2181
|
+
},
|
|
2182
|
+
"selector": "action",
|
|
2183
|
+
"actions": {
|
|
2184
|
+
"list": {
|
|
2185
|
+
"label": "List plans",
|
|
2186
|
+
"destructive": false,
|
|
2187
|
+
"idempotent": true,
|
|
2188
|
+
"openWorld": true,
|
|
2189
|
+
"confirm": "none",
|
|
2190
|
+
"params": {}
|
|
2191
|
+
},
|
|
2192
|
+
"confirm_link": {
|
|
2193
|
+
"label": "Create a confirm link",
|
|
2194
|
+
"destructive": false,
|
|
2195
|
+
"idempotent": false,
|
|
2196
|
+
"openWorld": true,
|
|
2197
|
+
"confirm": "none",
|
|
2198
|
+
"params": {
|
|
2199
|
+
"tier": {
|
|
2200
|
+
"type": "string",
|
|
2201
|
+
"enum": ["starter", "pro", "power_user", "agency"]
|
|
2202
|
+
},
|
|
2203
|
+
"interval": {
|
|
2204
|
+
"type": "string",
|
|
2205
|
+
"enum": ["week", "month", "year"]
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2175
2211
|
"cancel_subscription": {
|
|
2176
2212
|
"set": "billing",
|
|
2177
2213
|
"label": "Cancel subscription",
|