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:
| Endpoint | https://dashboard.viralnote.app/api/mcp/mcp |
| Auth header | Authorization: Bearer vnd_... |
| Transport | HTTP (Streamable HTTP) |
Tool reference
65 tools exposed. Your agent discovers these automatically — just ask in plain language.
| Tool | Description |
|---|---|
| list_brands | List brands this credential can act as. |
| list_posts | List the user's posts. |
| get_post | Fetch 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_post | Create a new post as a draft or schedule it for automatic publishing. |
| update_post | Edit a draft or scheduled post before it publishes. |
| delete_post | Permanently delete a draft or scheduled post by id (cancels the pending publish if scheduled). |
| publish_post | Publish an existing draft and verify delivery in the same response. |
| list_media | List items in the user's media library for a brand workspace. |
| prepare_media_upload | Prepare a local media upload up to 200 MB without sending file bytes through a tool request. |
| complete_media_upload | Validate and save a file transferred through prepare_media_upload. |
| import_media | Import a file into the media library so it can be attached to posts. |
| list_animated_reels | Read recent animated reels and current quotes for a brand. |
| create_animated_reel | Reserve 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_reel | Read animated reel progress and storyboard. |
| update_animated_reel | Render the complete reviewed storyboard using this reel's already reserved credits, or cancel before rendering for a full refund. |
| generate_video | Generate a new AI video from a prompt, optionally animating a library image (libraryItemId), and save it to the media library. |
| get_video_job | Status of an AI video generation started by generate_video with a kling or seedance model. |
| import_product | Import a product from its store page URL (Shopify, WooCommerce, or any page with product data). |
| list_products | List products imported into a brand workspace, newest first, with their photos (media ids), benefits, ad angles and hooks. |
| list_ad_presenters | List 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_ads | Make 1–5 short vertical video ads for an imported product (from import_product or list_products). |
| create_product_static_ads | Make 1–8 static image ads for an imported product (from import_product or list_products), square or vertical. |
| get_product_ad_results | Rank a product's published ads by clicks on their tracked product links, then click rate and engagement. |
| get_ad_job | Progress 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_script | Approve 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_job | Permanently cancel a video ad job that get_ad_job shows at awaiting_script, before anything is made. |
| delete_media | Permanently delete a media library item by id. |
| create_carousel | Generate a swipeable image carousel as a draft post. |
| list_social_accounts | List the social accounts connected to the user's ViralNote account: platform and account identity for each. |
| list_pinterest_boards | List the boards on one connected Pinterest account. |
| list_usage | Shared processing-credit and library-storage allowances for the account, plus minutes and bytes attributed to each brand this period. |
| get_billing | Read the account's current subscription status and existing entitlements: canPublish (publish and schedule) and canProcessVideo (AI clips, carousels, video tools). |
| start_checkout | Create a Stripe Checkout link that the account owner opens to subscribe. |
| top_up_credits | Create a Stripe Checkout link for a one-time pack of processing credits that never expire: '100' ($10), '300' ($25), '1000' ($70). |
| list_analytics | List published posts with their latest per-platform metrics: views, likes, comments, shares, and engagement. |
| list_post_results | Read delivery outcomes for existing posts or recheck a pending publish result. |
| list_webhooks | List all webhook subscriptions on the account: each subscription's id, target URL, and subscribed events. |
| create_webhook | Subscribe a URL to ViralNote event notifications. |
| delete_webhook | Delete a webhook subscription by id. |
| list_comments | List comments on published posts in the ViralNote inbox. |
| sync_comments | Pull the latest comments on recent published posts from connected networks into the inbox. |
| reply_to_comment | Send a public reply to a social comment as the connected brand account. |
| draft_comment_reply | Suggest a brand-aware reply for a comment. |
| update_comment | Mark a comment handled (leaves the unanswered queue) or reopen it. |
| moderate_comment | Hide, unhide, delete, or report a comment on the connected network. |
| hide_comment | Hide a comment on its connected network. |
| unhide_comment | Unhide a previously hidden comment on its connected network. |
| delete_comment | Permanently delete a comment on its connected network. |
| report_comment | Report a comment to its connected network. |
| list_saved_replies | List canned replies saved for a brand. |
| create_saved_reply | Save a reusable answer for one brand. |
| update_saved_reply | Update a saved reply's title or text. |
| delete_saved_reply | Delete a saved reply. |
| get_ai_visibility | Get 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_results | List 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_check | Queue an AI Visibility check for a brand; it starts within 5 minutes and its score appears in get_ai_visibility. |
| list_ai_visibility_actions | List 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_fix | Write 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_audit | Re-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_setup | Suggest brand aliases, verified competitor domains, and buyer prompts for AI Visibility from the brand's Brand Kit and homepage. |
| save_ai_visibility_setup | Save 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_action | Update 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_profile | Read 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_profile | Create or update a brand workspace's Brand Kit (name, website, offering, audience, tone, voice samples, avoided words, CTAs, colors, hashtags). |
| import_brand_from_website | Extract 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:
import_productwith the link. You get the product, its photos, and drafted angles and hooks.create_product_adswith the product id (Pro, credits shown before starting viaPOST /credits/estimatewithkind: "ad"). For static image ads, usecreate_product_static_adsinstead (1–8 ads, square or vertical, 2 credits each).get_ad_jobevery 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.update_poston each draft with ascheduledFortime, orpublish_postto post now.
Good to know
- Drafts.
is_draftsaves a post in ViralNote only — it does not create a draft on any social platform. When you later publish the draft, all platforms post immediately. - Deleting posts. Only drafts and scheduled posts can be deleted via API. Published posts cannot.
- Analytics freshness. Metrics are pulled periodically by ViralNote's backend — the values returned by
list_analyticsare the latest collected, not live. - Rate limits. 60 requests/minute per API key by default. The HTTP MCP endpoint inherits the same limits as the underlying REST routes.
One-click connect (Claude Desktop OAuth flow) is on the roadmap. Until then, copy an API key into the config shown above.