@voxburst/mcp-server 0.2.2 → 0.3.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/dist/__tests__/tools.test.js +13 -6
- package/dist/__tests__/tools.test.js.map +1 -1
- package/dist/client.d.ts +134 -14
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +49 -3
- package/dist/client.js.map +1 -1
- package/dist/index.js +29 -8
- package/dist/index.js.map +1 -1
- package/dist/middleware/auth.d.ts +2 -6
- package/dist/middleware/auth.d.ts.map +1 -1
- package/dist/middleware/auth.js +2 -4
- package/dist/middleware/auth.js.map +1 -1
- package/dist/resources/accounts.d.ts +2 -1
- package/dist/resources/accounts.d.ts.map +1 -1
- package/dist/resources/accounts.js +30 -18
- package/dist/resources/accounts.js.map +1 -1
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +3 -1
- package/dist/resources/index.js.map +1 -1
- package/dist/resources/posts.d.ts +2 -1
- package/dist/resources/posts.d.ts.map +1 -1
- package/dist/resources/posts.js +32 -23
- package/dist/resources/posts.js.map +1 -1
- package/dist/tools/accounts.js +2 -2
- package/dist/tools/accounts.js.map +1 -1
- package/dist/tools/analytics.d.ts +35 -1
- package/dist/tools/analytics.d.ts.map +1 -1
- package/dist/tools/analytics.js +31 -1
- package/dist/tools/analytics.js.map +1 -1
- package/dist/tools/index.d.ts +131 -5
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +5 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/posts.d.ts +198 -14
- package/dist/tools/posts.d.ts.map +1 -1
- package/dist/tools/posts.js +174 -22
- package/dist/tools/posts.js.map +1 -1
- package/package.json +2 -1
package/dist/tools/posts.js
CHANGED
|
@@ -3,26 +3,35 @@
|
|
|
3
3
|
* Post Management MCP Tools
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ValidateContentSchema = exports.DeletePostSchema = exports.GetPostSchema = exports.ListPostsSchema = exports.CreatePostSchema = void 0;
|
|
6
|
+
exports.RetryPostSchema = exports.UpdatePostSchema = exports.CancelPostSchema = exports.ValidateContentSchema = exports.DeletePostSchema = exports.GetPostSchema = exports.ListPostsSchema = exports.CreatePostSchema = void 0;
|
|
7
7
|
exports.getPostTools = getPostTools;
|
|
8
8
|
exports.handleCreatePost = handleCreatePost;
|
|
9
9
|
exports.handleListPosts = handleListPosts;
|
|
10
10
|
exports.handleGetPost = handleGetPost;
|
|
11
11
|
exports.handleDeletePost = handleDeletePost;
|
|
12
12
|
exports.handleValidateContent = handleValidateContent;
|
|
13
|
+
exports.handleCancelPost = handleCancelPost;
|
|
14
|
+
exports.handleUpdatePost = handleUpdatePost;
|
|
15
|
+
exports.handleRetryPost = handleRetryPost;
|
|
13
16
|
const zod_1 = require("zod");
|
|
17
|
+
const CONTENT_TYPES = ['TEXT', 'IMAGE', 'VIDEO', 'CAROUSEL', 'THREAD', 'STORY', 'REEL'];
|
|
14
18
|
// Input schemas using Zod for validation
|
|
15
19
|
exports.CreatePostSchema = zod_1.z.object({
|
|
16
20
|
content: zod_1.z.string().min(1).max(10000).describe('The text content of the post'),
|
|
17
|
-
mediaUrls: zod_1.z.array(zod_1.z.string().url()).optional().describe('
|
|
21
|
+
mediaUrls: zod_1.z.array(zod_1.z.string().url()).optional().describe('Public media URLs to attach (auto-registered with VoxBurst). Use for CDN/hosted images and videos.'),
|
|
22
|
+
mediaIds: zod_1.z.array(zod_1.z.string()).optional().describe('VoxBurst media IDs for pre-uploaded files (from POST /v1/media/upload). Use when you have already uploaded media.'),
|
|
18
23
|
accountIds: zod_1.z.array(zod_1.z.string()).min(1).describe('Array of account IDs to post to'),
|
|
19
24
|
scheduledFor: zod_1.z.string().datetime().optional().describe('ISO 8601 datetime to schedule the post'),
|
|
25
|
+
saveAsDraft: zod_1.z.boolean().optional().describe('Save as draft instead of publishing immediately'),
|
|
26
|
+
contentType: zod_1.z.enum(CONTENT_TYPES).optional().describe('Content type: IMAGE, VIDEO, CAROUSEL, REEL, STORY, TEXT, or THREAD. Required for Instagram Reels and carousels.'),
|
|
27
|
+
firstComment: zod_1.z.string().max(2200).optional().describe('Text to auto-post as a comment immediately after publishing (max 2,200 characters)'),
|
|
28
|
+
firstCommentDelay: zod_1.z.number().int().min(0).max(3600).optional().describe('Seconds to wait before posting the first comment (0–3600, default 0)'),
|
|
20
29
|
});
|
|
21
30
|
exports.ListPostsSchema = zod_1.z.object({
|
|
22
|
-
status: zod_1.z.enum(['draft', 'scheduled', 'published', 'failed']).optional().describe('Filter by post status'),
|
|
31
|
+
status: zod_1.z.enum(['draft', 'approved', 'scheduled', 'publishing', 'published', 'failed', 'partial', 'cancelled', 'unpublished', 'archived', 'all']).optional().describe('Filter by post status'),
|
|
23
32
|
accountId: zod_1.z.string().optional().describe('Filter by account ID'),
|
|
24
33
|
limit: zod_1.z.number().int().min(1).max(100).default(20).optional().describe('Maximum number of posts to return'),
|
|
25
|
-
|
|
34
|
+
cursor: zod_1.z.string().optional().describe('Pagination cursor from previous response'),
|
|
26
35
|
});
|
|
27
36
|
exports.GetPostSchema = zod_1.z.object({
|
|
28
37
|
postId: zod_1.z.string().describe('The unique identifier of the post'),
|
|
@@ -32,7 +41,24 @@ exports.DeletePostSchema = zod_1.z.object({
|
|
|
32
41
|
});
|
|
33
42
|
exports.ValidateContentSchema = zod_1.z.object({
|
|
34
43
|
content: zod_1.z.string().min(1).describe('The content to validate'),
|
|
35
|
-
|
|
44
|
+
platforms: zod_1.z.array(zod_1.z.string()).min(1).describe('Platform names to validate against, e.g. ["TWITTER", "INSTAGRAM"]'),
|
|
45
|
+
});
|
|
46
|
+
exports.CancelPostSchema = zod_1.z.object({
|
|
47
|
+
postId: zod_1.z.string().describe('The unique identifier of the post to cancel'),
|
|
48
|
+
});
|
|
49
|
+
exports.UpdatePostSchema = zod_1.z.object({
|
|
50
|
+
postId: zod_1.z.string().describe('The unique identifier of the post to update'),
|
|
51
|
+
content: zod_1.z.string().optional().describe('New text content for the post'),
|
|
52
|
+
scheduledFor: zod_1.z.string().datetime().optional().describe('New ISO 8601 datetime to schedule the post'),
|
|
53
|
+
accountIds: zod_1.z.array(zod_1.z.string()).optional().describe('New array of account IDs to post to'),
|
|
54
|
+
contentType: zod_1.z.enum(CONTENT_TYPES).optional().describe('New content type: IMAGE, VIDEO, CAROUSEL, REEL, STORY, TEXT, or THREAD'),
|
|
55
|
+
firstComment: zod_1.z.string().max(2200).optional().describe('First comment text (max 2,200 characters)'),
|
|
56
|
+
firstCommentDelay: zod_1.z.number().int().min(0).max(3600).optional().describe('Seconds before posting the first comment (0–3600)'),
|
|
57
|
+
media: zod_1.z.array(zod_1.z.string()).optional().describe('Replace attached media — pass an array of VoxBurst media IDs'),
|
|
58
|
+
platformOverrides: zod_1.z.record(zod_1.z.string(), zod_1.z.object({ content: zod_1.z.string().optional() })).optional().describe('Per-platform content overrides keyed by platform constant (e.g. { "INSTAGRAM": { "content": "..." } })'),
|
|
59
|
+
});
|
|
60
|
+
exports.RetryPostSchema = zod_1.z.object({
|
|
61
|
+
postId: zod_1.z.string().describe('The unique identifier of the failed post to retry'),
|
|
36
62
|
});
|
|
37
63
|
// Tool definitions
|
|
38
64
|
function getPostTools() {
|
|
@@ -50,7 +76,12 @@ function getPostTools() {
|
|
|
50
76
|
mediaUrls: {
|
|
51
77
|
type: 'array',
|
|
52
78
|
items: { type: 'string' },
|
|
53
|
-
description: '
|
|
79
|
+
description: 'Public media URLs to attach (images, videos). Each URL is automatically registered with VoxBurst. Use for publicly accessible CDN/hosted files.',
|
|
80
|
+
},
|
|
81
|
+
mediaIds: {
|
|
82
|
+
type: 'array',
|
|
83
|
+
items: { type: 'string' },
|
|
84
|
+
description: 'VoxBurst media IDs for pre-uploaded files (from POST /v1/media/upload). Use when you have already uploaded media to VoxBurst.',
|
|
54
85
|
},
|
|
55
86
|
accountIds: {
|
|
56
87
|
type: 'array',
|
|
@@ -61,6 +92,23 @@ function getPostTools() {
|
|
|
61
92
|
type: 'string',
|
|
62
93
|
description: 'ISO 8601 datetime to schedule the post (optional, posts immediately if not set)',
|
|
63
94
|
},
|
|
95
|
+
saveAsDraft: {
|
|
96
|
+
type: 'boolean',
|
|
97
|
+
description: 'Save as draft instead of publishing immediately',
|
|
98
|
+
},
|
|
99
|
+
contentType: {
|
|
100
|
+
type: 'string',
|
|
101
|
+
enum: ['TEXT', 'IMAGE', 'VIDEO', 'CAROUSEL', 'THREAD', 'STORY', 'REEL'],
|
|
102
|
+
description: 'Content type hint. Required for Instagram Reels (REEL) and carousels (CAROUSEL). Use IMAGE for single-image Instagram posts.',
|
|
103
|
+
},
|
|
104
|
+
firstComment: {
|
|
105
|
+
type: 'string',
|
|
106
|
+
description: 'Text to auto-post as a comment immediately after publishing (max 2,200 characters). Supported on Instagram, LinkedIn, Facebook, YouTube.',
|
|
107
|
+
},
|
|
108
|
+
firstCommentDelay: {
|
|
109
|
+
type: 'number',
|
|
110
|
+
description: 'Seconds to wait before posting the first comment (0–3600, default 0)',
|
|
111
|
+
},
|
|
64
112
|
},
|
|
65
113
|
required: ['content', 'accountIds'],
|
|
66
114
|
},
|
|
@@ -73,7 +121,7 @@ function getPostTools() {
|
|
|
73
121
|
properties: {
|
|
74
122
|
status: {
|
|
75
123
|
type: 'string',
|
|
76
|
-
enum: ['draft', 'scheduled', 'published', 'failed'],
|
|
124
|
+
enum: ['draft', 'approved', 'scheduled', 'publishing', 'published', 'failed', 'partial', 'cancelled', 'unpublished', 'archived', 'all'],
|
|
77
125
|
description: 'Filter by post status',
|
|
78
126
|
},
|
|
79
127
|
accountId: {
|
|
@@ -84,9 +132,9 @@ function getPostTools() {
|
|
|
84
132
|
type: 'number',
|
|
85
133
|
description: 'Maximum number of posts to return (1-100, default 20)',
|
|
86
134
|
},
|
|
87
|
-
|
|
88
|
-
type: '
|
|
89
|
-
description: '
|
|
135
|
+
cursor: {
|
|
136
|
+
type: 'string',
|
|
137
|
+
description: 'Pagination cursor from previous response',
|
|
90
138
|
},
|
|
91
139
|
},
|
|
92
140
|
required: [],
|
|
@@ -122,7 +170,7 @@ function getPostTools() {
|
|
|
122
170
|
},
|
|
123
171
|
{
|
|
124
172
|
name: 'validate_content',
|
|
125
|
-
description: 'Validate post content against platform-specific rules before posting. Checks character limits, media requirements, and content policies.',
|
|
173
|
+
description: 'Validate post content against platform-specific rules before posting. Checks character limits, media requirements, and content policies. Platform names (TWITTER, LINKEDIN, etc.) are required.',
|
|
126
174
|
inputSchema: {
|
|
127
175
|
type: 'object',
|
|
128
176
|
properties: {
|
|
@@ -130,13 +178,90 @@ function getPostTools() {
|
|
|
130
178
|
type: 'string',
|
|
131
179
|
description: 'The content to validate',
|
|
132
180
|
},
|
|
181
|
+
platforms: {
|
|
182
|
+
type: 'array',
|
|
183
|
+
items: { type: 'string' },
|
|
184
|
+
description: 'Platform names to validate against (e.g. ["TWITTER", "INSTAGRAM"])',
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
required: ['content', 'platforms'],
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'cancel_post',
|
|
192
|
+
description: 'Cancel a scheduled or draft post. Cannot cancel posts that are already published or being published.',
|
|
193
|
+
inputSchema: {
|
|
194
|
+
type: 'object',
|
|
195
|
+
properties: {
|
|
196
|
+
postId: {
|
|
197
|
+
type: 'string',
|
|
198
|
+
description: 'The unique identifier of the post to cancel',
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
required: ['postId'],
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: 'update_post',
|
|
206
|
+
description: 'Update a draft or scheduled post. Can change content, scheduled time, or target accounts.',
|
|
207
|
+
inputSchema: {
|
|
208
|
+
type: 'object',
|
|
209
|
+
properties: {
|
|
210
|
+
postId: {
|
|
211
|
+
type: 'string',
|
|
212
|
+
description: 'The unique identifier of the post to update',
|
|
213
|
+
},
|
|
214
|
+
content: {
|
|
215
|
+
type: 'string',
|
|
216
|
+
description: 'New text content for the post',
|
|
217
|
+
},
|
|
218
|
+
scheduledFor: {
|
|
219
|
+
type: 'string',
|
|
220
|
+
description: 'New ISO 8601 datetime to schedule the post',
|
|
221
|
+
},
|
|
133
222
|
accountIds: {
|
|
134
223
|
type: 'array',
|
|
135
224
|
items: { type: 'string' },
|
|
136
|
-
description: '
|
|
225
|
+
description: 'New array of account IDs to post to',
|
|
226
|
+
},
|
|
227
|
+
contentType: {
|
|
228
|
+
type: 'string',
|
|
229
|
+
enum: ['TEXT', 'IMAGE', 'VIDEO', 'CAROUSEL', 'THREAD', 'STORY', 'REEL'],
|
|
230
|
+
description: 'New content type',
|
|
231
|
+
},
|
|
232
|
+
firstComment: {
|
|
233
|
+
type: 'string',
|
|
234
|
+
description: 'First comment text (max 2,200 characters)',
|
|
235
|
+
},
|
|
236
|
+
firstCommentDelay: {
|
|
237
|
+
type: 'number',
|
|
238
|
+
description: 'Seconds before posting the first comment (0–3600)',
|
|
239
|
+
},
|
|
240
|
+
media: {
|
|
241
|
+
type: 'array',
|
|
242
|
+
items: { type: 'string' },
|
|
243
|
+
description: 'Replace attached media — pass an array of VoxBurst media IDs',
|
|
244
|
+
},
|
|
245
|
+
platformOverrides: {
|
|
246
|
+
type: 'object',
|
|
247
|
+
description: 'Per-platform content overrides keyed by platform constant, e.g. { "INSTAGRAM": { "content": "..." } }',
|
|
137
248
|
},
|
|
138
249
|
},
|
|
139
|
-
required: ['
|
|
250
|
+
required: ['postId'],
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: 'retry_post',
|
|
255
|
+
description: 'Retry a failed or partially-failed post. Works on posts with status "failed" (all platforms failed) or "partial" (some platforms failed, others succeeded).',
|
|
256
|
+
inputSchema: {
|
|
257
|
+
type: 'object',
|
|
258
|
+
properties: {
|
|
259
|
+
postId: {
|
|
260
|
+
type: 'string',
|
|
261
|
+
description: 'The unique identifier of the failed post to retry',
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
required: ['postId'],
|
|
140
265
|
},
|
|
141
266
|
},
|
|
142
267
|
];
|
|
@@ -147,8 +272,13 @@ async function handleCreatePost(client, args) {
|
|
|
147
272
|
return client.createPost({
|
|
148
273
|
content: params.content,
|
|
149
274
|
mediaUrls: params.mediaUrls,
|
|
275
|
+
mediaIds: params.mediaIds,
|
|
150
276
|
accountIds: params.accountIds,
|
|
151
277
|
scheduledFor: params.scheduledFor,
|
|
278
|
+
saveAsDraft: params.saveAsDraft,
|
|
279
|
+
contentType: params.contentType,
|
|
280
|
+
firstComment: params.firstComment,
|
|
281
|
+
firstCommentDelay: params.firstCommentDelay,
|
|
152
282
|
});
|
|
153
283
|
}
|
|
154
284
|
async function handleListPosts(client, args) {
|
|
@@ -157,7 +287,7 @@ async function handleListPosts(client, args) {
|
|
|
157
287
|
status: params.status,
|
|
158
288
|
accountId: params.accountId,
|
|
159
289
|
limit: params.limit,
|
|
160
|
-
|
|
290
|
+
cursor: params.cursor,
|
|
161
291
|
});
|
|
162
292
|
}
|
|
163
293
|
async function handleGetPost(client, args) {
|
|
@@ -170,14 +300,36 @@ async function handleDeletePost(client, args) {
|
|
|
170
300
|
return { success: true, message: `Post ${postId} deleted successfully` };
|
|
171
301
|
}
|
|
172
302
|
async function handleValidateContent(client, args) {
|
|
173
|
-
const { content,
|
|
174
|
-
const accounts = await client.listAccounts();
|
|
175
|
-
const platforms = accounts
|
|
176
|
-
.filter(a => accountIds.includes(a.id))
|
|
177
|
-
.map(a => a.platform);
|
|
178
|
-
if (platforms.length === 0) {
|
|
179
|
-
throw new Error(`None of the provided account IDs were found: ${accountIds.join(', ')}`);
|
|
180
|
-
}
|
|
303
|
+
const { content, platforms } = exports.ValidateContentSchema.parse(args);
|
|
181
304
|
return client.validateContent(content, platforms);
|
|
182
305
|
}
|
|
306
|
+
async function handleCancelPost(client, args) {
|
|
307
|
+
const { postId } = exports.CancelPostSchema.parse(args);
|
|
308
|
+
return client.cancelPost(postId);
|
|
309
|
+
}
|
|
310
|
+
async function handleUpdatePost(client, args) {
|
|
311
|
+
const { postId, content, scheduledFor, accountIds, contentType, firstComment, firstCommentDelay, media, platformOverrides } = exports.UpdatePostSchema.parse(args);
|
|
312
|
+
const input = {};
|
|
313
|
+
if (content !== undefined)
|
|
314
|
+
input.content = content;
|
|
315
|
+
if (scheduledFor !== undefined)
|
|
316
|
+
input.scheduledFor = scheduledFor;
|
|
317
|
+
if (accountIds !== undefined)
|
|
318
|
+
input.accountIds = accountIds;
|
|
319
|
+
if (contentType !== undefined)
|
|
320
|
+
input.contentType = contentType;
|
|
321
|
+
if (firstComment !== undefined)
|
|
322
|
+
input.firstComment = firstComment;
|
|
323
|
+
if (firstCommentDelay !== undefined)
|
|
324
|
+
input.firstCommentDelay = firstCommentDelay;
|
|
325
|
+
if (media !== undefined)
|
|
326
|
+
input.media = media;
|
|
327
|
+
if (platformOverrides !== undefined)
|
|
328
|
+
input.platformOverrides = platformOverrides;
|
|
329
|
+
return client.updatePost(postId, input);
|
|
330
|
+
}
|
|
331
|
+
async function handleRetryPost(client, args) {
|
|
332
|
+
const { postId } = exports.RetryPostSchema.parse(args);
|
|
333
|
+
return client.retryPost(postId);
|
|
334
|
+
}
|
|
183
335
|
//# sourceMappingURL=posts.js.map
|
package/dist/tools/posts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posts.js","sourceRoot":"","sources":["../../src/tools/posts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;
|
|
1
|
+
{"version":3,"file":"posts.js","sourceRoot":"","sources":["../../src/tools/posts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AA6DH,oCA4MC;AAGD,4CAgBC;AAED,0CAWC;AAED,sCAMC;AAED,4CAOC;AAED,sDAMC;AAED,4CAMC;AAED,4CAeC;AAED,0CAMC;AAjWD,6BAAwB;AAGxB,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,OAA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AAK,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IACjF,OAAO,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC1C,CAAC;AAEM,KAAK,UAAU,eAAe,CACnC,MAAsB,EACtB,IAAa;IAEb,MAAM,EAAE,MAAM,EAAE,GAAG,uBAAe,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/C,OAAO,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voxburst/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "MCP Server for VoxBurst - Enable AI agents to manage social media posts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
35
|
+
"rollup": "^4.59.0",
|
|
35
36
|
"zod": "^3.23.0"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|