SocialDesk
安排并发布社交媒体帖子到 Instagram、Facebook、TikTok、LinkedIn、X 和 Threads,查看分析数据,并在一个收件箱中回复评论和私信。提供带 OAuth 的托管服务器,或使用 API 密钥的本地 npm 包。21 个工具。
托管 MCP 服务器
npx add-mcp 'https://app.socialdesk.ai/api/mcp'可安装到 Claude Code、Codex、Cursor 等客户端
文档
SocialDesk MCP server
Manage your social media from Claude, ChatGPT, Cursor or any other MCP client.
This is the official Model Context Protocol server for SocialDesk, an AI social media management tool. It lets an AI assistant schedule and publish posts to Instagram, Facebook, TikTok, LinkedIn, X and Threads, read analytics, and answer comments and DMs from your SocialDesk inbox.
Two ways to connect
| Hosted server | This package | |
|---|---|---|
| Runs | On SocialDesk's servers | On your machine (stdio) |
| Sign-in | OAuth, no keys | SocialDesk API key |
| URL / command | https://app.socialdesk.ai/api/mcp | npx -y @socialdesk-ai/mcp-server |
| Best for | claude.ai, ChatGPT, Claude Code | Clients that only support local servers, scripts and automation |
Both expose the same 21 tools. If your client supports remote servers, the hosted one is the quickest: add the URL as a custom connector and sign in. Setup guide: https://socialdesk.ai/developers/mcp
Use this package
You need Node.js 18 or later, a SocialDesk account, and an API key (in SocialDesk: Settings, then API keys).
Claude Desktop
Add this to claude_desktop_config.json:
{
"mcpServers": {
"socialdesk": {
"command": "npx",
"args": ["-y", "@socialdesk-ai/mcp-server"],
"env": { "SOCIALDESK_API_KEY": "sk_live_..." }
}
}
}
Claude Code
claude mcp add socialdesk --env SOCIALDESK_API_KEY=sk_live_... -- npx -y @socialdesk-ai/mcp-server
Cursor
Add the same mcpServers block as for Claude Desktop to ~/.cursor/mcp.json.
Environment variables
| Variable | Required | Default |
|---|---|---|
SOCIALDESK_API_KEY | yes | none |
SOCIALDESK_API_URL | no | https://app.socialdesk.ai/api |
Tools
| Area | Tools |
|---|---|
| Posts | list_posts, get_a_post, update_a_post, delete_a_post, get_post_insights |
| Drafts | list_drafts, create_a_draft, update_a_draft, delete_a_draft |
| Publishing | publish_a_post_to_one_or_more_connected_accounts (publish now or schedule) |
| Workspace | list_spaces, list_connected_social_accounts_in_a_space |
| AI writing | generate_a_post_caption, generate_hashtags_for_some_text |
| Analytics | dashboard_overview_for_a_space, per_account_analytics_insights |
| Inbox | list_dm_conversations_across_all_accounts_in_a_space, get_messages_in_a_conversation, send_a_direct_message, list_comments_on_a_published_post, comment_on_a_post_or_reply_to_a_comment |
Every tool carries MCP annotations (readOnlyHint, destructiveHint, openWorldHint), so clients can ask for confirmation before anything is published, sent or deleted. Publishing a post and sending a message are public and cannot be undone: the tool descriptions tell the assistant to show you the final text, media, accounts and time, and to get your confirmation first.
Example prompts
- "List my connected accounts."
- "Draft a LinkedIn post about our new opening hours and schedule it for Monday at 9am."
- "How did last week's Instagram posts do?"
- "Any DMs I haven't answered? Draft replies for me to approve."
Development
npm install
npm run build
SOCIALDESK_API_KEY=sk_live_... node dist/index.js
Logs go to stderr; stdout carries the MCP protocol. The tool definitions in tools.json are generated from the SocialDesk API specification, so please report a wrong or missing tool as an issue instead of editing that file.
Links
- Product: https://socialdesk.ai
- MCP setup guide: https://socialdesk.ai/developers/mcp
- API reference: https://socialdesk.ai/developers/reference
- SocialDesk in ChatGPT: https://socialdesk.ai/chatgpt
- MCP Registry name:
ai.socialdesk/socialdesk
License
MIT. SocialDesk is made by Cappsule Sàrl, Geneva.