social-neuron
52-tool MCP server for AI-powered social media management. Create content with 35+ AI models, distribute to multiple platforms, track analytics, and optimize with closed-loop learning.
README
@socialneuron/mcp-server
52 tools for AI-powered social media management. MCP, REST API, CLI — create content, schedule posts, track analytics, and optimize performance.
Integration Methods
| Method | Best For | Docs |
|---|---|---|
| MCP | AI agents (Claude, Cursor, VS Code) | Setup |
| REST API | Any HTTP client, webhooks, Zapier | Guide |
| CLI | Terminal, CI/CD pipelines | Guide |
| SDK | TypeScript/Node.js apps | Coming Q2 2026 |
All methods share the same 52 tools, auth, scopes, and credit system. Compare methods.
Quick Start
MCP (AI Agents)
1. Authenticate
npx -y @socialneuron/mcp-server login --device
This opens your browser to authorize access. Requires a paid Social Neuron plan (Starter or above). See pricing.
2. Add to Claude Code
claude mcp add socialneuron -- npx -y @socialneuron/mcp-server
<details> <summary><strong>Claude Desktop</strong></summary>
Add to your claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"socialneuron": {
"command": "npx",
"args": ["-y", "@socialneuron/mcp-server"]
}
}
}
</details>
<details> <summary><strong>VS Code</strong></summary>
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"socialneuron": {
"command": "npx",
"args": ["-y", "@socialneuron/mcp-server"]
}
}
}
</details>
<details> <summary><strong>Cursor</strong></summary>
Add to .cursor/mcp.json in your workspace:
{
"mcpServers": {
"socialneuron": {
"command": "npx",
"args": ["-y", "@socialneuron/mcp-server"]
}
}
}
</details>
3. Start using
Ask Claude: "What content should I post this week?" or "Schedule my latest video to YouTube and TikTok"
REST API (Any Language)
# Check credits
curl -H "Authorization: Bearer snk_live_..." \
https://mcp.socialneuron.com/v1/credits
# Generate content
curl -X POST -H "Authorization: Bearer snk_live_..." \
-H "Content-Type: application/json" \
-d '{"topic": "AI trends", "platforms": ["linkedin"]}' \
https://mcp.socialneuron.com/v1/content/generate
# Execute any tool via proxy
curl -X POST -H "Authorization: Bearer snk_live_..." \
-H "Content-Type: application/json" \
-d '{"response_format": "json"}' \
https://mcp.socialneuron.com/v1/tools/get_brand_profile
See REST API docs | OpenAPI spec | Examples
CLI (Terminal & CI/CD)
npx @socialneuron/mcp-server sn system credits --json
npx @socialneuron/mcp-server sn analytics loop --json
npx @socialneuron/mcp-server sn discovery tools --module content
What You Can Do
Ask Claude things like:
- "Generate 5 content ideas about sustainable fashion for Gen Z"
- "Create a 30-second video ad for my product launch"
- "Schedule this image to Instagram and LinkedIn at 9am tomorrow"
- "Show me my best-performing content this month"
- "What are the trending topics in my niche right now?"
- "Check my analytics and suggest improvements"
- "Set up autopilot to post 3 times per week"
Tool Categories (52 tools)
All tools are accessible via MCP, REST API (POST /v1/tools/{name}), and CLI.
Content Lifecycle
| Category | Tools | What It Does |
|---|---|---|
| Ideation | generate_content, fetch_trends, adapt_content, get_ideation_context | AI-powered content ideas and trend research |
| Content | generate_video, generate_image, generate_voiceover, generate_carousel, check_status, create_storyboard | Video, image, voiceover, and carousel creation with 20+ AI models |
| Distribution | schedule_post, schedule_content_plan, find_next_slots, list_connected_accounts, list_recent_posts | Multi-platform publishing, scheduling, and slot optimization |
| Analytics | fetch_analytics, refresh_platform_analytics | Performance tracking across all platforms |
| Insights | get_performance_insights, get_best_posting_times | Data-driven content optimization |
Management & Optimization
| Category | Tools | What It Does |
|---|---|---|
| Brand | extract_brand, get_brand_profile, save_brand_profile, update_platform_voice | Brand identity and voice management |
| Comments | list_comments, reply_to_comment, post_comment, moderate_comment, delete_comment | Social engagement management |
| Planning | plan_content_week, save_content_plan, get_content_plan, update_content_plan, submit_content_plan_for_approval | Content calendar and approval workflows |
| Plan Approvals | create_plan_approvals, respond_plan_approval, list_plan_approvals | Review and approve content plans |
| Autopilot | list_autopilot_configs, get_autopilot_status, update_autopilot_config | Automated content scheduling |
| Quality | quality_check, quality_check_plan | Pre-publish content validation |
| Credits | get_credit_balance, get_budget_status | Usage and budget tracking |
| Loop | get_loop_summary | Closed-loop optimization feedback |
Utilities
| Category | Tools | What It Does |
|---|---|---|
| Extraction | extract_url_content | Extract content from URLs, YouTube, articles |
| Screenshots | capture_app_page, capture_screenshot | Visual documentation and monitoring |
| Remotion | list_compositions, render_demo_video | Programmatic video rendering |
| Usage | get_mcp_usage | API usage monitoring |
| YouTube | fetch_youtube_analytics | YouTube-specific deep analytics |
| Discovery | search_tools | Find tools by keyword with progressive detail levels (saves 98% tokens vs loading all tools) |
Authentication
Three auth methods, in order of recommendation:
Device Code (Recommended)
npx -y @socialneuron/mcp-server login --device
Opens browser, you approve, CLI receives API key automatically.
Browser Flow
npx -y @socialneuron/mcp-server login
Browser-based OAuth flow.
API Key Paste
npx -y @socialneuron/mcp-server login --paste
Generate a key at socialneuron.com/settings/developer, paste it in.
Keys are stored in your OS keychain (macOS Keychain, Linux secret-tool) or file fallback.
Windows users: The file fallback (
~/.config/social-neuron/credentials.json) does not have strong permission enforcement on NTFS. For production use on Windows, set theSOCIALNEURON_API_KEYenvironment variable instead.
Pricing
MCP access requires a paid plan:
| Plan | Price | Credits/mo | MCP Access |
|---|---|---|---|
| Free | $0 | 100 | — |
| Starter | $29/mo | 800 | Read + Analytics |
| Pro | $79/mo | 2,000 | Full access |
| Team | $199/mo | 6,500 | Full access + Multi-user |
Sign up at socialneuron.com/pricing.
Scopes
Each API key inherits scopes from your plan. Tools require specific scopes to execute.
| Scope | What you can do |
|---|---|
mcp:read |
Analytics, insights, brand profiles, content plans, quality checks, screenshots, usage stats, credit balance |
mcp:write |
Generate content (video, image, voiceover, carousel), create storyboards, save brand profiles, plan content |
mcp:distribute |
Schedule posts, publish content plans |
mcp:analytics |
Refresh analytics, YouTube deep analytics |
mcp:comments |
List, reply, post, moderate, delete comments |
mcp:autopilot |
Configure and monitor automated scheduling |
mcp:full |
All of the above |
CLI Reference
These commands run directly in your terminal — no AI agent needed. Useful for scripts, CI/CD, and quick checks.
After global install (
npm i -g @socialneuron/mcp-server), usesocialneuron-mcpdirectly. Otherwise, prefix withnpx @socialneuron/mcp-server.
# Auth
socialneuron-mcp login [--device|--paste]
socialneuron-mcp logout
# Deterministic CLI (no LLM)
socialneuron-mcp sn publish --media-url <url> --caption <text> --platforms <list> --confirm
socialneuron-mcp sn status --job-id <id>
socialneuron-mcp sn posts --days 7 --platform youtube
socialneuron-mcp sn refresh-analytics
socialneuron-mcp sn preflight --check-urls
socialneuron-mcp sn oauth-health --json
socialneuron-mcp sn oauth-refresh --platform instagram
socialneuron-mcp sn quality-check --content "your text here"
socialneuron-mcp sn autopilot
socialneuron-mcp sn usage
socialneuron-mcp sn loop
socialneuron-mcp sn credits
# Agent-native CLI v2
socialneuron-mcp sn tools [--module ideation] [--scope mcp:write] # List/filter all 52 tools
socialneuron-mcp sn info # Version, auth, credits, tool count
socialneuron-mcp sn plan list|view|approve # Content plan management
socialneuron-mcp sn preset list|show|save|delete # Platform presets (6 built-in)
# Interactive REPL
socialneuron-mcp repl
# Add --json to any command for machine-readable output
Automation Flow (E2E Loop)
The full autonomous content loop using MCP tools:
get_loop_summary— assess project state (content count, scheduled posts, insights)plan_content_week— generate a content plan based on insights and trendsgenerate_video/generate_image— create media assets from the plancheck_status— poll async jobs until assets are readyschedule_post— distribute content to connected platforms- (wait for analytics collection) — platform data is fetched automatically
refresh_platform_analytics— trigger a manual analytics refreshget_performance_insights— read what worked and what didn't- Loop back to step 1 with new insights
Each iteration produces smarter content as performance data feeds back into the planning step.
Security
- All API keys are hashed before storage — we never store plaintext keys
- Credentials stored in your OS keychain (macOS Keychain, Linux secret-tool) or environment variable
- SSRF protection on all URL parameters with DNS rebinding prevention
- Rate limiting per user with per-tool limits for expensive operations
- Agent loop detection prevents runaway automation
- Telemetry is off by default — opt in with
SOCIALNEURON_TELEMETRY=1
See SECURITY.md for our vulnerability disclosure policy and credential safety details.
Telemetry
Telemetry is off by default. No data is collected unless you explicitly opt in.
To enable: Set SOCIALNEURON_TELEMETRY=1 in your environment.
To disable: DO_NOT_TRACK=1 or SOCIALNEURON_NO_TELEMETRY=1 always disables telemetry, even if SOCIALNEURON_TELEMETRY=1 is set.
When enabled, the following anonymous metrics are collected via PostHog:
- Tool name invoked
- Success or failure status
- Invocation duration (ms)
No personal content, API keys, or request payloads are ever collected. Your user ID is hashed (SHA-256) before transmission.
posthog-node is an optional dependency — if it is not installed, telemetry is a silent no-op regardless of environment variables.
Examples
See the examples/ directory:
- REST API examples — curl scripts for every endpoint
- CLI examples — automation workflows
- MCP prompts — natural language examples
- External examples repo — prompt-driven workflow templates
- Performance review and optimization loops
- Brand-aligned content generation
- Comment engagement automation
Links
- For Developers — Integration methods, tools, pricing
- REST API Docs — Endpoint reference
- CLI Guide — Terminal commands
- Integration Methods — Compare MCP vs REST vs CLI
- OpenAPI Spec — Machine-readable API spec
- Developer Settings — Generate API keys
- Documentation
- Pricing
- Agent Protocol
License
MIT - see LICENSE
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。