Reference
MCP server
The endpoint, authentication and the tools agents get.
The MCP server gives AI assistants SocialHelper’s features as tools. It’s at https://socialhelper.app/mcp, speaks streamable HTTP, and uses your API key in the Authorization header.
claude mcp add --transport http socialhelper https://socialhelper.app/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
Setup guides for other clients: Claude Code, Cursor, VS Code, Claude Desktop, Windsurf (Devin Desktop), Codex CLI, Gemini CLI, Zed, Cline.
Tools
-
list_accountstool - List the accounts connected to this workspace. Accounts with can_publish receive posts: use their IDs as `accounts` in create_post. Accounts with tools (Search Console, Analytics, Ads…) offer reports and lookups: see list_account_tools. Only accounts with status "active" can be used. Filter by platform, status or can_publish, and pass compact: true for just the essentials.
-
get_platform_rulestool - Get the rules posts must fit on each platform: text limit and how it is counted, how many images/videos, file types upload_media can import for it and sizes, and platform-specific options you can pass in create_post overrides.
-
upload_mediatool - Import an image or video so it can be attached to a post: from a public URL, or (in ChatGPT) a file the user shared or generated in the chat. Returns a media ID for create_post. Accepts JPEG, PNG, WebP, GIF, MP4 and MOV up to 60 MB.
-
validate_posttool - Check a post without publishing it: takes the same input as create_post and runs the same checks. For each account it returns the final text after overrides, its length against the platform limit, and any problems. Nothing is saved or posted. ok is true when create_post would accept it as it is.
-
create_posttool - Publish a post to one or more connected accounts, now or at scheduled_at. The content is checked against every target platform first: if anything does not fit, nothing is posted and all problems are returned. Posting is public — confirm the text and accounts with the user first.
-
get_posttool - Get a post and the status of each target account: scheduled, queued, publishing, confirming, published (with its live URL), failed (with the reason) or cancelled. Pass wait_seconds to wait for publishing to finish.
-
update_posttool - Edit a scheduled post before it goes out: its text, media, overrides, time or accounts. Send only what changes. Only posts with editable: true in get_post can change (every account still waiting, over a minute away); otherwise cancel_post and create a new one. Content is checked like create_post. Confirm changes to text or accounts with the user first.
-
list_poststool - List recent posts, newest first, optionally filtered by status. Useful for finding scheduled posts or recent failures.
-
cancel_posttool - Cancel a scheduled post on every account where it has not started publishing. Already-published targets are not removed from the platform.
-
list_account_toolstool - List the tools a connected account offers, such as Search Console queries, Analytics reports or Google Ads searches, with each tool's input schema. Run them with run_account_tool. Accounts that only receive posts have no tools.
-
run_account_tooltool - Run one of a connected account's tools (see list_account_tools) and get its result. Pass the tool's input as `input`, matching its input schema.
How agents use them
The server explains two flows to every agent that connects:
- Posting:
list_accounts→get_platform_rules→upload_media(optional) →create_post→get_post. Agents are told that posting is public and immediate unlessscheduled_atis set, and to confirm the text and accounts with you first. - Data:
list_accounts→list_account_tools→run_account_tool, starting with a listing tool to find the IDs other tools need.
Details
create_posttakes the same fields as the REST API, plus an optionalidempotency_key.upload_mediaimports from a public URL (videos up to 1 GB, images up to 60 MB). Agents can’t upload local files.- Problems come back as tool errors with a readable message, so the agent can fix and retry.
- Calls count towards the key’s 120 requests a minute, shared with REST.
- A
GETon the endpoint returns405; clients usePOST.
Signing in with OAuth
ChatGPT, Claude and Gemini can’t send an API key, so they sign in instead. Add https://socialhelper.app/mcp as a custom connector; the client registers itself, opens SocialHelper, and you log in and pick the team it may use. The connection acts as you in that team, for as long as you can manage API keys there.
- Discovery documents are at
/.well-known/oauth-protected-resourceand/.well-known/oauth-authorization-server. - Clients register automatically and use the authorization code flow with PKCE (S256). Access tokens start with
sho_; refresh tokens rotate. - Connected apps are listed on the API & MCP page, where you can disconnect them.