MCP Server
The @voxburst/mcp-server package lets AI assistants (Claude, Cursor, Windsurf, and others) manage your VoxBurst workspace through the Model Context Protocol (MCP) .
Installation
npm install -g @voxburst/mcp-serverOr run directly without installing:
npx -y @voxburst/mcp-serverInstalling globally exposes a voxburst-mcp binary on your PATH (from the bin field in package.json), which you can reference directly in a client config instead of going through npx on every launch:
{
"mcpServers": {
"voxburst": {
"command": "voxburst-mcp",
"env": {
"VOXBURST_API_KEY": "vb_live_xxxxxxxxxxxxx"
}
}
}
}Configuration
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
VOXBURST_API_KEY | Yes | — | Your VoxBurst API key (vb_live_…) |
VOXBURST_API_URL | No | https://api.voxburst.io | API base URL (override for self-hosted) |
VOXBURST_LOG_LEVEL | No | info | Log verbosity: debug, info, warn, or error. Logs are written to stderr as JSON (stdout is reserved for the MCP protocol). |
VOXBURST_RATE_LIMIT | No | 100 | Max requests per tool/resource key within the rate limit window. Must be a positive integer — invalid or non-positive values fall back to the default. |
VOXBURST_RATE_WINDOW_MS | No | 60000 | Rate limit window in milliseconds. Must be a positive integer — invalid or non-positive values fall back to the default. |
Get your API key from VoxBurst Settings . Use a key with the scopes your agent needs (at minimum posts:write and accounts:read).
Pass your API key via the env block in the MCP config — never hard-code it in the config file, which may be committed to source control.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"voxburst": {
"command": "npx",
"args": ["-y", "@voxburst/mcp-server"],
"env": {
"VOXBURST_API_KEY": "vb_live_xxxxxxxxxxxxx"
}
}
}
}Restart Claude Desktop after saving the config.
Claude Code
Add the server with the CLI (recommended):
claude mcp add --env VOXBURST_API_KEY=vb_live_xxxxxxxxxxxxx --transport stdio voxburst \
-- npx -y @voxburst/mcp-serverOr share it with your team by adding it to a .mcp.json file at your project root:
{
"mcpServers": {
"voxburst": {
"command": "npx",
"args": ["-y", "@voxburst/mcp-server"],
"env": {
"VOXBURST_API_KEY": "vb_live_xxxxxxxxxxxxx"
}
}
}
}Run claude mcp list to confirm the server is registered.
Cursor
Add to your Cursor MCP settings (.cursor/mcp.json or the global MCP config):
{
"mcpServers": {
"voxburst": {
"command": "npx",
"args": ["-y", "@voxburst/mcp-server"],
"env": {
"VOXBURST_API_KEY": "vb_live_xxxxxxxxxxxxx"
}
}
}
}Codex CLI
Codex CLI uses TOML, not JSON. Add a [mcp_servers.voxburst] table to ~/.codex/config.toml:
[mcp_servers.voxburst]
command = "npx"
args = ["-y", "@voxburst/mcp-server"]
[mcp_servers.voxburst.env]
VOXBURST_API_KEY = "vb_live_xxxxxxxxxxxxx"Or add it with the CLI:
codex mcp add voxburst --env VOXBURST_API_KEY=vb_live_xxxxxxxxxxxxx -- npx -y @voxburst/mcp-serverRun codex mcp list to confirm the server is registered.
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json (%USERPROFILE%\.codeium\windsurf\mcp_config.json on Windows). Windsurf does not create this file automatically — create it if it does not exist. The top-level key is mcpServers:
{
"mcpServers": {
"voxburst": {
"command": "npx",
"args": ["-y", "@voxburst/mcp-server"],
"env": {
"VOXBURST_API_KEY": "vb_live_xxxxxxxxxxxxx"
}
}
}
}Save the file and start a new Cascade chat session to pick up the server.
VS Code
VS Code uses a different top-level key (servers, not mcpServers). Add to .vscode/mcp.json in your workspace root to share it with your team, or use the MCP: Open User Configuration command for a user-level config:
{
"servers": {
"voxburst": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@voxburst/mcp-server"],
"env": {
"VOXBURST_API_KEY": "vb_live_xxxxxxxxxxxxx"
}
}
}
}Available Tools
This page documents every tool registered by the MCP server — the list below and the server’s tools/list response must stay in sync. If a newly registered tool is missing here, that is a documentation gap; treat the tools/list response as authoritative for availability and file the missing entry.
Post Management
create_post
Create a new post or schedule it for later.
| Parameter | Type | Required | Description |
|---|---|---|---|
content | string | Yes | Post content |
accountIds | string[] | Yes | Target account IDs |
scheduledFor | string | No | ISO 8601 datetime for scheduling |
mediaUrls | string[] | No | Public HTTPS URLs for images or videos to attach. Each URL is automatically registered with VoxBurst. Local file paths are not supported. |
mediaIds | string[] | No | VoxBurst media IDs for files already uploaded via POST /v1/media/upload. Use this when you have pre-uploaded media. |
saveAsDraft | boolean | No | Save as draft without publishing |
contentType | string | No | IMAGE, VIDEO, CAROUSEL, REEL, STORY, TEXT, or THREAD. Required for Instagram — omitting it will cause the post to be rejected. |
firstComment | string | No | Text to auto-post as a comment immediately after publishing (max 2,200 chars). Supported on Instagram, LinkedIn, YouTube. Facebook support is pending Meta API approval — posts with this field set will publish normally, but the comment is silently skipped on Facebook until approval is granted. |
firstCommentDelay | integer | No | Seconds to wait before posting the first comment (0–3600, default 0) |
Media: Use mediaUrls for publicly accessible HTTPS image/video URLs — the MCP server registers them with VoxBurst automatically. Use mediaIds if you have already uploaded files to VoxBurst and have their IDs. You can pass both in the same request. Local file paths are not accepted.
list_posts
List recent posts from the workspace.
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Filter by status: draft, approved, scheduled, publishing, published, failed, partial, cancelled, unpublished, archived, or all |
accountId | string | No | Filter posts by a specific account ID |
limit | integer | No | Number of posts to return (1–100, default: 20) |
cursor | string | No | Pagination cursor from the previous response for fetching the next page |
get_post
Get a single post by ID.
delete_post
Delete a post by ID. Only draft and scheduled posts can be deleted — published posts cannot be deleted through this tool.
update_post
Update a draft or scheduled post.
| Parameter | Type | Required | Description |
|---|---|---|---|
postId | string | Yes | Post ID to update |
content | string | No | New post text |
scheduledFor | string | No | New ISO 8601 scheduled time |
accountIds | string[] | No | Replace target accounts |
contentType | string | No | New content type (IMAGE, VIDEO, CAROUSEL, REEL, STORY, TEXT, THREAD) |
firstComment | string | No | New first comment text |
firstCommentDelay | integer | No | Seconds before first comment (0–3600) |
media | string[] | No | Replace attached media — pass VoxBurst media IDs |
platformOverrides | object | No | Per-platform content overrides, e.g. { "INSTAGRAM": { "content": "..." } } |
cancel_post
Cancel a scheduled or draft post by postId. Cannot cancel posts that are already published or being published.
retry_post
Retry a post by postId. Works on posts with status failed (all platforms failed) or partial (some platforms failed, others succeeded). Successfully-published platforms are never re-posted — only failed platforms are re-queued.
publish_post
Publish a scheduled or draft post immediately via POST /v1/posts/:id/publish.
| Parameter | Type | Required | Description |
|---|---|---|---|
postId | string | Yes | Post ID to publish now |
sync | boolean | No | Wait for publishing to reach a terminal state, polling every 2s (default: false) |
timeout | number | No | Max seconds to wait in sync mode (default 30, max 120) |
callbackUrl | string | No | Optional public HTTPS webhook URL called when publishing completes (sent as X-Callback-Url) |
idempotencyKey | string | No | Explicit Idempotency-Key for safe retries — auto-generated if omitted |
clone_post
Clone an existing post as a new draft with the same content, accounts, media, and metadata (via POST /v1/posts/:id/clone). The clone is not scheduled — edit and schedule it separately.
| Parameter | Type | Required | Description |
|---|---|---|---|
postId | string | Yes | Post ID to clone |
idempotencyKey | string | No | Explicit Idempotency-Key for safe retries — auto-generated if omitted |
validate_content
Validate content against platform-specific rules before posting.
| Parameter | Type | Required | Description |
|---|---|---|---|
content | string | Yes | Content to validate |
platforms | string[] | Yes | Platform constants to validate against — e.g. ["TWITTER", "INSTAGRAM"]. Not account IDs. |
Example response:
{
"valid": false,
"platforms": {
"TWITTER": {
"valid": false,
"errors": [
{ "code": "CONTENT_TOO_LONG", "message": "Content exceeds Twitter's 280 character limit (current: 312)" }
],
"warnings": []
},
"INSTAGRAM": {
"valid": true,
"errors": [],
"warnings": [
{ "code": "NO_MEDIA", "message": "Instagram feed posts require at least one image or video" }
]
}
}
}The top-level valid is false if any platform has errors. warnings do not fail validation but indicate potential issues. Check per-platform errors to know exactly what to fix before posting.
Account Management
list_accounts
List all connected social media accounts. No parameters required.
get_account
Get details of a specific account by accountId.
Analytics
get_post_metrics
Get engagement metrics for a post (impressions, likes, shares, comments, clicks).
get_account_metrics
Get metrics for an account (followers, following, total posts, average engagement rate).
get_analytics_overview
Get an overview of analytics across all connected accounts for a date range. Returns total impressions, engagements, top posts, and best posting time.
| Parameter | Type | Required | Description |
|---|---|---|---|
startDate | string | No | Start of the analytics period (ISO date, e.g. 2026-01-01) |
endDate | string | No | End of the analytics period (ISO date, e.g. 2026-01-31) |
Both parameters are optional — omit them to use the default period.
get_aggregate_metrics
Get workspace-level aggregate metrics for a date range: totals for impressions, reach, engagements, likes, comments, shares, clicks, saves, engagement rates, top-performing posts, and a per-platform breakdown.
| Parameter | Type | Required | Description |
|---|---|---|---|
startDate | string | No | Start of the aggregate period (ISO 8601 datetime). Defaults to 30 days before endDate |
endDate | string | No | End of the aggregate period (ISO 8601 datetime). Defaults to now |
accountIds | string[] | No | Restrict the aggregate to these account IDs |
platforms | string[] | No | Restrict the aggregate to these platforms (e.g. ["TWITTER", "INSTAGRAM"]) |
limit | integer | No | Number of top-performing posts to return (1–100, default 10) |
The date range is capped server-side by plan (30 days on basic plans, 365 days on advanced plans).
refresh_post_metrics
Force-refresh metrics for a post from all platforms, bypassing the cache (POST /v1/analytics/posts/:postId/refresh). Returns the fresh metrics plus a refreshedAt timestamp.
refresh_account_metrics
Force-refresh metrics for a connected account from its platform, bypassing the cache (POST /v1/analytics/accounts/:accountId/refresh). Also refreshes the account metrics snapshot used by dashboards. Returns the account metrics plus a refreshedAt timestamp.
Webhooks
list_webhooks
List all webhook endpoints registered in the workspace. No parameters required. Returns each endpoint’s id, url, events, enabled, delivery health (lastDeliveryAt, failureCount, consecutiveFailures, autoDisabledAt), and timestamps.
create_webhook
Create a new webhook endpoint that receives event payloads. The endpoint is returned without its signing secret — obtain or rotate the secret via the REST API (POST /v1/webhooks/:id/rotate-secret).
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | HTTPS endpoint URL that will receive payloads (public http/https only — private addresses are rejected) |
events | string[] | Yes | Event types to subscribe to (at least one): post.created, post.published, post.failed, post.scheduled, post.draft.approved, account.connected, account.disconnected, account.error, media.uploaded |
description | string | No | Human-readable description (max 500 characters) |
update_webhook
Update a webhook endpoint: change its URL, event subscriptions, description, or enabled state.
| Parameter | Type | Required | Description |
|---|---|---|---|
webhookId | string | Yes | Webhook ID to update |
url | string | No | New endpoint URL |
events | string[] | No | New event subscription list (replaces the existing list) |
enabled | boolean | No | Enable or disable the endpoint |
description | string | No | New description (max 500 characters) |
delete_webhook
Delete a webhook endpoint by webhookId. Pending deliveries are cancelled.
list_webhook_deliveries
List delivery attempts for a webhook endpoint, newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
webhookId | string | Yes | Webhook endpoint ID |
limit | integer | No | Number of deliveries to return (1–100, default 20; the API caps at 100) |
cursor | string | No | Pagination cursor from the previous response (pagination.nextCursor) |
startDate | string | No | ISO 8601 datetime — only deliveries created at or after this time |
status | string | No | Filter by delivery status: pending, delivering, delivered, or failed |
Each delivery includes id, eventType, url, statusCode, latencyMs, responseBody, retryCount, success, error, createdAt, and deliveredAt.
retry_webhook_delivery
Re-attempt a failed webhook delivery.
| Parameter | Type | Required | Description |
|---|---|---|---|
webhookId | string | Yes | Webhook endpoint ID |
deliveryId | string | Yes | Delivery attempt ID to retry |
Fails with INVALID_STATE if the delivery already succeeded, or WEBHOOK_DISABLED if the endpoint is disabled.
Media
list_media
List media files in the workspace (images and videos uploaded or registered), with optional status filter and pagination. Video items may report metadataPending: true while dimensions/duration are still being probed — poll GET /v1/media/:id via the REST API until it clears.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Number of media items to return (1–100, default 20) |
cursor | string | No | Pagination cursor from the previous response (pagination.next_cursor) |
status | string | No | Filter by processing status: pending, processing, ready, failed, or all |
Google Business Profile
Review tools operate on the Google Business review inbox, which is kept fresh by a background sync — data may lag Google by the poll interval.
list_gmb_reviews
List Google Business Profile reviews for an account, newest first, with an unread filter.
| Parameter | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | Google Business account ID |
limit | integer | No | Number of reviews to return (1–50, default 25) |
cursor | string | No | Opaque keyset cursor from the previous response (nextCursor) |
unread | boolean | No | true = only unread reviews, false = only read reviews. Omit to return both |
reply_gmb_review
Reply publicly to a Google Business Profile review (creates or replaces the reply).
| Parameter | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | Google Business account ID |
reviewId | string | Yes | Review ID to reply to |
comment | string | Yes | Reply text (1–10,000 characters) |
mark_gmb_review_read
Mark a Google Business Profile review as read or unread in the review inbox.
| Parameter | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | Google Business account ID |
reviewId | string | Yes | Review ID |
read | boolean | Yes | true to mark as read, false to mark as unread |
get_gmb_insights
Get Google Business Profile performance insights for a date range: impressions by surface (desktop/mobile maps and search), direction requests, call clicks, and website clicks.
| Parameter | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | Google Business account ID |
startDate | string | Yes | Start date (YYYY-MM-DD, e.g. 2026-01-01) |
endDate | string | Yes | End date (YYYY-MM-DD, must be on or after startDate; range cannot exceed 365 days) |
Returns series (per-metric daily points), totals, the locationPath the insights were read from, and the requested startDate/endDate.
Available Resources
Resources provide read-only access to VoxBurst data via URI:
| URI | Description |
|---|---|
accounts://list | All connected accounts |
accounts://{accountId} | Single account details |
posts://recent | Last 20 posts |
posts://{postId} | Single post details |
voxburst://accounts | All connected accounts (alternate URI scheme, same data as accounts://list) |
voxburst://posts | Last 20 posts (alternate URI scheme, same data as posts://recent) |
Example Usage
Once configured, you can ask your AI assistant to:
- “Post ‘Just shipped a new feature!’ to my Twitter and LinkedIn accounts.”
- “Schedule a post for next Monday at 10 AM: ‘Monday motivation…’”
- “How did my last post perform?”
- “Show me all my scheduled posts.”
- “Delete the draft post I created earlier.”
The MCP server handles translating these requests into VoxBurst API calls automatically.
Instagram requires media on every post and a contentType to specify the post format. Always call list_accounts first to get the account ID — Instagram account IDs start with acc_.
Instagram feed posts require at least one image or video. Text-only posts will be rejected. Always specify contentType.
Single image post
create_post(
content: "Behind the scenes 📸",
accountIds: ["acc_instagram_123"],
contentType: "IMAGE",
mediaUrls: ["https://cdn.example.com/photo.jpg"]
)Carousel (2–10 images or videos)
create_post(
content: "Swipe to see more →",
accountIds: ["acc_instagram_123"],
contentType: "CAROUSEL",
mediaUrls: [
"https://cdn.example.com/slide-1.jpg",
"https://cdn.example.com/slide-2.jpg",
"https://cdn.example.com/slide-3.jpg"
]
)Reel (short-form video)
create_post(
content: "Our latest drop 🔥",
accountIds: ["acc_instagram_123"],
contentType: "REEL",
mediaUrls: ["https://cdn.example.com/reel.mp4"],
firstComment: "#reels #newdrop #launch"
)Scheduled post
create_post(
content: "Launch day. Shipping now.",
accountIds: ["acc_instagram_123"],
contentType: "CAROUSEL",
mediaUrls: [
"https://cdn.example.com/launch-1.jpg",
"https://cdn.example.com/launch-2.jpg"
],
scheduledFor: "2026-06-01T15:00:00Z"
)First comment with delay
create_post(
content: "New product just dropped.",
accountIds: ["acc_instagram_123"],
contentType: "IMAGE",
mediaUrls: ["https://cdn.example.com/product.jpg"],
firstComment: "Shop the link in bio 👆",
firstCommentDelay: 30
)firstCommentDelay is in seconds. The example above posts the comment 30 seconds after the photo publishes.
Post Status Lifecycle
Understanding how post status flows helps you know which tool actions are valid at each point.
draft ──────────────→ scheduled ──→ publishing ──→ published
↑ ↑ ↓ ↓
│ │ failed partial
│ │ ↓ ↓
└── update_post └── (after retry retry
└── cancel_post unschedule) ↓ ↓
└── delete_post published publishedWhich tools are available from each status:
| Status | update_post | cancel_post | retry_post | delete_post |
|---|---|---|---|---|
draft | ✅ | ✅ | ✗ | ✅ |
approved | ✅ | ✅ | ✗ | ✅ |
scheduled | ✅ | ✅ | ✗ | ✅ |
publishing | ✗ | ✗ | ✗ | ✗ |
published | ✗ | ✗ | ✗ | ✗ |
failed | ✅ | ✗ | ✅ | ✅ |
partial | ✅ | ✗ | ✅ | ✗ |
cancelled | ✗ | ✗ | ✗ | ✅ |
archived | ✗ | ✗ | ✗ | ✗ |
retry_post re-queues only platforms with status: "failed". Platforms that already published are never re-posted — it is safe to call even on a partial post.
Security Notes
- API keys are passed via environment variables and never logged
- All API communication uses HTTPS
- The server has no persistent state between calls
- Runs in stdio mode — no network port is opened
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
Authentication error: No authentication configured. Set VOXBURST_API_KEY environment variable. | Key not set in env block | Add VOXBURST_API_KEY to the env section of your MCP config |
{"error":"API_ERROR","message":"API request failed: 401","statusCode":401} | Key invalid or expired. This is the current tool-call output for an auth failure — the underlying message from the API is not yet surfaced correctly by the client (tracked internally); expect this response format to change | Generate a new API key in VoxBurst Settings |
{"error":"RATE_LIMIT_EXCEEDED","message":"Rate limit exceeded for tool \"...\". Try again after ..."} | Too many requests to a single tool within the rate limit window | Wait until the time in retryAfterMs/the message, then retry |
{"error":"API_ERROR","message":"API request failed: 400","statusCode":400} | Post rejected by the API (e.g. content exceeds a platform limit) | Run validate_content first, or check get_post’s platforms[].error for the specific reason |
GUI clients (Claude Desktop, Cursor, Windsurf, VS Code) do not surface MCP server stderr output in their chat UI — a failed tool call can look like a silent no-op there. Check the client’s MCP log file instead:
- Claude Desktop (macOS):
~/Library/Logs/Claude/mcp*.log(mcp-server-voxburst.logspecifically) - Claude Desktop (Windows):
%APPDATA%\Claude\logs\mcp*.log - Claude Code: run with
claude --mcp-debugor checkclaude mcp list/claude mcp get voxburstfor connection status - Cursor: Settings → MCP → view logs per server
- Windsurf: Cascade panel → MCP server status/logs
Set VOXBURST_LOG_LEVEL=debug in the server’s env block for more detail in these logs.
Tool Response Shapes
What each tool returns so your agent knows what to expect.
list_accounts
[
{
"id": "acc_instagram_abc123",
"platform": "instagram",
"username": "mybrand",
"displayName": "My Brand",
"avatarUrl": "https://cdn.example.com/avatars/mybrand.jpg",
"accountType": "business",
"status": "active",
"connectedAt": "2026-05-30T10:00:00Z"
},
{
"id": "acc_twitter_xyz456",
"platform": "twitter",
"username": "mybrand_x",
"displayName": "My Brand X",
"avatarUrl": null,
"accountType": null,
"status": "expired",
"connectedAt": "2026-04-01T09:12:00Z"
}
]status is one of active, expired, revoked, or disconnected. avatarUrl and accountType are always present but may be null; connectedAt is an ISO 8601 timestamp. Depending on the platform and connection history, accounts may also include conditional fields such as followers, oauthVersion (Instagram), needsPlaylistReauth (YouTube), needsOrgScopeReauth (LinkedIn), gmbLocationsConfigured (Google Business), or scopeHealth — these are omitted entirely when not applicable rather than sent as null.
create_post — success
{
"id": "post_abc123",
"content": "Launch day. Shipping now.",
"status": "scheduled",
"scheduledFor": "2026-06-01T15:00:00Z",
"contentType": "CAROUSEL",
"platforms": [
{
"platform": "instagram",
"accountId": "acc_instagram_abc123",
"status": "pending",
"platformPostId": null,
"platformPostUrl": null,
"publishedAt": null,
"error": null
}
],
"createdAt": "2026-05-30T10:05:00Z"
}get_post — after publishing
{
"id": "post_abc123",
"content": "Launch day. Shipping now.",
"status": "published",
"publishedAt": "2026-06-01T15:00:05Z",
"platforms": [
{
"platform": "instagram",
"status": "published",
"platformPostUrl": "https://www.instagram.com/p/ABC123/",
"publishedAt": "2026-06-01T15:00:05Z",
"error": null
}
]
}get_post — partial failure
{
"id": "post_abc123",
"status": "partial",
"platforms": [
{
"platform": "instagram",
"status": "published",
"platformPostUrl": "https://www.instagram.com/p/ABC123/",
"error": null
},
{
"platform": "twitter",
"status": "failed",
"platformPostUrl": null,
"error": "Content exceeds Twitter's 280 character limit",
"retryCount": 1
}
]
}list_posts
{
"data": [
{
"id": "post_abc123",
"content": "Launch day.",
"status": "published",
"publishedAt": "2026-06-01T15:00:05Z"
},
{
"id": "post_def456",
"content": "Coming soon...",
"status": "scheduled",
"scheduledFor": "2026-06-03T10:00:00Z"
}
],
"pagination": {
"has_more": true,
"next_cursor": "eyJpZCI6InBvc3RfZGVmNDU2In0",
"limit": 20
}
}validate_content — with errors
{
"valid": false,
"platforms": {
"TWITTER": {
"valid": false,
"errors": [
{ "code": "CONTENT_TOO_LONG", "message": "Content exceeds Twitter's 280 character limit (current: 312)" }
],
"warnings": []
},
"INSTAGRAM": {
"valid": true,
"errors": [],
"warnings": [
{ "code": "NO_MEDIA", "message": "Instagram feed posts require at least one image or video" }
]
}
}
}valid: false at the top level means at least one platform has errors. Warnings are advisory — they do not block posting.
retry_post
{
"id": "post_abc123",
"status": "publishing",
"retriedPlatforms": [
{ "platform": "twitter", "retryCount": 2, "nextRetryAt": "2026-06-01T15:04:00Z" }
],
"skippedPlatforms": []
}If a platform has exhausted all 3 retries, it appears in skippedPlatforms with reason: "max_retries_exceeded". Use the REST API /v1/posts/:id/platforms/:platformId/fix to reset and resubmit.
Field Mapping Across Surfaces
Use this table when switching between MCP, REST API, TypeScript SDK, and Go SDK to avoid confusion.
| Concept | MCP | REST API | TypeScript SDK | Go SDK |
|---|---|---|---|---|
| Target accounts | accountIds | accountIds | accountIds | AccountIds |
| Public URL media | mediaUrls | register via /media/register, then media | register, then media | Media.RequestUploadURL |
| Pre-uploaded media | mediaIds | media | media | Media |
| Post format | contentType | contentType | contentType | ContentType |
| Platform overrides | platformOverrides | platformOverrides | platformOverrides | PlatformOverrides |
| First comment | firstComment | firstComment | firstComment | FirstComment |
| Delay before comment | firstCommentDelay | firstCommentDelay | firstCommentDelay | FirstCommentDelay |
| Schedule time | scheduledFor | scheduledFor | scheduledFor | ScheduledFor |
| Save without publishing | saveAsDraft: true | saveAsDraft: true | saveAsDraft: true | SaveAsDraft: true |
| Validate content | validate_content(content, platforms) | POST /v1/posts/validate | client.posts.validate() | REST API directly |
| Retry failed post | retry_post(postId) | POST /v1/posts/:id/retry | client.posts.retry(id) | client.Posts.Retry(ctx, id) |
Key differences to remember:
- MCP
mediaUrlsaccepts public HTTPS URLs and registers them automatically. The REST API has nomediaUrlsfield — you must register or upload first, then pass the resultingmediaIdasmedia. accountIdsis always an array, even when posting to a single account:["acc_abc123"].- Platform constants are uppercase:
"INSTAGRAM","TWITTER". Theaccount.platformfield in responses is lowercase:"instagram","twitter".
Common Failures Cookbook
Post fails immediately (validation error)
Your agent receives a 400 error before the post is created. Check validate_content first:
validate_content(
content: "your caption",
platforms: ["INSTAGRAM"]
)Common causes: caption too long, wrong contentType, missing media for Instagram.
Post is created but status stays pending for a long time
Normal — posts go through a scheduling queue. Use get_post to poll. If status is still pending after 5 minutes, check the VoxBurst dashboard for queue status.
Post status is failed
get_post(postId: "post_abc123")Read platforms[].error for the specific failure reason per platform. Common Instagram failures:
platforms[].error | Meaning | Fix |
|---|---|---|
MEDIA_REQUIRED | No media on an Instagram post | Add mediaUrls or mediaIds |
ASPECT_RATIO_INVALID | Image ratio outside 4:5–1.91:1 | Re-crop image |
CONTENT_TYPE_NOT_SUPPORTED | STORY used for Instagram | Change to IMAGE, VIDEO, CAROUSEL, or REEL |
ACCOUNT_DISCONNECTED | OAuth token expired | Re-connect account in VoxBurst settings |
| Error code 9004 | Instagram rejected the image bytes | VoxBurst auto-normalizes; use /fix with a fresh media URL |
Then retry:
retry_post(postId: "post_abc123")Post status is partial
Some platforms published, others failed. retry_post re-queues only the failed platforms — it will not re-post to platforms that already succeeded.
Platform has retryCount: 3 and is skipped by retry
The platform has exhausted automatic retries. Use the REST API directly:
curl -X POST https://api.voxburst.io/v1/posts/post_abc123/platforms/pp_xyz789/fix \
-H "Authorization: Bearer vb_live_xxxxxxxxxxxxx" \
-d '{ "mediaUrl": "https://cdn.example.com/corrected-image.jpg" }'Replace pp_xyz789 with the postPlatformId from get_post’s platforms array.
Consistency Reference
The MCP server, REST API, TypeScript SDK, and Go SDK all interact with the same VoxBurst backend. Each surface uses the same field semantics — only the naming conventions differ slightly.
If you are using the MCP server: Follow MCP field names only (accountIds, mediaUrls, mediaIds, contentType). The server handles the REST API translation.
If you are using the REST API directly: Use accountIds, media (for IDs), contentType. Register external URLs via POST /v1/media/register first.
If you are using the TypeScript SDK: Same field names as REST (accountIds, media, contentType). Use client.posts.create(), client.media.requestUploadURL().
If you are using the Go SDK: Same concepts, Go-idiomatic capitalization (AccountIds, Media, ContentType). Use client.Posts.Create(), client.Media.RequestUploadURL().
A post created via MCP, checked via REST, and monitored via the TypeScript SDK will have the same post.id and the same status values throughout.