MCP server for social media posting
OmniSocials provides an MCP (Model Context Protocol) server so AI assistants and tools can manage your social media directly. The server is available in two forms:
- Remote MCP endpoint at
https://mcp.omnisocials.com, for clients that speak MCP over HTTP (claude.ai, ChatGPT, Notion, OpenClaw) - npm package
@omnisocials/mcp-server, for clients that spawn local MCP servers over stdio (Claude Desktop, Cursor, Windsurf, Claude Code, OpenClaw)
Both use your OmniSocials account: the remote endpoint signs in with OAuth or an API key, the npm package needs an API key. The remote endpoint has every tool; the npm package has the same tools except get_calendar, delete_media and the ones the post card in a chat app uses. Pick whichever your client supports, and prefer the remote endpoint when your client can reach it.
Dedicated client guides
These clients have their own walkthroughs with screenshots and exact config paths:
For every other MCP-compatible client, use one of the setups below.
Remote MCP URL (hosted)
The remote endpoint supports two authentication modes:
OAuth (preferred). Clients with a connector/app flow (ChatGPT, claude.ai, grok.com) add https://mcp.omnisocials.com as the server URL and sign in when prompted; no key handling needed. See the ChatGPT guide for the walkthrough.
API key in a header. For clients without an OAuth flow, use the URL without a query parameter and send the key in the Authorization header. This is the preferred way: the key stays out of URLs, logs and screenshots.
Text
For several workspaces, separate the keys with commas in the same header (Bearer omsk_live_key1,omsk_live_key2, at most 100 keys).
API key in the URL. Only for clients that take a URL and nothing else (no header field):
Text
Treat that URL as a secret, like the key itself.
npm package (local stdio)
For clients that spawn MCP servers as local subprocesses:
Terminal
Pass the API key via environment variable:
Terminal
The generic MCP config shape most clients accept:
JSON
Config file location varies by client:
| Client | Config path |
|---|---|
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Desktop (Windows) | %APPDATA%\Claude\claude_desktop_config.json |
| Cursor | .cursor/mcp.json (in the project) or ~/.cursor/mcp.json (global) |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| Claude Code | Managed via claude mcp add command |
Available tools
The MCP server exposes the public API as structured tools:
| Category | Tools |
|---|---|
| Posts | list_posts, get_post, create_post, create_and_publish_post, update_post, delete_post, publish_post, retry_post, list_approval_workflows, approve_post, reject_post, get_post_approval, get_recent_platform_posts, search_locations, list_pinterest_products, search_instagram_audio |
| Media | list_media, upload_media, update_media, check_media_compatibility |
| Folders | list_folders, create_folder |
| Hashtag Sets | list_hashtag_sets, create_hashtag_set, update_hashtag_set, delete_hashtag_set |
| Tags | list_tags, create_tag, update_tag, delete_tag, tag_posts, get_tag_analytics (your own labels on posts, never sent to a platform; tag_posts tags up to 500 posts at once, published ones included; create_post, create_and_publish_post and update_post take tags, list_posts and get_analytics_overview take tag). See Post tags |
| Automations | list_automations, get_automation, create_automation, update_automation, delete_automation, get_automation_activity, get_automation_results, get_automation_story (comment-to-DM on Instagram or a Facebook Page, and DM keywords on X, chosen with platform; create_post also takes comment_dm_automation with platforms). Follow first on Instagram is flat fields on create_automation and update_automation, and inside comment_dm_automation on create_post, create_and_publish_post and update_post: follow_gate (true or false), follow_gate_text, follow_gate_button, not_following_text, not_following_button (all optional, the defaults when left out). get_automation, list_automations and get_automation_activity show the gate and the people waiting for a follow. A follow-up (Instagram and Facebook) is flat fields in the same places: follow_up_text (turns it on), follow_up (true or false), follow_up_delay_hours (1 to 23), follow_up_button_title and follow_up_button_url (null removes the button), follow_up_tap_text and follow_up_tap_button (the Instagram tap step); get_automation_activity shows where each follow-up is. A link button under the DM is dm_button_title and dm_button_url on create_automation and update_automation (null on either removes it; not on comment_dm_automation); OmniSocials counts the taps. get_automation_results (period 7d, 30d or all, and the user's time_zone) gives the results: each step with its count and rate, why people got no DM, a table of every step per day, and the posts that went live in the period (to see which post brought the comments); get_automation_activity takes filter (clicked, answered) and the outcome not_sent (skipped and failed together), and shows each row's event id, tap, answer and keyword form; get_automation_story (automation_id, event_id from the activity) gives one person's story: what they wrote, the post, the DM and the DM conversation up to 8 days after the comment (the DM texts need the social inbox permission, or inbox:read on a key) |
| Accounts | list_accounts, get_account, set_x_statistics (how often an X account's posts are checked: full = 5 checks, light = 2 checks or off, and its followers counted: daily, weekly or off; uses credits, see X statistics) |
| Inbox | list_inbox_conversations, get_inbox_conversation, get_next_unanswered, mark_inbox_read, reply_to_inbox, hide_inbox_comment, delete_inbox_comment, like_inbox_comment |
| Analytics | get_post_analytics, get_posts_analytics, get_analytics_overview, get_account_analytics, get_best_times, update_post_analytics (checks the X numbers of a published post again now; Update now) |
| Webhooks | list_webhooks, get_webhook, create_webhook, update_webhook, delete_webhook, rotate_webhook_secret |
| Limits and feature requests | get_limits (what OmniSocials cannot do, why, and what to do instead, by platform or area), request_feature (a feature request for the user, sent only after they agree; a platform rule answers not_requestable), list_feature_requests (the user's requests with their status and the team's replies). See Limits and feature requests |
| Workspaces | list_workspaces, switch_workspace |
Each tool accepts the same parameters as the corresponding REST endpoint. create_post and update_post support the full post feature set, including per-platform automatic first comments and PDF-to-carousel uploads. create_post and create_and_publish_post take dry_run: true to check a post without creating or publishing it (hosted server; the npm package from its next release, see Test without publishing). The MCP server handles validation, retries, and response shaping so the assistant gets clean structured output.
For the Social Inbox, get_next_unanswered serves the next DM or comment that needs an answer together with the whole thread and the post it is on, and reply_to_inbox takes include_next: true to return the following item in the same call, so an assistant can work through the inbox in a loop. On a Facebook comment, reply_to_inbox with mention_author: true tags the person who wrote it (their name shows first as a clickable link and Facebook notifies them), and the result says whether Facebook accepted the tag. list_inbox_conversations accepts an unanswered filter, get_inbox_conversation shows the post (caption, link, image) and each message's #id, files (Threads photo, video and carousel replies too) and Threads link, hide_inbox_comment hides or unhides Instagram, Facebook, TikTok, YouTube, and Threads comments, and delete_inbox_comment deletes Instagram, Facebook, and TikTok comments together with their replies (irreversible, the assistant confirms first). See Using it from an AI assistant.
Scopes
The MCP server respects your API key's scopes. A key without posts:write will see create_post in the tool list but calling it will return 403 Forbidden. Give the key exactly the scopes it needs for the task, and no more.
set_x_statistics needs the opt-in scope accounts:write (the Credits and X statistics switch) on the key, and billing rights (manage_billing) for the person behind the key or the sign-in. update_post_analytics needs analytics:read and the View analytics permission. Both can change what the organisation pays for X: see X statistics and credits.
The role of the person behind the key or the sign-in counts too, checked on every call. get_analytics_overview, get_account_analytics, get_tag_analytics, update_post_analytics and get_recent_platform_posts need the View analytics permission (access_analytics), as the Analytics pages in OmniSocials; without it they answer 403 insufficient_permission. A key stops working when its creator no longer holds Manage API keys in the organisation (see When a key stops working).
Limits and refused ids
Request limits (remote endpoint). Each person gets at most 600 requests and 120 new sessions a minute, over all their keys and sign-ins. Over that the endpoint answers HTTP 429 with a JSON-RPC error and a Retry-After header (seconds): wait that long and send the call again. A person keeps at most 200 open sessions; a new one closes their oldest. One request to the remote endpoint can be 1 MB at most, so upload_media with base64_data holds about 700 KB of file: send bigger files with method: "upload_url" or a public url.
Ids in a path (both servers; the npm package from 1.65.0). Every id a tool puts in the path of an API call is checked first: a number where the API takes a number (posts, media, tags, hashtag sets, ad campaigns, ads), a UUID for a webhook, and for any other id no empty value, no . or .., no control character and at most 512 characters. A refused id is a tool error with the code invalid_id that names the id, and nothing is sent. Pass ids exactly as OmniSocials returned them. This stops an id taken from outside text (a DM, a comment) from turning one call into another.
Alternative: Agent Skills
Coding agents that run shell commands (Claude Code, Codex, Gemini CLI, GitHub Copilot, Cursor) can also use Agent Skills: a CLI + markdown instruction file. Most of them support MCP too, so pick either; use Agent Skills for a tool that cannot connect to an MCP server.