← Back to developers

ViralNote MCP server

Native Model Context Protocol server for ViralNote. Plug it into Claude Desktop, Claude Code, Cursor, or any other MCP host and your agent can post, schedule, list media, and read analytics — calling ViralNote tools like any other MCP resource, no custom integration code.

Upload local media

For local files larger than 3 MB, prepare_media_upload returns a private upload form valid for ten minutes. A client with binary HTTP transfer support sends the file directly to storage, then complete_media_upload validates it and returns a media id. Files can be up to 200 MB. Completed files have the same public delivery URLs as other library media; completing an upload does not publish a post. Clients without binary transfer support can use the dashboard or import_media with an existing downloadable URL.

Setup for Claude Code (HTTP transport)

Add to your Claude Code MCP settings (~/.claude/settings.json):

{
  "mcpServers": {
    "viralnote": {
      "type": "http",
      "url": "https://dashboard.viralnote.app/api/mcp/mcp",
      "headers": {
        "Authorization": "Bearer vnd_your_api_key_here"
      }
    }
  }
}

Get your API key from Settings → API keys.

Setup for Claude Desktop (stdio bridge)

Claude Desktop currently uses stdio transport for custom MCP servers. Use the mcp-remote bridge to wrap the HTTP endpoint:

{
  "mcpServers": {
    "viralnote": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://dashboard.viralnote.app/api/mcp/mcp",
        "--header",
        "Authorization: Bearer vnd_your_api_key_here"
      ]
    }
  }
}

Alternative: install the published stdio server directly (no bridge):

{
  "mcpServers": {
    "viralnote": {
      "command": "npx",
      "args": ["-y", "@viralnote/mcp-server"],
      "env": { "VIRALNOTE_API_KEY": "vnd_..." }
    }
  }
}

Setup for other MCP clients

Any client that supports HTTP transport connects directly:

Endpointhttps://dashboard.viralnote.app/api/mcp/mcp
Auth headerAuthorization: Bearer vnd_...
TransportHTTP (Streamable HTTP)

Tool reference

65 tools exposed. Your agent discovers these automatically — just ask in plain language.

