Connect AI Agents to Shots

Connect Claude, ChatGPT, Codex, OpenCode, Grok, Grokbot, OpenClaw, Hermes, Cursor, Gemini, Muse, the Shots CLI, or any MCP client to a Shots workspace.

The Shots MCP server lets an AI agent write, schedule, and publish posts to your connected accounts with the exact same scopes, plan checks, and quotas as the REST API. It can also read releases and campaigns, draft campaigns, upload assets, capture screenshots, and submit drafts for review.

Posting requires the post:publish scope, which is off until you explicitly enable it. Only a signed-in person approves, in Shots; no agent can approve.

Need a paste-ready manual for your agent? Fetch /docs/agents/guide.md (or per-client briefs like /docs/agents/claude.md, /docs/agents/gemini.md, and /docs/agents/cursor.md), or use Copy for agent in Settings → Agents & API keys.

Publish From Your Agent

Ask your agent to write a post and specify which accounts and when. It discovers visible accounts with listSocialSets, uploads media if needed, and calls createPost to schedule or publish in one step.

  • Only enable post:publish if you trust what drives the agent. Text an agent reads from an external web page or file could attempt prompt injection. Add post:schedule if you also want the agent to cancel scheduled posts.
  • Accounts must belong to a shared publishing profile. Agents cannot see private profiles or connect new social accounts—connect them in Settings → Channels and share the profile in Settings → Profiles first.
  • Media uploads require a file-capable client. Claude Code, Codex, and OpenCode can upload files directly. Claude.ai and ChatGPT may only manage text, so attach media in Shots for those clients.
  • Delivery takes up to a minute to start. The agent can inspect per-account delivery results and live links with listContentDraftPosts, or subscribe to the post.completed outbound webhook.

Authentication & Scopes

