npm @viralnote/mcp-serverstreamable-httpMITupdated 10d ago
A Model Context Protocol server for the ViralNote social media API.
O que dá para fazer com ViralNote?
@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
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_KEY - 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 var | Required | Default | Notes |
|---|---|---|---|
VIRALNOTE_API_KEY |
yes | — | Generate at viralnote.app/developers/auth. Grant posts:read, posts:write, plus webhooks:* if your agent should manage webhooks. |
VIRALNOTE_API_BASE |
no | https://viralnote.app/api/v1 |
Override for staging/self-hosted instances. |
Tools exposed
| Tool | Purpose |
|---|---|
list_posts |
List posts (filter by status/platform, paginated) |
get_post |
Read one post including per-platform publish results |
create_post |
Create a draft (is_draft: true) or scheduled post |
update_post |
Update a draft or scheduled post |
delete_post |
Delete (cancels if scheduled) |
publish_post |
Publish a draft now |
list_media |
List media library items |
import_media |
Import by URL (200MB) or base64 data (3MB) |
delete_media |
Delete a media item |
list_social_accounts |
List connected social accounts |
list_analytics |
Published posts with per-platform metrics |
list_post_results |
Per-platform delivery results (success/error) |
list_webhooks |
List webhook subscriptions |
create_webhook |
Subscribe to events |
delete_webhook |
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 start
For local iteration without rebuilding:
VIRALNOTE_API_KEY=vnd_... npm run dev
License
MIT — see LICENSE. Pull requests welcome.
Instalação
Adicione ViralNote ao seu cliente. Escolha o que você usa.
{
"servers": {
"mcp-server": {
"type": "http",
"url": "https://dashboard.viralnote.app/api/mcp/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add mcp-server -- npx -y @viralnote/mcp-servercodex mcp add mcp-server -- npx -y @viralnote/mcp-serveramp mcp add mcp-server -- npx -y @viralnote/mcp-server{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@viralnote/mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@viralnote/mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@viralnote/mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@viralnote/mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@viralnote/mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@viralnote/mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@viralnote/mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @viralnote/mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
15 ferramentas
ViralNote expõe 15 ferramentas a um agente conectado.
- list_posts
- List posts (filter by status/platform, paginated)
- get_post
- Read one post including per-platform publish results
- create_post
- Create a draft (`is_draft: true`) or scheduled post
- update_post
- Update a draft or scheduled post
- delete_post
- Delete (cancels if scheduled)
- publish_post
- Publish a draft now
- list_media
- List media library items
- import_media
- Import by URL (200MB) or base64 data (3MB)
- delete_media
- Delete a media item
- list_social_accounts
- List connected social accounts
- list_analytics
- Published posts with per-platform metrics
- list_post_results
- Per-platform delivery results (success/error)
- list_webhooks
- List webhook subscriptions
- create_webhook
- Subscribe to events
- delete_webhook
- Unsubscribe
Pontuação
89 / 100
Excelente
- Documentação25/25
- Manutenção25/25
- Confiança16/20
- Capacidade8/15
- Instalação15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 3 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 15 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Histórico de versões
| Versões | Publicada |
|---|---|
| 0.2.4Mais recente | 17 de jul. de 2026 |
| 0.2.3 | 9 de jul. de 2026 |
| 0.2.2 | 9 de jul. de 2026 |