ViralNote

السجل الرسمي التسويق والمبيعات

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http viralnote 'https://dashboard.viralnote.app/api/mcp/mcp' --header 'Authorization: <Bearer API key from https://dashboard.viralnote.app/developers/auth. Format: Bearer vnd_...>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "viralnote": {
            "type": "http",
            "url": "https://dashboard.viralnote.app/api/mcp/mcp",
            "headers": {
                "Authorization": "<Bearer API key from https://dashboard.viralnote.app/developers/auth. Format: Bearer vnd_...>"
            }
        }
    }
}
NPM package @viralnote/mcp-server
Claude Code
claude mcp add viralnote -e 'VIRALNOTE_API_KEY=<your viralnote_api_key>' -- npx -y @viralnote/mcp-server@0.2.4
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "viralnote": {
            "command": "npx",
            "args": [
                "-y",
                "@viralnote/mcp-server@0.2.4"
            ],
            "env": {
                "VIRALNOTE_API_KEY": "<your viralnote_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • VIRALNOTE_API_KEY إلزامي سري ViralNote API key (create one at https://dashboard.viralnote.app/developers/auth). Format: vnd_...

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. @viralnote/mcp-server
  2. Install
  3. Configuration
  4. Tools exposed
  5. Example agent prompts
  6. Development
  7. License

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

Restart 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/mcp

The 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:

  1. Open Cursor and go to Settings → Plugins
  2. Search for "ViralNote" in the Marketplace
  3. Click Install
  4. In Plugins → Configure, set your VIRALNOTE_API_KEY
  5. Get 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-server

Then reference viralnote-mcp directly in your MCP config:

{
  "mcpServers": {
    "viralnote": {
      "command": "viralnote-mcp",
      "env": { "VIRALNOTE_API_KEY": "vnd_..." }
    }
  }
}

Configuration

Env varRequiredDefaultNotes
VIRALNOTE_API_KEYyes—Generate at viralnote.app/developers/auth. Grant posts:read, posts:write, plus webhooks:* if your agent should manage webhooks.
VIRALNOTE_API_BASEnohttps://viralnote.app/api/v1Override for staging/self-hosted instances.

Tools exposed

ToolPurpose
list_postsList posts (filter by status/platform, paginated)
get_postRead one post including per-platform publish results
create_postCreate a draft (is_draft: true) or scheduled post
update_postUpdate a draft or scheduled post
delete_postDelete (cancels if scheduled)
publish_postPublish a draft now
list_mediaList media library items
import_mediaImport by URL (200MB) or base64 data (3MB)
delete_mediaDelete a media item
list_social_accountsList connected social accounts
list_analyticsPublished posts with per-platform metrics
list_post_resultsPer-platform delivery results (success/error)
list_webhooksList webhook subscriptions
create_webhookSubscribe to events
delete_webhookUnsubscribe

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_posts with { 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_post with { 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 start

For local iteration without rebuilding:

VIRALNOTE_API_KEY=vnd_... npm run dev

License

MIT — see LICENSE. Pull requests welcome.

الأسئلة الشائعة

ما هو ViralNote؟

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

كيف أثبّت ViralNote؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http viralnote 'https://dashboard.viralnote.app/api/mcp/mcp' --header 'Authorization: <Bearer API key from https://dashboard.viralnote.app/developers/auth. Format: Bearer vnd_...>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج ViralNote إلى مفتاح API؟

نعم. يتطلب VIRALNOTE_API_KEY, Authorization، وتضبطها في إعداداته.

هل ViralNote مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون ViralNote؟

ينشره viralnote. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.