Every MCP call acts for one workspace. Most clients connect over OAuth—sign in to Shots, pick the allowed scopes, and approve. Connected OAuth sessions are grouped and revocable in Settings → Agents & API keys (/settings/ai-agents). For the REST API (/api/v1/*), Meta Muse, or CLI scripts, create a scoped workspace API key and send it in X-API-Key: ss_... (MCP clients without OAuth also accept Authorization: Bearer ss_...).

ScopePermitted actions
artifact:readRead releases, campaigns, the review queue, the publishing schedule, and link previews; sign asset downloads; use the editor utilities.
asset:writeComplete and delete asset uploads.
draft:commentAdd, reply, edit your own comments, and resolve discussions on workspace drafts. Never approves or publishes.
draft:writeCreate, update, and delete content drafts. Posting to your accounts takes its own scope.
onboarding:runRead a product site into its profile and follow the run.
post:deleteDelete posts that Shots published from their platforms, with their thread parts, replies and reposts. Each delete is audited.
post:publishWrite and publish new posts to the accounts of your shared social sets, right away or at a time, with no review by a person unless the workspace requires approval. Cancelling them takes the scheduling scope too.
post:scheduleSchedule campaign posts and visuals a person approved, and cancel scheduled posts. It never approves anything.
queue:writeChange future posting-slot suggestions and time zones. Does not approve, schedule, or move existing posts.
release:createCreate releases and draft campaigns, and submit drafts for review.
source:writeRegister and update release-intake sources.
upload:signSign asset uploads.

Each key may make up to 60 calls per minute. Refusals use the shared API error envelope.

Available MCP Tools

Each tool mirrors its REST API operation and accepts the same inputs. An agent only sees the tools allowed by its key's scopes.

ToolScopeSummary
listReleasesartifact:readList the workspace releases
createReleaserelease:createCreate a release brief
createAssetUploadUrlupload:signSign an asset upload
completeAssetUploadasset:writeComplete an asset upload
createAssetDownloadUrlartifact:readSign an asset download
deleteAssetasset:writeDelete an asset (asks to confirm)
captureScreenshotartifact:readScreenshot a public page
listCampaignsartifact:readList campaigns
getCampaignartifact:readRead a campaign and its posts
createCampaignrelease:createCreate a draft campaign
listApprovalsartifact:readList posts waiting for review
requestCampaignReviewrelease:createSubmit drafts for review
scheduleCampaignPostpost:scheduleSchedule an approved post
listScheduledPostsartifact:readList the publishing schedule
createScheduledPostpost:scheduleSchedule an approved post with its visual
cancelScheduledPostpost:scheduleCancel a scheduled post (asks to confirm)
listSocialSetsartifact:readList visible social sets
getSocialSetartifact:readRead a social set and its queue settings
updateSocialSetQueuequeue:writeChange future posting-slot defaults; never moves or publishes existing posts.
lookupSocialSetMentionsartifact:readLook up an X username or LinkedIn company with a visible set’s account.
listCalendarPostsartifact:readRead visible deliveries in a bounded date range
bestPostingTimesartifact:readSuggest posting times for one social set
listContentDraftsartifact:readFind drafts by text, set, and status
getContentDraftartifact:readRead an editable draft and its version
createContentDraftdraft:writeCreate a draft for human review
createPostpost:publishWrite and publish a post or thread (asks to confirm)
updateContentDraftdraft:writeUpdate a draft using its current version
deleteContentDraftdraft:writeDelete an unscheduled draft (asks to confirm)
listContentDraftPostsartifact:readInspect draft delivery outcomes
deleteContentDraftPostpost:deleteDelete a published post from its platform (asks to confirm)
planContentDraftdraft:writeSet a planning date; does not schedule or publish
duplicateContentDraftdraft:writeCopy a draft for repurposing
updateContentDraftPropertiesdraft:writeChange draft tags, pin, or scratchpad
listContentDraftActivityartifact:readRead draft activity without private comment text
listDraftCommentsartifact:readRead filtered draft discussion threads.
mutateDraftCommentdraft:commentComment as the key, reply, edit your own comments, resolve or delete authorized discussions.

Client Setup Snippets

Endpoint URL: https://shots-mcp.playbookmedia.io/mcp

Claude

Claude.ai or Claude Desktop → Settings → Connectors → Add custom connector

https://shots-mcp.playbookmedia.io/mcp-oauth-claude
  1. Open Claude.ai → Settings → Connectors → Add custom connector
  2. Name it Shots, paste the URL below, hit Connect, and sign in with your Shots account
  3. Pick the scopes you want Claude to have — it works in Claude Desktop too

ChatGPT

ChatGPT → Settings → Apps & Connectors → Advanced → Developer mode → Create

https://shots-mcp.playbookmedia.io/mcp-oauth-dynamic
  1. Open ChatGPT → Settings → Apps & Connectors → Developer mode → Create
  2. Name the connector Shots, paste the URL below, and choose OAuth
  3. Sign in to Shots when prompted, pick the scopes, and approve

Codex

~/.codex/config.toml

[mcp_servers.shots]
url = "https://shots-mcp.playbookmedia.io/mcp"
  1. Add the block below to ~/.codex/config.toml
  2. Run codex mcp login shots and approve the OAuth prompt in your browser
  3. Optionally install the skill (mkdir -p ~/.agents/skills/shots && curl -fsSL https://raw.githubusercontent.com/PlaybookMediaLLC/shots/main/clients/integrations/agent-plugin/skills/shots/SKILL.md -o ~/.agents/skills/shots/SKILL.md) or Codex desktop plugin (codex plugin marketplace add PlaybookMediaLLC/shots@main)

OpenCode

opencode.json in a project, or ~/.config/opencode/opencode.json

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "shots": {
      "enabled": true,
      "type": "remote",
      "url": "https://shots-mcp.playbookmedia.io/mcp"
    }
  }
}
  1. Paste the config below into opencode.json or ~/.config/opencode/opencode.json
  2. Run opencode mcp auth shots and approve access in your browser
  3. Add the skill for writing and publishing posts: mkdir -p ~/.agents/skills/shots && curl -fsSL https://raw.githubusercontent.com/PlaybookMediaLLC/shots/main/clients/integrations/agent-plugin/skills/shots/SKILL.md -o ~/.agents/skills/shots/SKILL.md

Grok

Grok → Settings → Connectors / MCP Servers

https://shots-mcp.playbookmedia.io/mcp
  1. Open Grok’s MCP server or connector settings and add a new remote MCP server
  2. Paste the Shots MCP URL below and sign in with your Shots workspace over OAuth
  3. Approve the scopes you want Grok to use — every Shots tool appears automatically

Grokbot

Grokbot MCP settings

{
  "mcpServers": {
    "shots": {
      "type": "http",
      "url": "https://shots-mcp.playbookmedia.io/mcp"
    }
  }
}
  1. Copy the MCP config block below into your Grokbot MCP settings
  2. Sign in and approve scopes when the OAuth prompt opens
  3. Every Shots tool shows up automatically

OpenClaw

OpenClaw MCP server configuration

{
  "mcpServers": {
    "shots": {
      "type": "http",
      "url": "https://shots-mcp.playbookmedia.io/mcp"
    }
  }
}
  1. Copy the config block below into your OpenClaw MCP settings
  2. Complete the OAuth sign-in prompt and pick the scopes OpenClaw may use
  3. Every Shots tool shows up automatically

Hermes

Hermes MCP settings

{
  "mcpServers": {
    "shots": {
      "type": "http",
      "url": "https://shots-mcp.playbookmedia.io/mcp"
    }
  }
}
  1. Copy the config below into your Hermes MCP settings
  2. Sign in when the OAuth prompt appears
  3. Every Shots tool shows up automatically

Cursor

~/.cursor/mcp.json (or .cursor/mcp.json in a project)

{
  "mcpServers": {
    "shots": {
      "type": "http",
      "url": "https://shots-mcp.playbookmedia.io/mcp"
    }
  }
}
  1. Paste the config below into ~/.cursor/mcp.json (Windsurf: mcp_config.json)
  2. Reload. First use opens the OAuth login in your browser
  3. Ship release notes and posts to socials without leaving the editor

Gemini

Gemini web app → Settings & help → Connected apps → Custom apps for Spark

https://shots-mcp.playbookmedia.io/mcp
  1. In the Gemini web app open Settings & help, then Connected apps, and under Custom apps for Spark click Add a custom app
  2. Paste the URL below, click Next, and approve Shots in the sign-in window that opens
  3. Ask Gemini to draft or post on the web or in the phone app — it gets every scope you approved

Muse

Paste into your Meta Muse conversation

Connect to Shots, my release and social publishing platform. The REST API reference is at https://shots.playbookmedia.io/api-reference (OpenAPI JSON: https://shots.playbookmedia.io/openapi.json). Authenticate with header X-API-Key: YOUR_API_KEY. Start by listing my social sets.
  1. Create an API key with the button at the top of this page
  2. Send Muse the prompt below with your key pasted in. It reads the API reference and wires the connection itself
  3. Ask Muse to draft or post — releases, drafts, media uploads, and publishing are all in the API

CLI / API

Terminal (curl or any HTTP client)

curl -fsSL -H "X-API-Key: YOUR_API_KEY" https://shots.playbookmedia.io/api/v1/auth/me
  1. Create a workspace API key with the button at the top of this page
  2. Verify your key and workspace from any terminal with the curl command below
  3. Wire /api/v1/* endpoints into cron jobs, CI, Code Studio exports, or your own agent scripts

Any MCP client

Any MCP client configuration file

{
  "mcpServers": {
    "shots": {
      "type": "http",
      "url": "https://shots-mcp.playbookmedia.io/mcp"
    }
  }
}
  1. Add the config below wherever your agent lists MCP servers (Windsurf, Zed, VS Code, your own framework)
  2. First use opens the Shots login in your browser. Pick scopes and approve it
  3. Every approved Shots tool shows up automatically