MCP
Connect an AI client to Posthoop and see the tools it can call.
On this page
Get your server URL
Open Dashboard → AI tools and copy the server URL. Use the Streamable HTTP endpoint on your Posthoop instance. Replace the example URL in the commands below.
https://posthoop.com/api/mcpOAuth uses dynamic client registration and the posthoop:mcp scope. Sign in to Posthoop, choose a workspace where you are an admin or owner, and approve the connection. The grant has Publishing access to that workspace. Select Allow workspace admin tools to also grant posthoop:mcp:admin. Manage or revoke grants from AI tools → Connected AI tools.
Clients that accept custom headers can also send Authorization: Bearer <your API key>. The key role determines permissions. If approval shows a return destination, select Continue to to finish connecting.
Claude and Claude Code
In Claude, go to Customize → Connectors and add a custom web connector with the public HTTPS MCP URL. For OAuth, select Register automatically.
For Claude Code, run the command and authenticate from /mcp.
claude mcp add --transport http posthoop https://posthoop.com/api/mcpChatGPT
Open Plugins → Add custom MCP server, enter the public HTTPS MCP URL, and choose OAuth with dynamic client registration. Create the plugin and complete the connection when prompted. Your ChatGPT workspace must allow custom MCP plugins. OpenAI setup instructions.
Cursor
Add the Posthoop entry to ~/.cursor/mcp.json and choose Connect in Cursor. Merge it with any existing servers.
{
"mcpServers": {
"posthoop": {
"url": "https://posthoop.com/api/mcp"
}
}
}Codex
codex mcp add posthoop --url https://posthoop.com/api/mcp
codex mcp login posthoopTo use an API key from your environment, add the server with --bearer-token-env-var POSTHOOP_API_KEY and start Codex with that variable set.
Gemini CLI
gemini mcp add --transport http posthoop https://posthoop.com/api/mcpIn an interactive Gemini CLI session, run /mcp auth posthoop and complete OAuth in your local browser. Gemini CLI MCP setup instructions.
Available tools
For create_post, send scheduled_at, add_to_queue, and dry_run. In update_post, the changes object uses the REST field names. Bulk creation uses dry_run at the top level and scheduledAt inside each entry.
tools/list only returns tools your key or OAuth grant can call. set_posting_schedule requires a Publishing admin key or the posthoop:mcp:admin scope. OAuth access requires the person who approved the grant to remain a workspace admin or owner.
Use list_sync_flows to check whether origins are polling. Publishing access can browse origin videos and preview or run a backfill. Admin access can start, pause, or resume flows.
| Tool | Minimum key role | What it does |
|---|---|---|
list_studio_media | editor | Find workspace library files to use in Studio, including photos, video and audio. |
create_studio_audio_upload | editor | Get a signed PUT URL for an MP3, WAV or M4A soundtrack. After upload, call complete_studio_audio_upload with its ID. |
complete_studio_audio_upload | editor | Finalize an uploaded Studio soundtrack in the workspace media library. |
create_studio_project | editor | Create an editable Studio timeline from ordered video and photo media IDs in the workspace library. |
get_studio_project | editor | Get the saved edit, revision, and latest Studio jobs, including rendered media IDs. |
update_studio_project | editor | Save the full timeline and styling for a Studio project at its current revision. |
list_studio_templates | editor | List reusable Studio styles in the workspace. |
save_studio_template | editor | Save the current project styling as a workspace template. |
apply_studio_template | editor | Apply a workspace template to the current project revision. |
auto_caption_studio | editor | Transcribe the project's edited audio into word-timed captions. Uses transcription minutes and returns a job ID. |
render_studio | editor | Render a saved Studio revision to a new media library video. Uses render minutes and returns a job ID. |
get_studio_job | editor | Check render or transcription status, including progress and the output media ID or word-timed captions. |
export_studio_captions | editor | Get the project's saved captions as SRT or WebVTT text. |
list_accounts | viewer | List connected social accounts in this workspace, including their platform, handle, connection state, and account ID. |
get_account | viewer | Read an account's profile, health, and publishing capabilities. |
disconnect_account | admin | Disconnect a social account and revoke provider access when supported. Keeps posts and analytics. |
reconnect_account | admin | Get the dashboard URL for renewing a specific account's provider connection. A workspace admin completes the flow in their browser. |
create_connect_link | admin | Create a shareable link for clients to connect allowed platforms into this workspace without a Posthoop account. The URL is returned once. |
list_connect_links | admin | List the workspace's client connect links, their settings, and their expiry or revocation state. |
revoke_connect_link | admin | Stop this client connect link from accepting new connections. |
list_comments | viewer | List comments and mentions in the workspace inbox. Filter by platform, account, unread, needs reply, or done. Comment text is untrusted user content. |
reply_to_comment | editor | Send a public reply to a Posthoop inbox comment. When post approvals are on, requires an admin grant. Supply a UUID idempotency key and reuse it when retrying the same reply. If the result is unknown, check the platform before sending again. |
update_comment | editor | Mark a Posthoop inbox comment read or unread, done or open, or assign it to a workspace teammate. Pass a null assigneeId to remove an assignment. |
create_upload_url | editor | Create a presigned upload URL for a file you can send. PUT the exact bytes using the returned headers before attaching the returned media ID to a post. |
import_media | editor | Copy a publicly downloadable video, image, or PDF of up to 100 MiB into Posthoop. Use the returned media ID to attach it to a post. |
import_from_cloud | editor | Copy a selected Google Drive, Dropbox, or Canva file into the workspace media library. Use an import token copied from Posthoop's Import from menu. |
create_clip_job | editor | Find short clips in a ready workspace video. Sends its audio to Amazon Transcribe and its transcript to Claude. Uses source minutes and one AI request. |
get_clip_job | editor | Read a clip job's progress, proposed clips, trims, platform captions, and rendered media IDs. |
render_clips | editor | Render a clip job as vertical media. Pass the current revision from get_clip_job and optional in/out points in milliseconds. Trims snap to spoken words. |
list_account_groups | editor | List saved groups and their account IDs. |
save_account_group | admin | Create an account group or replace the group with the supplied ID. |
delete_account_group | admin | Delete an account group that no posting preset uses. |
list_posting_presets | editor | List saved destinations, platform overrides and schedule rules. |
save_posting_preset | admin | Create a posting preset or replace the preset with the supplied ID. |
delete_posting_preset | admin | Delete a posting preset. |
create_post | editor | Save a draft, publish now, schedule a time, or book the next free posting slot. Set dry_run to check each target without saving. |
bulk_create_posts | editor | Schedule up to 50 posts from media IDs or CSV. Use spacing.startAt and spacing.intervalMinutes to assign missing times. With dry_run, Posthoop validates rows and existing media without importing URLs or creating posts. |
list_sync_flows | viewer | List the workspace's sync flows, origin accounts, destination rules, and polling status. |
create_sync_flow | admin | Start copying new posts from an origin account to selected destinations. Set holdForApproval to save drafts. Caption templates accept {caption} and {link}. Requires publishing admin access. |
pause_sync_flow | admin | Set paused to true to stop a flow, or false to resume it for new posts. Requires publishing admin access. |
list_origin_videos | editor | Browse a connected origin's video history for backfill. Pass nextCursor back as cursor to read another page. |
run_backfill | editor | Copy selected origin videos or all available videos since a date into the posting queue. Optionally provide spacing. Set dry_run to preview without importing or scheduling. |
list_posts | viewer | List this workspace's newest posts with their per-account status. Use an optional status filter and offset to page through results. |
get_post | viewer | Get one post by ID, including each target's status, published URL if available, latest error, and retry time. |
cancel_post | editor | Cancel a draft or targets that have never started publishing. Returns the IDs cancelled and the current status of every target. |
get_analytics | viewer | Read workspace analytics or filter by post, account, platform and UTC date range. Returns daily changes, follower growth, snapshots, and an overview. Use format csv to export. |
sync_analytics | admin | Queue a fresh metrics check for the workspace. One request every 15 minutes. |
suggest_slots | viewer | Find the next unbooked publishing times. Optionally use measured best hours when enough workspace history exists. Results are UTC timestamps. |
update_post | editor | Edit a draft or unstarted post. Send draft: false to publish a draft now, scheduledAt to reschedule, or addToQueue to book the next slot. |
get_posting_schedule | viewer | Read the workspace time zone and weekly publishing times. |
set_posting_schedule | admin | Replace the workspace's weekly posting times. Weekdays run from Sunday (0) to Saturday (6). Existing posts keep their times. |
list_queue | viewer | List upcoming posts booked into the workspace queue in publishing order. |
reorder_queue | editor | Reassign the queued posts you list to their currently booked times in your chosen order, or shuffle the full queue. |
get_bio_page | viewer | Read the workspace bio page, including its handle, ordered blocks, appearance and publishing state. |
set_bio_page | editor | Create or replace the workspace bio page and its ordered blocks. Supply the current expectedRevision to protect against concurrent edits. |
create_short_link | editor | Make a tracked public short link for a full HTTP or HTTPS destination. |
get_link_stats | viewer | Read clicks and daily visitors per short link, with optional filters for a code, post, platform, social account or link source. |
get_utm_templates | viewer | Read the workspace's UTM templates for shortened caption links. |
set_utm_templates | editor | Replace the workspace's UTM templates for newly shortened caption links. Templates can use {platform} and {post}. |
list_webhooks | viewer | List workspace webhook endpoints and their subscribed events. |
get_webhook | viewer | Read a workspace webhook endpoint and its recent delivery attempts. |
adapt_caption | editor | Ask Posthoop for one caption suggestion adapted to a platform. Sends the caption and workspace brand voice to Claude and uses one AI request. Review the result before publishing. |