viralnote-mcp
OfficialThis MCP server lets an agent manage ViralNote social media posts, media, analytics, and webhooks across major platforms via native tool calls.
List, inspect, create, update, delete, and publish posts as drafts or scheduled content.
Filter posts by status and platform, and check per-platform publish results or failures.
List, import from URL/base64, and delete media library items for attaching to posts.
List connected social accounts before targeting platforms.
Read published post analytics with per-platform metrics like views, likes, comments, shares, and engagement.
List, create, and delete webhook subscriptions for ViralNote events such as post.published and post.failed.
Allows scheduling and publishing posts, managing media, and reading analytics on Bluesky.
Allows scheduling and publishing posts, managing media, and reading analytics on Facebook.
Allows scheduling and publishing posts, managing media, and reading analytics on Instagram.
Allows scheduling and publishing posts, managing media, and reading analytics on Pinterest.
Allows scheduling and publishing posts, managing media, and reading analytics on Reddit.
Allows scheduling and publishing posts, managing media, and reading analytics on Threads.
Allows scheduling and publishing posts, managing media, and reading analytics on TikTok.
Allows scheduling and publishing posts, managing media, and reading analytics on YouTube.
@viralnote/mcp-server
A Model Context Protocol server for the ViralNote social media API.
Plug it into Claude Desktop, Claude Code, Cursor, or any other MCP-aware host and your agent can schedule posts, manage media, and read analytics across X, Instagram, Facebook, TikTok, LinkedIn, YouTube, Pinterest, Bluesky, Threads, and Reddit — as native MCP tool calls. No glue code.
Install
Gemini CLI
Install the extension from this repository:
gemini extensions install https://github.com/viralnote/mcp-serverRestart Gemini CLI, then run /mcp auth viralnote to sign in to your ViralNote
account and authorize the connection. The extension uses the hosted HTTP server
with OAuth; no API key or local server build is required. Start with a read such
as "List my connected social accounts."
Cline
In Cline's MCP Servers screen, add a remote Streamable HTTP server named
viralnote at https://dashboard.viralnote.app/api/mcp/mcp, then complete the
OAuth sign-in. For the Cline CLI, run:
cline mcp install viralnote --transport http https://dashboard.viralnote.app/api/mcp/mcpThe wizard asks for authentication details before saving. See llms-install.md for the setup walkthrough and API-key alternative. Keep automatic approval disabled and verify the connection with a read before making changes.
Claude Desktop / Claude Code / Cursor
Add to your MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, similar on other platforms):
{
"mcpServers": {
"viralnote": {
"command": "npx",
"args": ["-y", "@viralnote/mcp-server"],
"env": {
"VIRALNOTE_API_KEY": "vnd_..."
}
}
}
}Restart your MCP host. The ViralNote tools will be available immediately.
This repo includes a root .mcp.json (Open Plugins standard) so tools like Cursor Directory can auto-detect the MCP server from the GitHub URL.
Cursor Marketplace
Once the plugin is published on Cursor Marketplace, you can install it directly from Cursor:
Open Cursor and go to Settings → Plugins
Search for "ViralNote" in the Marketplace
Click Install
In Plugins → Configure, set your
VIRALNOTE_API_KEYGet your API key from dashboard.viralnote.app or viralnote.app/developers/auth
The ViralNote tools will be immediately available in your Cursor environment.
Local install
npm install -g @viralnote/mcp-serverThen reference viralnote-mcp directly in your MCP config:
{
"mcpServers": {
"viralnote": {
"command": "viralnote-mcp",
"env": { "VIRALNOTE_API_KEY": "vnd_..." }
}
}
}Related MCP server: vibemarketing-mcp
Configuration
Env var | Required | Default | Notes |
| yes | — | Generate at viralnote.app/developers/auth. Grant |
| no |
| Override for staging/self-hosted instances. |
Tools exposed
Tool | Purpose |
| List posts (filter by status/platform, paginated) |
| Read one post including per-platform publish results |
| Create a draft ( |
| Update a draft or scheduled post |
| Delete (cancels if scheduled) |
| Publish a draft now |
| List media library items |
| Import by URL (200MB) or base64 data (3MB) |
| Delete a media item |
| List connected social accounts |
| Published posts with per-platform metrics |
| Per-platform delivery results (success/error) |
| List webhook subscriptions |
| Subscribe to events |
| Unsubscribe |
For most users, the HTTP MCP server at https://viralnote.app/api/mcp/mcp is simpler than installing this stdio package — see https://viralnote.app/developers/mcp for the HTTP config snippet. Use this stdio package when your MCP client doesn't support HTTP transport.
The underlying REST endpoints and request/response shapes are documented at viralnote.app/developers/docs.
Example agent prompts
"Show me my last 5 scheduled posts." Tool:
list_postswith{ status: "scheduled", limit: 5 }.
"Schedule this caption to Instagram for tomorrow at 9am, attaching the photo I uploaded yesterday." Tools:
list_media→ find item →create_postwith{ platforms: ["instagram"], caption, libraryItemId, scheduledFor, status: "scheduled" }.
"Pull this Dropbox link into my library, then publish it to X immediately." Tools:
import_media→create_post(draft) →publish_post.
Development
git clone https://github.com/viralnote/mcp-server
cd mcp-server
npm install
npm run build
VIRALNOTE_API_KEY=vnd_... npm startFor local iteration without rebuilding:
VIRALNOTE_API_KEY=vnd_... npm run devLicense
MIT — see LICENSE. Pull requests welcome.
Available Tools
15 toolscreate_postAInspect
Create a new post as a draft or schedule it for automatic publishing. With status='draft' (or is_draft=true) the post is saved with no publish time; with scheduledFor set it is queued and publishes automatically at that time. Returns the created post object including its id. Media must already exist in the library — call import_media or list_media first to get a media id. The user must have connected each target platform (verify with list_social_accounts if unsure). To publish an existing draft immediately, use publish_post rather than creating a new post.
Inputs: platforms (required), status, caption, is_draft, +3 more.
create_webhookAInspect
Subscribe a URL to ViralNote event notifications. ViralNote sends an HTTP POST with a JSON payload to the URL each time a subscribed event fires — for example post.published when a post goes live, or post.failed when delivery errors. Returns the created subscription including its id. The URL must be an HTTPS endpoint you control and that is publicly reachable. Check list_webhooks first to avoid duplicating an existing subscription.
Inputs: url (required), events (required).
delete_mediaAInspect
Permanently delete a media library item by id. The file cannot be recovered — confirm with the user before deleting. Use list_media to find the item's id and verify it is the right file (check name and type) first.
Inputs: mediaId (required).
delete_postAInspect
Permanently delete a post by id. If the post is scheduled, this cancels the pending publish. This does not retract content already delivered to social platforms — it only removes the ViralNote record. Irreversible: confirm with the user before deleting. Use update_post instead if the goal is to fix or reschedule a post.
Inputs: postId (required).
delete_webhookAInspect
Delete a webhook subscription by id. The target URL immediately stops receiving event notifications. Irreversible, but a subscription can be recreated with create_webhook. Use list_webhooks to find the id and confirm which URL/events it covers before deleting.
Inputs: webhookId (required).
get_postAInspect
Fetch a single post by id, including its full per-platform publish results (success or error per platform). Use after list_posts to inspect one post in detail, or after publish_post to check how delivery went. Returns an error if the id does not exist or belongs to another account.
Inputs: postId (required).
import_mediaAInspect
Import a file into the media library so it can be attached to posts. Two modes: (1) URL mode — pass url with an HTTPS direct-download link (up to 200MB; Dropbox and Canva share links supported via the matching source); (2) inline mode — pass data with base64-encoded bytes (3MB max before encoding) plus mimeType, with source='direct'. Exactly one of url or data must be provided. Returns the created library item including the id to use in create_post. For files over 3MB, always use URL mode.
Inputs: name (required), source (required), url, data, +2 more.
list_analyticsAInspect
List published posts with their latest per-platform metrics: views, likes, comments, shares, and engagement. Metrics are collected periodically by ViralNote, so values are the most recent snapshot rather than real-time. Use to report on content performance or find top-performing posts; use list_post_results instead when the question is whether delivery succeeded. Paginated via cursor.
Inputs: limit, cursor, platform.
list_mediaAInspect
List items in the user's media library. Returns each item's id, name, type, and folder, plus a cursor field when more pages exist. Use this to find a media id to attach to a post via create_post or update_post, or to check whether a file was already imported before calling import_media.
Inputs: sort, type, limit, cursor, +1 more.
list_post_resultsAInspect
Check delivery outcomes: returns recent published or failed posts with each platform's individual result (success, or the error that occurred). Pass postId to inspect one post's delivery; omit it to scan recent posts filtered by status. Use after publish_post to verify delivery, or when the user asks why a post didn't appear on a platform. For engagement metrics rather than delivery status, use list_analytics.
Inputs: limit, postId, status.
list_postsAInspect
List the user's posts. Returns post objects with id, caption, status, target platforms, scheduled time, and attached media ids, plus a cursor field when more pages exist. Use this to find a post's id before calling get_post, update_post, delete_post, or publish_post, or to review upcoming scheduled content. For per-platform delivery outcomes or metrics, prefer list_post_results or list_analytics instead.
Inputs: limit, cursor, status, platform.
list_social_accountsAInspect
List the social accounts connected to the user's ViralNote account: platform and account identity for each. Takes no parameters. Use before create_post to confirm the intended target platforms are actually connected — posting to an unconnected platform fails. Note that connecting or disconnecting accounts happens in the ViralNote dashboard UI (OAuth); it cannot be done through this API.
Inputs: no named parameters.
list_webhooksAInspect
List all webhook subscriptions on the account: each subscription's id, target URL, and subscribed events. Takes no parameters. Use to find a webhookId before delete_webhook, or to check whether an event is already covered before calling create_webhook (avoids duplicate subscriptions).
Inputs: no named parameters.
publish_postAInspect
Publish an existing draft post to all of its target platforms immediately, skipping the schedule queue. Only valid on posts with status='draft' — returns an error for scheduled or already-published posts. Returns the post with delivery kicked off; individual platforms can still succeed or fail independently, so follow up with get_post or list_post_results to confirm the outcome.
Inputs: postId (required).
update_postAInspect
Edit a draft or scheduled post before it publishes. Send only the fields to change — omitted fields keep their current values. Returns the updated post object. Posts that are already publishing, published, or failed cannot be edited. Common uses: reschedule by passing a new scheduledFor, fix a caption, swap attached media, or convert a draft to scheduled by passing status='scheduled' together with scheduledFor.
Inputs: postId (required), status, caption, mediaIds, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Every tool has a clearly distinct purpose. For example, create_post, publish_post, and update_post are well-differentiated: one creates, one publishes, one edits. The list tools (posts, post_results, analytics, media, webhooks, social_accounts) each target different data, avoiding confusion.
All 15 tools follow a consistent verb_noun pattern in snake_case: create_post, delete_media, list_analytics, etc. No mixing of conventions (e.g., camelCase or vague verbs like 'process'), making the tool surface predictable and easy to navigate.
15 tools is well-scoped for a social media scheduling service. The set covers core operations on posts, media, webhooks, analytics, and social accounts without unnecessary overlap or bloat.
The tool surface covers the main lifecycle: create, read, update, delete for posts and media; plus publishing, analytics, and webhook management. Minor gaps exist (e.g., no single media fetch by id, no tool to retry failed posts), but agents can work around them effectively.
Maintenance
Related MCP Connectors
Schedule and publish social posts across 9 platforms (Instagram, LinkedIn, X, TikTok, Facebook, Threads, Pinterest, Bluesky, Mastodon) straight from Claude, ChatGPT, Cursor, or any MCP client. Create, edit, and reschedule posts, upload media, and pull account and post analytics, follower demographics, and best-time windows. 20 tools, free on every plan.
Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp
Schedule and publish social media posts on 18 networks from Claude, Cursor and other MCP clients.
Social media management in ChatGPT & Claude: post or schedule text, images and videos to 11 networks
Related MCP Servers
- AlicenseAqualityBmaintenanceSchedule and manage social media posts across 10 platforms (Instagram, Facebook, TikTok, X, LinkedIn, YouTube, Threads, Pinterest, Bluesky, Telegram) from any MCP-compatible AI assistant. Supports batch posting, media uploads, analytics, and platform-specific features like Reels, Shorts, and carousels.11905 npm7MIT
- AlicenseAqualityCmaintenanceEnables drafting, scheduling, and publishing social posts on Vibe Marketing workspace through chat in Claude Code, Claude Desktop, or Cursor.14MIT
- AlicenseNot gradedqualityDmaintenanceEnables generating, scheduling, and publishing social media posts via Claude or an agent through the MCP protocol.13 npmMIT
- AlicenseCqualityBmaintenanceEnables posting, scheduling, and analyzing social media content across 16+ platforms through MCP clients like Claude Desktop, Claude Code, and Cursor.55113 npmMIT