# ViralNote [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/viralnote/mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 574  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/viralnote

## Description
Schedule, publish, and analyze social posts on TikTok, Instagram, YouTube, X, Threads, LinkedIn.

## Tools
Capabilities this server exposes over MCP:

- **list_posts** — List the user's posts. Filter by status (draft, scheduled, publishing, published, failed) and/or platform. Paginated.
- **get_post** — Read one post by id, including its per-platform publish results.
- **create_post** — Create a draft or scheduled post. Pass is_draft=true to save as draft (no schedule). Otherwise set scheduledFor (ISO 8601 UTC) to schedule. Use libraryItemId for single media or mediaIds for carousels (max 10). Pinterest posts need a board per targeted account (list_pinterest_boards → platformMetadata.pinterest.boardIdByAccount); Reddit posts need platformMetadata.reddit.subreddit.
- **update_post** — Update a draft or scheduled post. Pass only the fields you want to change. platformMetadata replaces the whole object (set a Pinterest board or Reddit subreddit here).
- **delete_post** — Delete a post (cancels it if scheduled). Irreversible.
- **publish_post** — Publish a draft post immediately. Skips the schedule queue.
- **list_media** — List items in the user's media library. Filter by type (image, video, gif, clip) and folder. Paginated.
- **import_media** — Import a file into the library. Two modes: (1) by URL — pass `url` (HTTPS direct-download, 200MB cap, e.g. Dropbox/Canva); (2) by base64 — pass `data` (raw bytes, 3MB cap) + `mimeType`. Use `source: 'direct'` for base64 uploads from agent memory.
- **delete_media** — Delete a media library item. Irreversible.
- **list_social_accounts** — List the social accounts the user has connected to ViralNote.
- **list_pinterest_boards** — List the boards on one connected Pinterest account. Every Pin needs a board: call this before creating a Pinterest post and pass the board id in platformMetadata.pinterest.boardIdByAccount keyed by the same account id.
- **list_analytics** — List published posts with their per-platform analytics (views, likes, comments, shares, engagement). Filter by platform. Note: ViralNote refreshes metrics periodically; this returns the latest collected values.
- **list_post_results** — List recent published or failed posts, each with a `results` array of per-platform outcomes: `status` ('success', 'failed', or 'pending' — accepted by the platform but not yet confirmed), plus `error` and the platform's own `failReason` code when delivery failed. Use to see which platforms a post landed on and why any of them didn't. A pending entry resolves within a few minutes; read the post again rather than republishing it.
- **list_webhooks** — List the user's webhook subscriptions.
- **create_webhook** — Subscribe to ViralNote events (e.g. post.published, post.failed) at a URL you control.
- **delete_webhook** — Delete a webhook subscription.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

**Requires environment variables:** `VIRALNOTE_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What ViralNote MCP server does

ViralNote MCP server exposes the ViralNote social media API as MCP tools. Agents can inspect existing posts, create drafts or scheduled posts, update pending content, publish drafts immediately, and remove posts. Post records include per-platform publishing results, allowing an agent to see how a multi-platform publication was handled.

The server also gives agents access to ViralNote's media library. They can find images, videos, GIFs, and clips, import new files, and remove library items. Connected social accounts can be listed before selecting publishing targets.

Analytics tools return the latest collected metrics for published posts, including views, likes, comments, shares, and engagement. Webhook tools let an agent list subscriptions, subscribe a URL to ViralNote events such as `post.published` and `post.failed`, or delete a subscription.

## How it works

The stdio package starts as an MCP process and calls ViralNote's API using the configured API key. By default, requests use `https://viralnote.app/api/v1`; the base URL can be changed for staging or self-hosted deployments. A hosted Streamable HTTP MCP endpoint is also available for clients that support remote MCP connections.

Post creation supports either a draft or a scheduled publication. Drafts use `is_draft: true`; scheduled posts require an ISO 8601 UTC value in `scheduledFor`. A post can reference one media library item or a carousel of up to 10 media items. `publish_post` bypasses the schedule queue and publishes a draft immediately.

Delivery results are reported per platform. A result can be successful, failed, or pending while the platform confirms acceptance. Pending results normally resolve within a few minutes; reading the post again is preferable to submitting it a second time.

## Setup and configuration

For a local stdio installation, install the package globally with `npm install -g @viralnote/mcp-server`, then configure the `viralnote-mcp` command in the MCP host. The package can also be run through `npx -y @viralnote/mcp-server`. Set `VIRALNOTE_API_KEY` to a key generated through ViralNote's developer authentication page.

Gemini CLI can install the repository as an extension and authenticate with `/mcp auth viralnote`. Cline can connect to the hosted Streamable HTTP endpoint and complete OAuth authentication. Claude Desktop, Claude Code, and Cursor can use the stdio configuration with the API key. API access should include `posts:read` and `posts:write`; webhook management additionally requires the relevant `webhooks:*` permissions.

## Tools and capabilities

- List, inspect, create, update, delete, and publish posts.
- Filter posts by status or platform with pagination.
- Import media from an HTTPS direct-download URL up to 200 MB, or base64 data up to 3 MB.
- Filter media by type or folder and manage library items.
- List connected social accounts and Pinterest boards.
- Retrieve published-post analytics and per-platform delivery outcomes.
- Create, inspect, and delete webhook subscriptions.

Pinterest posts require a board ID for each targeted account. Reddit posts require a subreddit in `platformMetadata.reddit`. When updating a post, `platformMetadata` replaces the entire existing object, so unrelated platform metadata should be retained when making a change.

## Limitations and notes

Media URL imports must use HTTPS direct-download URLs, and base64 uploads are limited to 3 MB. Carousel posts accept no more than 10 media items. Deleting posts or media is irreversible; deleting a scheduled post also cancels its scheduled publication.

Analytics are periodically refreshed rather than necessarily live. Platform delivery can remain pending briefly after ViralNote accepts a post. The server manages the ViralNote account and its connected social accounts; those accounts must already be connected before they can be used as publishing targets.

_Full upstream README: https://allmcps.com/mcp/viralnote/readme_

