Skip to Content
SdksMCP Server

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-server

Or run directly without installing:

npx -y @voxburst/mcp-server

Installing 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

VariableRequiredDefaultDescription
VOXBURST_API_KEYYes—Your VoxBurst API key (vb_live_…)
VOXBURST_API_URLNohttps://api.voxburst.ioAPI base URL (override for self-hosted)
VOXBURST_LOG_LEVELNoinfoLog verbosity: debug, info, warn, or error. Logs are written to stderr as JSON (stdout is reserved for the MCP protocol).
VOXBURST_RATE_LIMITNo100Max 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_MSNo60000Rate 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-server

Or 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-server

Run 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.

ParameterTypeRequiredDescription
contentstringYesPost content
accountIdsstring[]YesTarget account IDs
scheduledForstringNoISO 8601 datetime for scheduling
mediaUrlsstring[]NoPublic HTTPS URLs for images or videos to attach. Each URL is automatically registered with VoxBurst. Local file paths are not supported.
mediaIdsstring[]NoVoxBurst media IDs for files already uploaded via POST /v1/media/upload. Use this when you have pre-uploaded media.
saveAsDraftbooleanNoSave as draft without publishing
contentTypestringNoIMAGE, VIDEO, CAROUSEL, REEL, STORY, TEXT, or THREAD. Required for Instagram — omitting it will cause the post to be rejected.
firstCommentstringNoText 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.
firstCommentDelayintegerNoSeconds 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.

ParameterTypeRequiredDescription
statusstringNoFilter by status: draft, approved, scheduled, publishing, published, failed, partial, cancelled, unpublished, archived, or all
accountIdstringNoFilter posts by a specific account ID
limitintegerNoNumber of posts to return (1–100, default: 20)
cursorstringNoPagination 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.

ParameterTypeRequiredDescription
postIdstringYesPost ID to update
contentstringNoNew post text
scheduledForstringNoNew ISO 8601 scheduled time
accountIdsstring[]NoReplace target accounts
contentTypestringNoNew content type (IMAGE, VIDEO, CAROUSEL, REEL, STORY, TEXT, THREAD)
firstCommentstringNoNew first comment text
firstCommentDelayintegerNoSeconds before first comment (0–3600)
mediastring[]NoReplace attached media — pass VoxBurst media IDs
platformOverridesobjectNoPer-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.

ParameterTypeRequiredDescription
postIdstringYesPost ID to publish now
syncbooleanNoWait for publishing to reach a terminal state, polling every 2s (default: false)
timeoutnumberNoMax seconds to wait in sync mode (default 30, max 120)
callbackUrlstringNoOptional public HTTPS webhook URL called when publishing completes (sent as X-Callback-Url)
idempotencyKeystringNoExplicit 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.

ParameterTypeRequiredDescription
postIdstringYesPost ID to clone
idempotencyKeystringNoExplicit Idempotency-Key for safe retries — auto-generated if omitted

validate_content

Validate content against platform-specific rules before posting.

ParameterTypeRequiredDescription
contentstringYesContent to validate
platformsstring[]YesPlatform 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.

ParameterTypeRequiredDescription
startDatestringNoStart of the analytics period (ISO date, e.g. 2026-01-01)
endDatestringNoEnd 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.

ParameterTypeRequiredDescription
startDatestringNoStart of the aggregate period (ISO 8601 datetime). Defaults to 30 days before endDate
endDatestringNoEnd of the aggregate period (ISO 8601 datetime). Defaults to now
accountIdsstring[]NoRestrict the aggregate to these account IDs
platformsstring[]NoRestrict the aggregate to these platforms (e.g. ["TWITTER", "INSTAGRAM"])
limitintegerNoNumber 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).

ParameterTypeRequiredDescription
urlstringYesHTTPS endpoint URL that will receive payloads (public http/https only — private addresses are rejected)
eventsstring[]YesEvent 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
descriptionstringNoHuman-readable description (max 500 characters)

update_webhook

Update a webhook endpoint: change its URL, event subscriptions, description, or enabled state.

ParameterTypeRequiredDescription
webhookIdstringYesWebhook ID to update
urlstringNoNew endpoint URL
eventsstring[]NoNew event subscription list (replaces the existing list)
enabledbooleanNoEnable or disable the endpoint
descriptionstringNoNew 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.

