posterly-mcp-server 0.54.6 → 0.55.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 +45 -4
- package/dist/generated/platform-manifest.d.ts +4 -4
- package/dist/generated/platform-manifest.js +9 -4
- package/dist/index.js +15 -2
- package/dist/lib/alias-transport.js +4 -0
- package/dist/lib/api-client.d.ts +148 -0
- package/dist/lib/api-client.js +84 -0
- package/dist/lib/claude-directory-profile.js +3 -1
- package/dist/lib/format.d.ts +44 -0
- package/dist/lib/format.js +125 -5
- package/dist/lib/gbp-location-preview.d.ts +21 -0
- package/dist/lib/gbp-location-preview.js +27 -0
- package/dist/lib/google-business-review-name.d.ts +4 -0
- package/dist/lib/google-business-review-name.js +11 -0
- package/dist/lib/id-schema.d.ts +14 -0
- package/dist/lib/id-schema.js +82 -0
- package/dist/lib/id-text.d.ts +26 -0
- package/dist/lib/id-text.js +63 -0
- package/dist/lib/reply-window.d.ts +5 -0
- package/dist/lib/reply-window.js +14 -0
- package/dist/lib/service-area-text.d.ts +27 -0
- package/dist/lib/service-area-text.js +41 -0
- package/dist/lib/suggestion-accept-note.d.ts +10 -0
- package/dist/lib/suggestion-accept-note.js +17 -0
- package/dist/lib/tool-registry.js +19 -2
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/audit-google-business-profile.js +7 -3
- package/dist/tools/connect-account.d.ts +2 -2
- package/dist/tools/create-connect-session.d.ts +2 -2
- package/dist/tools/create-post.d.ts +6 -6
- package/dist/tools/create-posts-batch.d.ts +4 -4
- package/dist/tools/create-webhook.d.ts +3 -3
- package/dist/tools/delete-post.d.ts +4 -4
- package/dist/tools/dismiss-suggestion.d.ts +7 -0
- package/dist/tools/dismiss-suggestion.js +21 -2
- package/dist/tools/find-slot.js +7 -4
- package/dist/tools/get-post.js +56 -5
- package/dist/tools/list-accounts.d.ts +4 -0
- package/dist/tools/list-accounts.js +25 -6
- package/dist/tools/list-analytics.d.ts +4 -0
- package/dist/tools/list-analytics.js +29 -7
- package/dist/tools/list-comments.js +13 -3
- package/dist/tools/list-conversations.d.ts +4 -4
- package/dist/tools/list-conversations.js +10 -5
- package/dist/tools/list-google-business-locations.d.ts +27 -0
- package/dist/tools/list-google-business-locations.js +35 -0
- package/dist/tools/list-google-business-media.d.ts +8 -0
- package/dist/tools/list-google-business-media.js +19 -5
- package/dist/tools/list-google-business-reviews.js +3 -2
- package/dist/tools/list-google-business-service-areas.d.ts +37 -0
- package/dist/tools/list-google-business-service-areas.js +33 -0
- package/dist/tools/list-media.js +3 -2
- package/dist/tools/list-platforms.d.ts +10 -10
- package/dist/tools/list-post-suggestions.js +5 -4
- package/dist/tools/list-posts.d.ts +8 -2
- package/dist/tools/list-posts.js +12 -2
- package/dist/tools/list-webhooks.d.ts +18 -1
- package/dist/tools/list-webhooks.js +22 -3
- package/dist/tools/list-workspace-members.js +3 -1
- package/dist/tools/manage-brands.d.ts +47 -0
- package/dist/tools/manage-brands.js +89 -0
- package/dist/tools/manage-comment.js +5 -1
- package/dist/tools/manage-google-business-location.d.ts +123 -0
- package/dist/tools/manage-google-business-location.js +97 -0
- package/dist/tools/manage-google-business-media.js +2 -0
- package/dist/tools/manage-google-business-review.js +29 -3
- package/dist/tools/manage-google-business-service-area.d.ts +74 -0
- package/dist/tools/manage-google-business-service-area.js +79 -0
- package/dist/tools/manage-webhook.d.ts +6 -6
- package/dist/tools/manage-x-posting-addon.d.ts +47 -0
- package/dist/tools/manage-x-posting-addon.js +92 -0
- package/dist/tools/trigger-platform-helper.d.ts +5 -5
- package/dist/tools/trigger-platform-helper.js +4 -1
- package/dist/tools/update-post.d.ts +14 -6
- package/dist/tools/update-post.js +23 -2
- package/dist/tools/upload-media.d.ts +12 -0
- package/dist/tools/upload-media.js +39 -3
- package/dist/tools/validate-post.d.ts +4 -4
- package/dist/tools/webhook-events.d.ts +2 -2
- package/dist/tools/webhook-events.js +2 -0
- package/dist/tools/whoami.d.ts +4 -0
- package/dist/tools/whoami.js +14 -6
- package/package.json +1 -1
- package/server.json +2 -2
- package/tool-annotations.json +21 -2
- package/tool-registry.json +239 -8
package/tool-registry.json
CHANGED
|
@@ -103,7 +103,12 @@
|
|
|
103
103
|
"identity": {
|
|
104
104
|
"label": "You, your scopes, and your workspaces",
|
|
105
105
|
"openWorld": false,
|
|
106
|
-
"params": {
|
|
106
|
+
"params": {
|
|
107
|
+
"include": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"enum": ["api_keys"]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
107
112
|
},
|
|
108
113
|
"status": {
|
|
109
114
|
"label": "MCP server and connection status",
|
|
@@ -252,6 +257,10 @@
|
|
|
252
257
|
},
|
|
253
258
|
"account_id": {
|
|
254
259
|
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
"connection": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"enum": ["ok", "needs_reconnect"]
|
|
255
264
|
}
|
|
256
265
|
}
|
|
257
266
|
},
|
|
@@ -529,6 +538,49 @@
|
|
|
529
538
|
}
|
|
530
539
|
}
|
|
531
540
|
},
|
|
541
|
+
"manage_brand": {
|
|
542
|
+
"set": "admin",
|
|
543
|
+
"label": "Create, update, or archive a brand",
|
|
544
|
+
"selector": "action",
|
|
545
|
+
"actions": {
|
|
546
|
+
"create": {
|
|
547
|
+
"label": "Create a brand",
|
|
548
|
+
"destructive": false,
|
|
549
|
+
"idempotent": false,
|
|
550
|
+
"openWorld": false,
|
|
551
|
+
"confirm": "confirm",
|
|
552
|
+
"params": {
|
|
553
|
+
"workspace_id": { "type": "string" },
|
|
554
|
+
"name": { "type": "string", "required": true },
|
|
555
|
+
"timezone": { "type": "string" },
|
|
556
|
+
"website_url": { "type": "string" }
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"update": {
|
|
560
|
+
"label": "Update a brand",
|
|
561
|
+
"destructive": true,
|
|
562
|
+
"idempotent": true,
|
|
563
|
+
"openWorld": false,
|
|
564
|
+
"confirm": "confirm",
|
|
565
|
+
"params": {
|
|
566
|
+
"brand_id": { "type": "string", "required": true },
|
|
567
|
+
"name": { "type": "string" },
|
|
568
|
+
"timezone": { "type": "string" },
|
|
569
|
+
"website_url": { "type": "string" }
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"archive": {
|
|
573
|
+
"label": "Archive a brand",
|
|
574
|
+
"destructive": true,
|
|
575
|
+
"idempotent": true,
|
|
576
|
+
"openWorld": false,
|
|
577
|
+
"confirm": "preview",
|
|
578
|
+
"params": {
|
|
579
|
+
"brand_id": { "type": "string", "required": true }
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
},
|
|
532
584
|
"list_post_suggestions": {
|
|
533
585
|
"set": "creative",
|
|
534
586
|
"label": "Post suggestions",
|
|
@@ -543,7 +595,7 @@
|
|
|
543
595
|
"label": "Dismiss a suggestion",
|
|
544
596
|
"exception": {
|
|
545
597
|
"category": "single_action",
|
|
546
|
-
"reason": "Dismissing
|
|
598
|
+
"reason": "Dismissing a suggestion, or saving that same suggestion as an unpublished draft, is one write on its id, so a manage_ wrapper would only rename the call."
|
|
547
599
|
},
|
|
548
600
|
"readOnly": false,
|
|
549
601
|
"destructive": true,
|
|
@@ -582,6 +634,12 @@
|
|
|
582
634
|
"approval_waiting_on": {
|
|
583
635
|
"type": "string"
|
|
584
636
|
},
|
|
637
|
+
"group_id": {
|
|
638
|
+
"type": "string"
|
|
639
|
+
},
|
|
640
|
+
"release_id": {
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
585
643
|
"timezone": {
|
|
586
644
|
"type": "string"
|
|
587
645
|
},
|
|
@@ -634,6 +692,12 @@
|
|
|
634
692
|
"approval_waiting_on": {
|
|
635
693
|
"type": "string"
|
|
636
694
|
},
|
|
695
|
+
"group_id": {
|
|
696
|
+
"type": "string"
|
|
697
|
+
},
|
|
698
|
+
"release_id": {
|
|
699
|
+
"type": "string"
|
|
700
|
+
},
|
|
637
701
|
"timezone": {
|
|
638
702
|
"type": "string"
|
|
639
703
|
},
|
|
@@ -827,6 +891,12 @@
|
|
|
827
891
|
"post_type": {
|
|
828
892
|
"type": "string"
|
|
829
893
|
},
|
|
894
|
+
"account_id": {
|
|
895
|
+
"type": "string"
|
|
896
|
+
},
|
|
897
|
+
"thread_posts": {
|
|
898
|
+
"type": "array"
|
|
899
|
+
},
|
|
830
900
|
"metadata": {
|
|
831
901
|
"type": "object"
|
|
832
902
|
},
|
|
@@ -1008,12 +1078,38 @@
|
|
|
1008
1078
|
"openWorld": true,
|
|
1009
1079
|
"confirm": "none"
|
|
1010
1080
|
},
|
|
1081
|
+
"manage_x_posting_addon": {
|
|
1082
|
+
"set": "billing",
|
|
1083
|
+
"label": "Buy an X posting add-on",
|
|
1084
|
+
"exception": {
|
|
1085
|
+
"category": "money",
|
|
1086
|
+
"reason": "Buying an X posting add-on opens Stripe Checkout and does not charge until that page is paid. Read the allowance with get_x_posting_quota."
|
|
1087
|
+
},
|
|
1088
|
+
"selector": "action",
|
|
1089
|
+
"actions": {
|
|
1090
|
+
"buy": {
|
|
1091
|
+
"label": "Buy an X posting add-on",
|
|
1092
|
+
"destructive": true,
|
|
1093
|
+
"idempotent": false,
|
|
1094
|
+
"openWorld": true,
|
|
1095
|
+
"confirm": "preview",
|
|
1096
|
+
"nonce": true,
|
|
1097
|
+
"params": {
|
|
1098
|
+
"plan_code": { "type": "string", "enum": ["x_posts_100", "x_posts_250", "x_posts_500"] },
|
|
1099
|
+
"workspace_id": { "type": "string" },
|
|
1100
|
+
"expected_addon_status": { "type": "string" },
|
|
1101
|
+
"expected_plan_code": { "type": "string" },
|
|
1102
|
+
"expected_price_usd": { "type": "number" }
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1011
1107
|
"upload_media": {
|
|
1012
1108
|
"set": "core",
|
|
1013
1109
|
"label": "Upload media",
|
|
1014
1110
|
"exception": {
|
|
1015
1111
|
"category": "single_action",
|
|
1016
|
-
"reason": "Uploading
|
|
1112
|
+
"reason": "Uploading a library file, and deleting one, are the library writes. The url, base64, and file path options are input variants of upload."
|
|
1017
1113
|
},
|
|
1018
1114
|
"selector": "params",
|
|
1019
1115
|
"defaultMode": "file",
|
|
@@ -1043,6 +1139,25 @@
|
|
|
1043
1139
|
}
|
|
1044
1140
|
}
|
|
1045
1141
|
},
|
|
1142
|
+
"delete": {
|
|
1143
|
+
"label": "Delete a library file",
|
|
1144
|
+
"destructive": true,
|
|
1145
|
+
"idempotent": true,
|
|
1146
|
+
"openWorld": false,
|
|
1147
|
+
"confirm": "preview",
|
|
1148
|
+
"when": [
|
|
1149
|
+
"asset_id"
|
|
1150
|
+
],
|
|
1151
|
+
"params": {
|
|
1152
|
+
"asset_id": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"required": true
|
|
1155
|
+
},
|
|
1156
|
+
"workspace_id": {
|
|
1157
|
+
"type": "string"
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1046
1161
|
"url": {
|
|
1047
1162
|
"label": "Upload from a URL",
|
|
1048
1163
|
"destructive": false,
|
|
@@ -1251,6 +1366,9 @@
|
|
|
1251
1366
|
"table",
|
|
1252
1367
|
"json"
|
|
1253
1368
|
]
|
|
1369
|
+
},
|
|
1370
|
+
"include_extras": {
|
|
1371
|
+
"type": "boolean"
|
|
1254
1372
|
}
|
|
1255
1373
|
}
|
|
1256
1374
|
},
|
|
@@ -1568,6 +1686,104 @@
|
|
|
1568
1686
|
}
|
|
1569
1687
|
}
|
|
1570
1688
|
},
|
|
1689
|
+
"list_google_business_service_areas": {
|
|
1690
|
+
"set": "google_business",
|
|
1691
|
+
"label": "Google service areas",
|
|
1692
|
+
"selector": "view",
|
|
1693
|
+
"defaultMode": "areas",
|
|
1694
|
+
"views": {
|
|
1695
|
+
"areas": {
|
|
1696
|
+
"label": "Service areas on a location",
|
|
1697
|
+
"openWorld": true,
|
|
1698
|
+
"params": {
|
|
1699
|
+
"workspace_id": { "type": "string" },
|
|
1700
|
+
"account_id": { "type": "integer", "min": 1 },
|
|
1701
|
+
"location_id": { "type": "string" }
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
"places": {
|
|
1705
|
+
"label": "Search towns and postcodes",
|
|
1706
|
+
"openWorld": true,
|
|
1707
|
+
"params": {
|
|
1708
|
+
"workspace_id": { "type": "string" },
|
|
1709
|
+
"q": { "type": "string", "required": true },
|
|
1710
|
+
"region_code": { "type": "string" }
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
"manage_google_business_service_area": {
|
|
1716
|
+
"set": "google_business",
|
|
1717
|
+
"label": "Update Google service areas",
|
|
1718
|
+
"selector": "action",
|
|
1719
|
+
"actions": {
|
|
1720
|
+
"update": {
|
|
1721
|
+
"label": "Replace service areas",
|
|
1722
|
+
"destructive": false,
|
|
1723
|
+
"idempotent": true,
|
|
1724
|
+
"openWorld": true,
|
|
1725
|
+
"confirm": "preview",
|
|
1726
|
+
"nonce": false,
|
|
1727
|
+
"params": {
|
|
1728
|
+
"workspace_id": { "type": "string" },
|
|
1729
|
+
"account_id": { "type": "integer", "min": 1 },
|
|
1730
|
+
"location_id": { "type": "string" },
|
|
1731
|
+
"business_type": {
|
|
1732
|
+
"type": "string",
|
|
1733
|
+
"required": true,
|
|
1734
|
+
"enum": ["CUSTOMER_LOCATION_ONLY", "CUSTOMER_AND_BUSINESS_LOCATION"]
|
|
1735
|
+
},
|
|
1736
|
+
"region_code": { "type": "string" },
|
|
1737
|
+
"places": { "type": "array", "required": true },
|
|
1738
|
+
"clear_storefront_address": { "type": "boolean" }
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"list_google_business_locations": {
|
|
1744
|
+
"set": "google_business",
|
|
1745
|
+
"label": "Google location hours",
|
|
1746
|
+
"readOnly": true,
|
|
1747
|
+
"destructive": false,
|
|
1748
|
+
"idempotent": true,
|
|
1749
|
+
"openWorld": true,
|
|
1750
|
+
"confirm": "none"
|
|
1751
|
+
},
|
|
1752
|
+
"manage_google_business_location": {
|
|
1753
|
+
"set": "google_business",
|
|
1754
|
+
"label": "Manage a Google location",
|
|
1755
|
+
"selector": "action",
|
|
1756
|
+
"actions": {
|
|
1757
|
+
"update_hours": {
|
|
1758
|
+
"label": "Update regular hours",
|
|
1759
|
+
"destructive": true,
|
|
1760
|
+
"idempotent": true,
|
|
1761
|
+
"openWorld": true,
|
|
1762
|
+
"confirm": "preview",
|
|
1763
|
+
"nonce": true,
|
|
1764
|
+
"params": {
|
|
1765
|
+
"workspace_id": { "type": "string" },
|
|
1766
|
+
"account_id": { "type": "integer", "min": 1 },
|
|
1767
|
+
"location_id": { "type": "string" },
|
|
1768
|
+
"regular_hours": { "type": "object", "required": true }
|
|
1769
|
+
}
|
|
1770
|
+
},
|
|
1771
|
+
"update_attributes": {
|
|
1772
|
+
"label": "Update attributes",
|
|
1773
|
+
"destructive": true,
|
|
1774
|
+
"idempotent": true,
|
|
1775
|
+
"openWorld": true,
|
|
1776
|
+
"confirm": "preview",
|
|
1777
|
+
"nonce": true,
|
|
1778
|
+
"params": {
|
|
1779
|
+
"workspace_id": { "type": "string" },
|
|
1780
|
+
"account_id": { "type": "integer", "min": 1 },
|
|
1781
|
+
"location_id": { "type": "string" },
|
|
1782
|
+
"attributes": { "type": "array", "required": true }
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1571
1787
|
"list_conversations": {
|
|
1572
1788
|
"set": "inbox",
|
|
1573
1789
|
"label": "Conversations",
|
|
@@ -1833,11 +2049,26 @@
|
|
|
1833
2049
|
"list_webhooks": {
|
|
1834
2050
|
"set": "admin",
|
|
1835
2051
|
"label": "Webhooks",
|
|
1836
|
-
"
|
|
1837
|
-
"
|
|
1838
|
-
"
|
|
1839
|
-
|
|
1840
|
-
|
|
2052
|
+
"selector": "view",
|
|
2053
|
+
"defaultMode": "webhooks",
|
|
2054
|
+
"views": {
|
|
2055
|
+
"webhooks": {
|
|
2056
|
+
"label": "Webhook subscriptions",
|
|
2057
|
+
"openWorld": false,
|
|
2058
|
+
"params": {
|
|
2059
|
+
"workspace_id": { "type": "string" }
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
"deliveries": {
|
|
2063
|
+
"label": "Webhook deliveries",
|
|
2064
|
+
"openWorld": false,
|
|
2065
|
+
"params": {
|
|
2066
|
+
"webhook_id": { "type": "string", "required": true },
|
|
2067
|
+
"limit": { "type": "integer", "min": 1, "max": 50 },
|
|
2068
|
+
"offset": { "type": "integer", "min": 0 }
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
1841
2072
|
},
|
|
1842
2073
|
"create_webhook": {
|
|
1843
2074
|
"set": "admin",
|