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:publishif you trust what drives the agent. Text an agent reads from an external web page or file could attempt prompt injection. Addpost:scheduleif 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 thepost.completedoutbound 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_...).
| Scope | Permitted actions |
|---|---|
| artifact:read | Read releases, campaigns, the review queue, the publishing schedule, and link previews; sign asset downloads; use the editor utilities. |
| asset:write | Complete and delete asset uploads. |
| draft:comment | Add, reply, edit your own comments, and resolve discussions on workspace drafts. Never approves or publishes. |
| draft:write | Create, update, and delete content drafts. Posting to your accounts takes its own scope. |
| onboarding:run | Read a product site into its profile and follow the run. |
| post:delete | Delete posts that Shots published from their platforms, with their thread parts, replies and reposts. Each delete is audited. |
| post:publish | Write 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:schedule | Schedule campaign posts and visuals a person approved, and cancel scheduled posts. It never approves anything. |
| queue:write | Change future posting-slot suggestions and time zones. Does not approve, schedule, or move existing posts. |
| release:create | Create releases and draft campaigns, and submit drafts for review. |
| source:write | Register and update release-intake sources. |
| upload:sign | Sign 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.
| Tool | Scope | Summary |
|---|---|---|
| listReleases | artifact:read | List the workspace releases |
| createRelease | release:create | Create a release brief |
| createAssetUploadUrl | upload:sign | Sign an asset upload |
| completeAssetUpload | asset:write | Complete an asset upload |
| createAssetDownloadUrl | artifact:read | Sign an asset download |
| deleteAsset | asset:write | Delete an asset (asks to confirm) |
| captureScreenshot | artifact:read | Screenshot a public page |
| listCampaigns | artifact:read | List campaigns |
| getCampaign | artifact:read | Read a campaign and its posts |
| createCampaign | release:create | Create a draft campaign |
| listApprovals | artifact:read | List posts waiting for review |
| requestCampaignReview | release:create | Submit drafts for review |
| scheduleCampaignPost | post:schedule | Schedule an approved post |
| listScheduledPosts | artifact:read | List the publishing schedule |
| createScheduledPost | post:schedule | Schedule an approved post with its visual |
| cancelScheduledPost | post:schedule | Cancel a scheduled post (asks to confirm) |
| listSocialSets | artifact:read | List visible social sets |
| getSocialSet | artifact:read | Read a social set and its queue settings |
| updateSocialSetQueue | queue:write | Change future posting-slot defaults; never moves or publishes existing posts. |
| lookupSocialSetMentions | artifact:read | Look up an X username or LinkedIn company with a visible set’s account. |
| listCalendarPosts | artifact:read | Read visible deliveries in a bounded date range |
| bestPostingTimes | artifact:read | Suggest posting times for one social set |
| listContentDrafts | artifact:read | Find drafts by text, set, and status |
| getContentDraft | artifact:read | Read an editable draft and its version |
| createContentDraft | draft:write | Create a draft for human review |
| createPost | post:publish | Write and publish a post or thread (asks to confirm) |
| updateContentDraft | draft:write | Update a draft using its current version |
| deleteContentDraft | draft:write | Delete an unscheduled draft (asks to confirm) |
| listContentDraftPosts | artifact:read | Inspect draft delivery outcomes |
| deleteContentDraftPost | post:delete | Delete a published post from its platform (asks to confirm) |
| planContentDraft | draft:write | Set a planning date; does not schedule or publish |
| duplicateContentDraft | draft:write | Copy a draft for repurposing |
| updateContentDraftProperties | draft:write | Change draft tags, pin, or scratchpad |
| listContentDraftActivity | artifact:read | Read draft activity without private comment text |
| listDraftComments | artifact:read | Read filtered draft discussion threads. |
| mutateDraftComment | draft:comment | Comment 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- Open Claude.ai → Settings → Connectors → Add custom connector
- Name it Shots, paste the URL below, hit Connect, and sign in with your Shots account
- 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- Open ChatGPT → Settings → Apps & Connectors → Developer mode → Create
- Name the connector Shots, paste the URL below, and choose OAuth
- 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"- Add the block below to ~/.codex/config.toml
- Run codex mcp login shots and approve the OAuth prompt in your browser
- 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"
}
}
}- Paste the config below into opencode.json or ~/.config/opencode/opencode.json
- Run opencode mcp auth shots and approve access in your browser
- 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- Open Grok’s MCP server or connector settings and add a new remote MCP server
- Paste the Shots MCP URL below and sign in with your Shots workspace over OAuth
- 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"
}
}
}- Copy the MCP config block below into your Grokbot MCP settings
- Sign in and approve scopes when the OAuth prompt opens
- Every Shots tool shows up automatically
OpenClaw
OpenClaw MCP server configuration
{
"mcpServers": {
"shots": {
"type": "http",
"url": "https://shots-mcp.playbookmedia.io/mcp"
}
}
}- Copy the config block below into your OpenClaw MCP settings
- Complete the OAuth sign-in prompt and pick the scopes OpenClaw may use
- Every Shots tool shows up automatically
Hermes
Hermes MCP settings
{
"mcpServers": {
"shots": {
"type": "http",
"url": "https://shots-mcp.playbookmedia.io/mcp"
}
}
}- Copy the config below into your Hermes MCP settings
- Sign in when the OAuth prompt appears
- 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"
}
}
}- Paste the config below into ~/.cursor/mcp.json (Windsurf: mcp_config.json)
- Reload. First use opens the OAuth login in your browser
- 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- In the Gemini web app open Settings & help, then Connected apps, and under Custom apps for Spark click Add a custom app
- Paste the URL below, click Next, and approve Shots in the sign-in window that opens
- 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.- Create an API key with the button at the top of this page
- Send Muse the prompt below with your key pasted in. It reads the API reference and wires the connection itself
- 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- Create a workspace API key with the button at the top of this page
- Verify your key and workspace from any terminal with the curl command below
- 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"
}
}
}- Add the config below wherever your agent lists MCP servers (Windsurf, Zed, VS Code, your own framework)
- First use opens the Shots login in your browser. Pick scopes and approve it
- Every approved Shots tool shows up automatically
Related Resources
- OpenAPI 3.1 Specification — the contract every tool schema is generated from
- Interactive API Reference — live endpoint explorer
- Authentication & Rate Limits
- llms.txt — Markdown site index for AI agents