ParameterTypeRequiredDescription
webhookIdstringYesWebhook endpoint ID
limitintegerNoNumber of deliveries to return (1–100, default 20; the API caps at 100)
cursorstringNoPagination cursor from the previous response (pagination.nextCursor)
startDatestringNoISO 8601 datetime — only deliveries created at or after this time
statusstringNoFilter 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.

ParameterTypeRequiredDescription
webhookIdstringYesWebhook endpoint ID
deliveryIdstringYesDelivery 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.

ParameterTypeRequiredDescription
limitintegerNoNumber of media items to return (1–100, default 20)
cursorstringNoPagination cursor from the previous response (pagination.next_cursor)
statusstringNoFilter 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.

ParameterTypeRequiredDescription
accountIdstringYesGoogle Business account ID
limitintegerNoNumber of reviews to return (1–50, default 25)
cursorstringNoOpaque keyset cursor from the previous response (nextCursor)
unreadbooleanNotrue = 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).

ParameterTypeRequiredDescription
accountIdstringYesGoogle Business account ID
reviewIdstringYesReview ID to reply to
commentstringYesReply text (1–10,000 characters)

mark_gmb_review_read

Mark a Google Business Profile review as read or unread in the review inbox.

ParameterTypeRequiredDescription
accountIdstringYesGoogle Business account ID
reviewIdstringYesReview ID
readbooleanYestrue 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.

ParameterTypeRequiredDescription
accountIdstringYesGoogle Business account ID
startDatestringYesStart date (YYYY-MM-DD, e.g. 2026-01-01)
endDatestringYesEnd 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:

URIDescription
accounts://listAll connected accounts
accounts://{accountId}Single account details
posts://recentLast 20 posts
posts://{postId}Single post details
voxburst://accountsAll connected accounts (alternate URI scheme, same data as accounts://list)
voxburst://postsLast 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

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"] )
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 published

Which tools are available from each status:

Statusupdate_postcancel_postretry_postdelete_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

ErrorCauseFix
Authentication error: No authentication configured. Set VOXBURST_API_KEY environment variable.Key not set in env blockAdd 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 changeGenerate 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 windowWait 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.log specifically)
  • Claude Desktop (Windows): %APPDATA%\Claude\logs\mcp*.log
  • Claude Code: run with claude --mcp-debug or check claude mcp list / claude mcp get voxburst for 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.

ConceptMCPREST APITypeScript SDKGo SDK
Target accountsaccountIdsaccountIdsaccountIdsAccountIds
Public URL mediamediaUrlsregister via /media/register, then mediaregister, then mediaMedia.RequestUploadURL
Pre-uploaded mediamediaIdsmediamediaMedia
Post formatcontentTypecontentTypecontentTypeContentType
Platform overridesplatformOverridesplatformOverridesplatformOverridesPlatformOverrides
First commentfirstCommentfirstCommentfirstCommentFirstComment
Delay before commentfirstCommentDelayfirstCommentDelayfirstCommentDelayFirstCommentDelay
Schedule timescheduledForscheduledForscheduledForScheduledFor
Save without publishingsaveAsDraft: truesaveAsDraft: truesaveAsDraft: trueSaveAsDraft: true
Validate contentvalidate_content(content, platforms)POST /v1/posts/validateclient.posts.validate()REST API directly
Retry failed postretry_post(postId)POST /v1/posts/:id/retryclient.posts.retry(id)client.Posts.Retry(ctx, id)

Key differences to remember:

  • MCP mediaUrls accepts public HTTPS URLs and registers them automatically. The REST API has no mediaUrls field — you must register or upload first, then pass the resulting mediaId as media.
  • accountIds is always an array, even when posting to a single account: ["acc_abc123"].
  • Platform constants are uppercase: "INSTAGRAM", "TWITTER". The account.platform field 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[].errorMeaningFix
MEDIA_REQUIREDNo media on an Instagram postAdd mediaUrls or mediaIds
ASPECT_RATIO_INVALIDImage ratio outside 4:5–1.91:1Re-crop image
CONTENT_TYPE_NOT_SUPPORTEDSTORY used for InstagramChange to IMAGE, VIDEO, CAROUSEL, or REEL
ACCOUNT_DISCONNECTEDOAuth token expiredRe-connect account in VoxBurst settings
Error code 9004Instagram rejected the image bytesVoxBurst 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.

Last updated on