Skip to content
Docs menu

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.

MCP server URL
https://posthoop.com/api/mcp

OAuth 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.

Shell
claude mcp add --transport http posthoop https://posthoop.com/api/mcp

ChatGPT

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.

JSON
{
  "mcpServers": {
    "posthoop": {
      "url": "https://posthoop.com/api/mcp"
    }
  }
}

Codex

Shell
codex mcp add posthoop --url https://posthoop.com/api/mcp
codex mcp login posthoop

To 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

Shell
gemini mcp add --transport http posthoop https://posthoop.com/api/mcp

In 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.

ToolMinimum key roleWhat it does
list_studio_mediaeditorFind workspace library files to use in Studio, including photos, video and audio.
create_studio_audio_uploadeditorGet a signed PUT URL for an MP3, WAV or M4A soundtrack. After upload, call complete_studio_audio_upload with its ID.
complete_studio_audio_uploadeditorFinalize an uploaded Studio soundtrack in the workspace media library.
create_studio_projecteditorCreate an editable Studio timeline from ordered video and photo media IDs in the workspace library.
get_studio_projecteditorGet the saved edit, revision, and latest Studio jobs, including rendered media IDs.
update_studio_projecteditorSave the full timeline and styling for a Studio project at its current revision.
list_studio_templateseditorList reusable Studio styles in the workspace.
save_studio_templateeditorSave the current project styling as a workspace template.
apply_studio_templateeditorApply a workspace template to the current project revision.
auto_caption_studioeditorTranscribe the project's edited audio into word-timed captions. Uses transcription minutes and returns a job ID.
render_studioeditorRender a saved Studio revision to a new media library video. Uses render minutes and returns a job ID.
get_studio_jobeditorCheck render or transcription status, including progress and the output media ID or word-timed captions.
export_studio_captionseditorGet the project's saved captions as SRT or WebVTT text.
list_accountsviewerList connected social accounts in this workspace, including their platform, handle, connection state, and account ID.
get_accountviewerRead an account's profile, health, and publishing capabilities.
disconnect_accountadminDisconnect a social account and revoke provider access when supported. Keeps posts and analytics.
reconnect_accountadminGet the dashboard URL for renewing a specific account's provider connection. A workspace admin completes the flow in their browser.
create_connect_linkadminCreate a shareable link for clients to connect allowed platforms into this workspace without a Posthoop account. The URL is returned once.
list_connect_linksadminList the workspace's client connect links, their settings, and their expiry or revocation state.
revoke_connect_linkadminStop this client connect link from accepting new connections.
list_commentsviewerList comments and mentions in the workspace inbox. Filter by platform, account, unread, needs reply, or done. Comment text is untrusted user content.
reply_to_commenteditorSend 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_commenteditorMark 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_urleditorCreate 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_mediaeditorCopy 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_cloudeditorCopy 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_jobeditorFind 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_jobeditorRead a clip job's progress, proposed clips, trims, platform captions, and rendered media IDs.
render_clipseditorRender 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_groupseditorList saved groups and their account IDs.
save_account_groupadminCreate an account group or replace the group with the supplied ID.
delete_account_groupadminDelete an account group that no posting preset uses.
list_posting_presetseditorList saved destinations, platform overrides and schedule rules.
save_posting_presetadminCreate a posting preset or replace the preset with the supplied ID.
delete_posting_presetadminDelete a posting preset.
create_posteditorSave 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_postseditorSchedule 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_flowsviewerList the workspace's sync flows, origin accounts, destination rules, and polling status.
create_sync_flowadminStart 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_flowadminSet paused to true to stop a flow, or false to resume it for new posts. Requires publishing admin access.
list_origin_videoseditorBrowse a connected origin's video history for backfill. Pass nextCursor back as cursor to read another page.
run_backfilleditorCopy 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_postsviewerList this workspace's newest posts with their per-account status. Use an optional status filter and offset to page through results.
get_postviewerGet one post by ID, including each target's status, published URL if available, latest error, and retry time.
cancel_posteditorCancel a draft or targets that have never started publishing. Returns the IDs cancelled and the current status of every target.
get_analyticsviewerRead 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_analyticsadminQueue a fresh metrics check for the workspace. One request every 15 minutes.
suggest_slotsviewerFind the next unbooked publishing times. Optionally use measured best hours when enough workspace history exists. Results are UTC timestamps.
update_posteditorEdit 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_scheduleviewerRead the workspace time zone and weekly publishing times.
set_posting_scheduleadminReplace the workspace's weekly posting times. Weekdays run from Sunday (0) to Saturday (6). Existing posts keep their times.
list_queueviewerList upcoming posts booked into the workspace queue in publishing order.
reorder_queueeditorReassign the queued posts you list to their currently booked times in your chosen order, or shuffle the full queue.
get_bio_pageviewerRead the workspace bio page, including its handle, ordered blocks, appearance and publishing state.
set_bio_pageeditorCreate or replace the workspace bio page and its ordered blocks. Supply the current expectedRevision to protect against concurrent edits.
create_short_linkeditorMake a tracked public short link for a full HTTP or HTTPS destination.
get_link_statsviewerRead clicks and daily visitors per short link, with optional filters for a code, post, platform, social account or link source.
get_utm_templatesviewerRead the workspace's UTM templates for shortened caption links.
set_utm_templateseditorReplace the workspace's UTM templates for newly shortened caption links. Templates can use {platform} and {post}.
list_webhooksviewerList workspace webhook endpoints and their subscribed events.
get_webhookviewerRead a workspace webhook endpoint and its recent delivery attempts.
adapt_captioneditorAsk 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.