ToolDescription
list_brandsList brands this credential can act as.
list_postsList the user's posts.
get_postFetch a single post by id, including a `results` array of per-platform delivery outcomes: `status` ('success', 'failed', or 'pending'), and on failure both `error` and the platform's own `failReason` code.
create_postCreate a new post as a draft or schedule it for automatic publishing.
update_postEdit a draft or scheduled post before it publishes.
delete_postPermanently delete a draft or scheduled post by id (cancels the pending publish if scheduled).
publish_postPublish an existing draft and verify delivery in the same response.
list_mediaList items in the user's media library for a brand workspace.
prepare_media_uploadPrepare a local media upload up to 200 MB without sending file bytes through a tool request.
complete_media_uploadValidate and save a file transferred through prepare_media_upload.
import_mediaImport a file into the media library so it can be attached to posts.
list_animated_reelsRead recent animated reels and current quotes for a brand.
create_animated_reelReserve the accepted quote once and create a four-scene animated storyboard for review: 15 credits, or 50 with explicit optional Omni b-roll.
get_animated_reelRead animated reel progress and storyboard.
update_animated_reelRender the complete reviewed storyboard using this reel's already reserved credits, or cancel before rendering for a full refund.
generate_videoGenerate a new AI video from a prompt, optionally animating a library image (libraryItemId), and save it to the media library.
get_video_jobStatus of an AI video generation started by generate_video with a kling or seedance model.
import_productImport a product from its store page URL (Shopify, WooCommerce, or any page with product data).
list_productsList products imported into a brand workspace, newest first, with their photos (media ids), benefits, ad angles and hooks.
list_ad_presentersList AI presenters for UGC presenter ads (create_product_ads with format ugc-avatar): the brand's own from earlier ads and previews first, then ready-made starters anyone can use.
create_product_adsMake 1–5 short vertical video ads for an imported product (from import_product or list_products).
create_product_static_adsMake 1–8 static image ads for an imported product (from import_product or list_products), square or vertical.
get_product_ad_resultsRank a product's published ads by clicks on their tracked product links, then click rate and engagement.
get_ad_jobProgress of ads started by create_product_ads (scripting, awaiting_script when started with reviewScript, shooting, composing, then ready) or create_product_static_ads (scripting, rendering, then ready).
approve_ad_scriptApprove the script of a video ad job that get_ad_job shows at awaiting_script (started by create_product_ads with reviewScript), and start making the ads.
cancel_ad_jobPermanently cancel a video ad job that get_ad_job shows at awaiting_script, before anything is made.
delete_mediaPermanently delete a media library item by id.
create_carouselGenerate a swipeable image carousel as a draft post.
list_social_accountsList the social accounts connected to the user's ViralNote account: platform and account identity for each.
list_pinterest_boardsList the boards on one connected Pinterest account.
list_usageShared processing-credit and library-storage allowances for the account, plus minutes and bytes attributed to each brand this period.
get_billingRead the account's current subscription status and existing entitlements: canPublish (publish and schedule) and canProcessVideo (AI clips, carousels, video tools).
start_checkoutCreate a Stripe Checkout link that the account owner opens to subscribe.
top_up_creditsCreate a Stripe Checkout link for a one-time pack of processing credits that never expire: '100' ($10), '300' ($25), '1000' ($70).
list_analyticsList published posts with their latest per-platform metrics: views, likes, comments, shares, and engagement.
list_post_resultsRead delivery outcomes for existing posts or recheck a pending publish result.
list_webhooksList all webhook subscriptions on the account: each subscription's id, target URL, and subscribed events.
create_webhookSubscribe a URL to ViralNote event notifications.
delete_webhookDelete a webhook subscription by id.
list_commentsList comments on published posts in the ViralNote inbox.
sync_commentsPull the latest comments on recent published posts from connected networks into the inbox.
reply_to_commentSend a public reply to a social comment as the connected brand account.
draft_comment_replySuggest a brand-aware reply for a comment.
update_commentMark a comment handled (leaves the unanswered queue) or reopen it.
moderate_commentHide, unhide, delete, or report a comment on the connected network.
hide_commentHide a comment on its connected network.
unhide_commentUnhide a previously hidden comment on its connected network.
delete_commentPermanently delete a comment on its connected network.
report_commentReport a comment to its connected network.
list_saved_repliesList canned replies saved for a brand.
create_saved_replySave a reusable answer for one brand.
update_saved_replyUpdate a saved reply's title or text.
delete_saved_replyDelete a saved reply.
get_ai_visibilityGet a brand's AI Visibility status: the latest score (0–100) for how often AI assistants mention the brand when buyers ask about its category, mention rate and share of voice by engine, the trend, the tracked prompts and competitors, a running check's progress, whether a check can start now, and the latest site audit (how AI crawlers see the brand's website, with fixes).
list_ai_visibility_resultsList the analyzed answers from an AI Visibility check: each engine's answer, whether it mentioned the brand, the brand's rank among recommended products, sentiment, and cited sources.
run_ai_visibility_checkQueue an AI Visibility check for a brand; it starts within 5 minutes and its score appears in get_ai_visibility.
list_ai_visibility_actionsList a brand's AI Visibility fixes queue from the latest check: questions where AI assistants name others instead of the brand (each with a page to draft), Reddit threads AI cites, and third-party pages to pitch, plus which fixes AI now cites and how many drafts are left this month.
draft_ai_visibility_fixWrite or rewrite the draft for one AI Visibility fix: a Markdown page with FAQ JSON-LD for the brand's own site that answers a question AI currently answers without the brand, or a Reddit reply for the user to post themselves (nothing is posted).
run_ai_visibility_auditRe-check how AI crawlers see a brand's website and return the checks with copy-paste fixes: whether robots.txt lets AI crawlers in, firewall blocks, text without JavaScript, structured data, sitemap and llms.txt.
suggest_ai_visibility_setupSuggest brand aliases, verified competitor domains, and buyer prompts for AI Visibility from the brand's Brand Kit and homepage.
save_ai_visibility_setupSave what AI Visibility tracks for a brand: brand names/domains, up to 8 competitors, tracked prompts (up to plan limit), target 2-letter country code, and enabled AI engines.
update_ai_visibility_actionUpdate an AI Visibility fix: mark it open, done, or dismissed; record the liveUrl where a drafted page was published so future checks verify whether AI cites it; or save edits to its draft.
get_brand_profileRead a brand workspace's Brand Kit: name, website, offering, audience, tone of voice, writing samples, avoided words, preferred phrases, calls to action, colors, and default hashtags.
save_brand_profileCreate or update a brand workspace's Brand Kit (name, website, offering, audience, tone, voice samples, avoided words, CTAs, colors, hashtags).
import_brand_from_websiteExtract a Brand Kit draft (name, tagline, offering, audience, tone, colors, hashtags, and suggested logo URL) from a public website URL without saving it.

Recipe: product link to scheduled ads

Ask your agent something like “Make three ads for https://yourstore.com/products/cloud-mug and schedule them for next week.” It runs:

  1. import_product with the link. You get the product, its photos, and drafted angles and hooks.
  2. create_product_ads with the product id (Pro, credits shown before starting via POST /credits/estimate with kind: "ad"). For static image ads, use create_product_static_ads instead (1–8 ads, square or vertical, 2 credits each).
  3. get_ad_job every 15–30 seconds until it's ready (usually 5–10 minutes for video). Each variant comes back with a video or image and a draft post.
  4. update_post on each draft with a scheduledFor time, or publish_post to post now.

Good to know

One-click connect (Claude Desktop OAuth flow) is on the roadmap. Until then, copy an API key into the config shown above.