PikoReels MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PikoReels MCP generate a 5s video of a sunset over the ocean"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PikoReels MCP
An MCP server for PikoReels. Sign in once from a terminal, and Claude Code, Claude Desktop, Codex or any other MCP client can read your workspace, generate content, and schedule posts.
How the login works
There is no API key to copy. The server uses the OAuth device grant (RFC 8628):
You run
piko-mcp login.It prints an 8-character code and opens
app.pikoreels.com/device.You sign in with Google if you aren't already, check the code matches, and press Connect.
The terminal picks up a session token and writes it to
~/.pikoreels/credentials.jsonwith mode0600.
The token is an ordinary PikoReels session, so it shows up in Settings → Security as PikoReels MCP and you can sign it out from there at any time. Nothing secret is ever typed into the terminal, and the code you approve in the browser is useless to anyone who doesn't already hold the matching device code.
Related MCP server: Medium Reader MCP
Install
npx -y @pikoreels/mcp loginThat signs you in and caches the credential. Nothing to clone, nothing to build.
To point at a local dev server instead of production:
PIKOREELS_URL=http://localhost:3000 npx -y @pikoreels/mcp loginConnect a client
The server runs on stdio and takes no arguments.
Claude Code
claude mcp add pikoreels -- npx -y @pikoreels/mcpCodex
codex mcp add pikoreels -- npx -y @pikoreels/mcpClaude Desktop
In claude_desktop_config.json:
{
"mcpServers": {
"pikoreels": {
"command": "npx",
"args": ["-y", "@pikoreels/mcp"]
}
}
}Add an "env" block with PIKOREELS_URL if you're pointing at a non-production
deployment. The client must be launched with the same PIKOREELS_HOME you logged
in under — if you didn't set one, the default works everywhere.
What it can do
46 tools, roughly:
Area | Tools |
Account |
|
Brand |
|
Connections |
|
Insights |
|
Library | uploads, folders, moving and deleting media |
AI Studio |
|
Publishing |
|
Automations | list / get / create / update / publish / delete |
Rush |
|
What it deliberately cannot do
Buying. There is no tool for checkout, changing plan, purchasing credits, or
editing a payment method, and /api/billing is unreachable from here. Plan
limits are exactly the moment an agent would be most tempted to spend past them,
and that mistake has no undo. Buying stays something a person does in a browser.
Uploading files. Media upload needs a signed direct-to-R2 PUT and a file on disk; letting a model name arbitrary paths for this process to read is a much bigger trust decision than reading your reels. Upload in the browser.
Connecting social accounts. Those need an interactive OAuth round trip.
Things worth knowing
Generation costs real money. Credits are US cents of provider spend. Video runs 5–53 credits per second, so a 5-second clip is 25–265 credits depending on the tier. Charges land when a job is accepted, not when it succeeds. The tool descriptions say this, and
list_studio_modelsgives the model the prices to choose with.Everything is workspace-scoped. Content, connected accounts and analytics all belong to a workspace, not the account.
use_workspacesets the default for a session; any tool also takes a one-offworkspaceId.Publishing is real and irreversible.
schedule_generationandpublish_automationput content on live public channels. Nothing here can unpublish.Metrics lag. They come from scheduled snapshots, so a post from ten minutes ago showing zero views is expected.
Commands
piko-mcp Run the server on stdio (what a client invokes)
piko-mcp login Sign in via the browser
piko-mcp status Show the current login
piko-mcp logout Forget the local credentiallogout only clears the local file. To kill the session server-side, revoke it
in Settings → Security.
Environment
Variable | Default | Purpose |
|
| Deployment to talk to |
|
| Where the credential lives. Set it to keep a second account or a staging login separate. |
Server-side requirements
This talks to the main Next app, which needs:
bearer()anddeviceAuthorization()on the Better Auth config (lib/auth.ts)the
deviceCodetable (scripts/schema.sql, applied bynpm run migrate)the
/deviceapproval page (app/device/)GET /api/ai-studio/models, the generation catalogue
No other route needed changing: the bearer plugin rewrites an
Authorization: Bearer header into a session cookie before anything downstream
looks, so all ~80 existing routes accept the token as-is.
Development
cd mcp
npm install
npm run build # tsc
npm run dev # tsc --watch
npm test # spawns the server over a real stdio pipe and drives itTo run a local checkout instead of the published package, point the client at
node /absolute/path/to/mcp/dist/index.js.
The tests need no login — they check the handshake, that every tool registers with a usable schema, that the destructive ones are annotated so clients prompt for them, and that no billing tool has crept in.
Available Tools
47 toolscancel_postsCancel scheduled postsADestructive
Cancel posts that have not published yet. Anything already published or mid-publish is silently skipped — this cannot unpublish. Pass every id in a fanned-out group to cancel it whole.
Inputs: postIds (required), workspaceId.
create_automationCreate an automationA
Plan a run of posts across a date range. This creates the plan and reserves allowance; it does not publish anything until publish_automation is called on it. The daily slot ceiling comes from the plan — read automationSlotsPerDay from whoami before choosing postTimes.
Inputs: endDate (required), postTimes (required), startDate (required), accountIds (required), +5 more.
create_folderCreate folderC
Create a library folder to organise media into.
Inputs: name (required), workspaceId.
create_slideshowCreate a slideshowA
Build a slideshow from one of the built-in template sets. COSTS CREDITS — the copy is written by an LLM and each slide is a generated image, so cost scales with the slide count. Get image model and tier ids from list_studio_models. Use list_slideshow_templates for valid set ids.
Inputs: setId (required), slides (required), brief, imageTier, +2 more.
create_workspaceCreate workspaceA
Add a workspace — a separate brand with its own content and connected accounts. Fails with a plan-limit message when the account is at its allowance. Does not switch to it; call use_workspace afterwards.
Inputs: name (required).
delete_automationDelete an automationADestructive
Delete an automation and cancel everything it still has scheduled. Posts it already published stay up. No undo.
Inputs: automationId (required), workspaceId.
delete_uploadDelete library mediaADestructive
Permanently delete one piece of library media and free its storage. Posts already published with it are unaffected, but anything still referencing it will lose the file. No undo.
Inputs: uploadId (required), workspaceId.
delete_video_jobDelete a video generationADestructive
Delete a generated video and its clip. Credits already spent are NOT refunded — deleting removes the result, not the charge. No undo.
Inputs: jobId (required), workspaceId.
delete_workspaceDelete workspaceADestructive
PERMANENTLY delete a workspace and everything in it — generated reels, library uploads, scheduled posts, analytics history and connected social accounts. There is no undo and no export. Refuses to delete the account's last workspace. Always confirm the exact workspace name with the user before calling this.
Inputs: workspaceId (required).
disconnect_accountDisconnect a social accountADestructive
Disconnect a social account from this workspace and revoke the app's access with the platform. Already-published posts stay; anything still scheduled to it will fail. Reconnecting requires the user to go through OAuth in the browser again.
Inputs: accountId (required), workspaceId.
generate_imageGenerate imagesA
Generate images from a prompt. COSTS CREDITS — between roughly 1 and 24 credits per image depending on model and tier, charged whether or not the result is used. Get valid model, tier and aspect values from list_studio_models first, and check the balance with whoami. Returns straight away with the generated images; there is no separate job to poll.
Inputs: tier (required), model (required), prompt (required), count, +3 more.
generate_videoGenerate a videoA
Start a text-to-video generation. COSTS CREDITS — priced per second, from about 5 to 53 credits a second depending on model and tier, so a 5-second clip ranges from ~25 to ~265 credits. Charged when the job is accepted, not when it succeeds. Get valid model, quality, duration and aspect values from list_studio_models, and check the balance with whoami first. Returns a job that renders in the background; poll it with get_video_job.
Inputs: model (required), prompt (required), quality (required), duration (required), +4 more.
get_analyticsAnalyticsARead-onlyIdempotent
Deeper performance for the workspace: totals, daily series, per-platform breakdown, top posts and posting-hour patterns. Use this over get_dashboard when the question is about trends, what performed best, or when to post.
Inputs: range, timezone, workspaceId.
get_automationGet an automationBRead-onlyIdempotent
One automation in full, including its planned items and their individual states.
Inputs: automationId (required), workspaceId.
get_brandBrand profileARead-onlyIdempotent
The workspace's brand: website, description, and the voice settings (brand name, @handle, niche, default platform, whether posts mention the brand). This is what the caption writer and the UGC prompt builder draw on, so read it before writing copy so the result sounds like the brand rather than like a generic ad.
Inputs: workspaceId.
get_dashboardDashboard overviewARead-onlyIdempotent
The workspace at a glance: lifetime views and likes, published count, the last five reels with their status, and what is scheduled next. The best first call for 'how am I doing'. Sections degrade independently — a section marked 'unavailable' failed on its own and the rest of the payload is still good.
Inputs: timezone, workspaceId.
get_post_analyticsPer-post metricsARead-onlyIdempotent
Metrics for specific posts by id, including how they moved over time where snapshots exist. Use after list_posts when the question is about particular posts rather than the workspace as a whole.
Inputs: postIds (required), workspaceId.
get_rush_feedDeal Rush cardsA
Deal the next cards from the Rush deck. NOT a plain read: cards dealt here are counted against the account's daily reel allowance as soon as they are in hand, and stay counted until each one is kept or skipped with resolve_rush_item. Ask the user before dealing a large batch, and resolve what you deal.
Inputs: mode, cursor, workspaceId.
get_rush_prefsRush preferencesBRead-onlyIdempotent
What the Rush deck is currently tuned to — the content mix and the categories it draws from.
Inputs: workspaceId.
get_slideshowGet a slideshowARead-onlyIdempotent
One slideshow in full — its slides, their copy and their images.
Inputs: slideshowId (required), workspaceId.
get_video_jobCheck a video jobARead-onlyIdempotent
The current state of one video generation — queued, running, done or failed — and the clip when it has finished. Video takes tens of seconds to minutes; poll every 10-15 seconds rather than in a tight loop.
Inputs: jobId (required), workspaceId.
list_automationsList automationsBRead-onlyIdempotent
Automations in this workspace. An automation is a planned run of posts across a date range — it generates a lineup of content, which a human approves, and then publishes on a schedule.
Inputs: workspaceId.
list_connected_accountsConnected social accountsARead-onlyIdempotent
The TikTok, Instagram and YouTube accounts connected to this workspace, with the ids that scheduling tools need. Connections are per workspace. New accounts can only be connected in the browser — this cannot start an OAuth flow.
Inputs: workspaceId.
list_foldersList foldersBRead-onlyIdempotent
Folders the workspace's library media is organised into.
Inputs: workspaceId.
list_image_generationsRecent image generationsARead-onlyIdempotent
Recent image generation runs in this workspace, with their prompts, images and the credit balance. Use to find an earlier result rather than paying to regenerate it.
Inputs: limit, workspaceId.
list_library_uploadsList library mediaARead-onlyIdempotent
Media in the workspace library — uploaded clips and images, with ids, titles, folders and storage keys. The ids here are what reference-taking generation tools expect.
Inputs: workspaceId.
list_notificationsNotificationsARead-onlyIdempotent
Recent notifications for the account — finished renders, failed publishes, allowance warnings. Useful for answering 'did anything break' without reading every post.
Inputs: before.
list_postsList postsARead-onlyIdempotent
Every post in the workspace — published, scheduled, publishing and failed — with captions, platforms, times, per-post metrics and the account each went to. Capped at the 500 most recent. A post fanned out to several accounts appears as one row per account sharing a reel id and publish time; the scheduling tools treat that group as one unit.
Inputs: workspaceId.
list_slideshowsRecent slideshowsCRead-onlyIdempotent
Slideshow drafts and finished sets in this workspace.
Inputs: limit, workspaceId.
list_slideshow_templatesSlideshow templatesARead-onlyIdempotent
The template sets create_slideshow can build from, with their ids and what each one is for.
Inputs: no named parameters.
list_studio_modelsGeneration models and pricesARead-onlyIdempotent
The image and video models available, with their tiers, aspect ratios, durations and per-image or per-second credit cost. CALL THIS BEFORE generate_image or generate_video — model and tier ids are not guessable, an unknown one is rejected, and the price difference between tiers is large enough to be worth choosing deliberately.
Inputs: no named parameters.
list_video_jobsRecent video jobsARead-onlyIdempotent
Recent video generations in this workspace with their status and clips, plus the credit balance. Set completedOnly to skip anything still rendering.
Inputs: limit, workspaceId, completedOnly.
list_workspacesList workspacesARead-onlyIdempotent
Every workspace on the account, with the active one marked and the plan's workspace allowance. A workspace is a separate brand: its own content, its own connected social accounts, its own analytics. Check this before acting when the account might have more than one.
Inputs: no named parameters.
mark_notifications_readMark notifications readAIdempotent
Mark notifications as read — either specific ids, or all of them at once with all=true.
Inputs: all, ids.
move_uploads_to_folderMove media into a folderA
Move library media into a folder, or out of every folder by passing folderId as null. Moves are metadata only — nothing is re-uploaded and no file changes.
Inputs: folderId (required), uploadIds (required), workspaceId.
publish_automationApprove and publish an automationA
Approve an automation's lineup and commit it to the publishing schedule. THIS IS THE POINT OF NO RETURN — from here the posts go out to real accounts on their planned times without further confirmation. Always show the user the lineup from get_automation and get explicit approval before calling this.
Inputs: automationId (required), workspaceId.
rename_workspaceRename workspaceA
Rename a workspace. Renaming also marks the name as human-chosen, which stops a later brand scrape from overwriting it.
Inputs: name (required), workspaceId (required).
reschedule_postsMove a scheduled postA
Change when a scheduled post publishes. Pass EVERY id in the group — a post sent to three accounts is three rows sharing one time, and they must move together; a partial list is refused rather than splitting them. Only works while the posts are still 'scheduled', and the new time must be a few minutes out.
Inputs: postIds (required), publishAt (required), workspaceId.
resolve_rush_itemKeep or skip a Rush cardA
Decide a card that has been dealt — keep it, which turns it into a reel, or skip it, which returns its hold on the daily allowance. Every card from get_rush_feed should end up here.
Inputs: itemId (required), decision (required), workspaceId.
schedule_generationSchedule a generated postA
Schedule an already-generated video or image to publish to connected social accounts. THIS PUBLISHES PUBLICLY at the time given — confirm with the user before calling. The generation must have finished. publishAt must be at least ~2 minutes in the future. Selecting several accounts fans out to all of them as one group.
Inputs: publishAt (required), accountIds (required), generationId (required), caption, +1 more.
schedule_rush_lineupSchedule picked Rush cardsA
Turn Rush cards you have already dealt into a dated plan. This is the only way to get a Rush pick onto a calendar — resolve_rush_item records a verdict but builds nothing, and create_automation invents its own content instead of taking yours.
PUBLISHES NOTHING. It returns a draft automation: no video is rendered and no post exists until publish_automation is called on the id it hands back. That makes this safe to call before showing the user anything.
The whole flow, in order:
get_rush_feed — deal cards.
schedule_rush_lineup — send the ones you want (this tool). Do this BEFORE step 3: if the plan is refused, the deck is left exactly as it was, whereas resolving first would close cards for a run that never existed.
resolve_rush_item with 'keep' for each card you sent, and 'skip' for the rest, to clear the hand.
get_automation — read the lineup back and show the user the dates and copy.
publish_automation — only after the user has explicitly approved. This is irreversible.
Dates are worked out for you: it spreads the items from startDate over postTimes and returns the exact instant each one landed on, so you never compute a timestamp yourself.
ALWAYS PASS timezone. It is the one default that will embarrass you. Omitted, the zone saved on the account is used, and accounts often have none saved — which falls back to UTC, so an evening slot for a user in Asia/Kolkata is planned at half past one in the morning. Pass the user's IANA zone every time unless they actually want UTC.
startDate defaults to tomorrow, which is usually right. postTimes defaults to a spread that fits the items into the days available; it is a reasonable shape but it knows nothing about when this audience is awake, so prefer the times the workspace already posts at — list_posts shows the existing cadence. Note the plan-window check is on startDate only, so a long run can still spread past the date the plan is paid through.
Refusals worth knowing before you call: a lineup may hold at most 200 items; postTimes cannot be longer than the plan's reels-per-day (read reelsPerDay from whoami); and a run cannot start after the date the plan is paid through, so check periodEnd in whoami if the user wants something far out.
Inputs: items (required), accountIds (required), name, timezone, +3 more.
scrape_websiteRead a websiteA
Fetch and summarise a website so the brand can be described from it. Use this when the user gives a URL and you need to know what the business actually is before writing copy or setting the brand. Returns the extracted content; it does not save anything.
Inputs: url (required).
update_automationUpdate an automationA
Change an automation's name, schedule or target accounts. Items already published are not affected.
Inputs: automationId (required), name, endDate, postTimes, +3 more.
update_brand_voiceUpdate brand voiceB
Change how captions sound. Only the fields you send are changed; the rest are left alone. The @handle is globally unique — if it is taken the call fails with a suggestion you can offer the user.
Inputs: niche, brandName, brandHandle, workspaceId, +2 more.
use_workspaceSwitch workspaceA
Set the workspace every later tool call acts on, for the rest of this session. Takes a workspace id from list_workspaces. This only changes where THIS MCP connection points — it does not move the workspace switcher in the user's browser.
Inputs: workspaceId (required).
whoamiAccount overviewARead-onlyIdempotent
The signed-in account, its plan, and everything it has left: AI Studio credits, reels today and this month, automated posts, workspace slots and storage. Call this before any generation — the limits here are enforced server-side, so a job that exceeds them fails rather than queues. Also names the workspace the other tools will act on by default.
Inputs: workspaceId.
write_post_copyWrite a captionA
Write a caption and hashtags in the workspace's brand voice for a piece of content. Costs a small amount of the account's text allowance. Requires a brand on the workspace — without one it fails with a 409 telling you to set a website first. Prefer this over writing captions yourself: it reads the brand voice, which you cannot see in full.
Inputs: kind (required), scene, title, slides, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 47 tools
Most tools target a distinct resource+action, and descriptions go out of their way to delineate boundaries (e.g. get_dashboard vs get_analytics vs get_post_analytics, and schedule_rush_lineup vs create_automation). A few analytics/post-reading tools overlap in intent but the descriptions disambiguate them. No true duplicates.
Nearly every tool follows a clean verb_noun snake_case pattern (list_slideshows, generate_image, get_video_job, create_automation, publish_automation). The vocabulary is even semantically consistent, using list_/get_/create_/update_/delete_/schedule_/publish_ in predictable ways. No mixed conventions.
47 tools is heavy and pushes well past the comfortable 3-15 range, so the surface is daunting and increases selection cost. However the server genuinely spans many distinct sub-domains (workspaces, brand, social accounts, analytics, library, image/video/slideshow generation, scheduling, automations, rush), so each tool roughly earns its place rather than being redundant.
Coverage is broad and lifecycle-complete for the core domain: full CRUD on workspaces, automations and library media; generate/get/list/delete for videos and images; schedule, reschedule, cancel and publish for posts. Minor gaps exist (e.g. no update/delete for slideshows, brand exposed only via get_brand/update_brand_voice) but agents can work around them.
Maintenance
Related MCP Connectors
Create and manage audio-to-video content via MCP with OAuth browser-based authentication.
Connect AI agents to Filepad workspaces through OAuth MCP.
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
Connect an AI assistant to SuperPost to find sources and ideas, create unscheduled drafts, and review post versions. Edit saved Posts and Ideas directly with MCP, without creating proposals. Schedule posts or request immediate publication, then inspect, approve, or reject pending publication jobs. OAuth access follows your workspace permissions and publication policies.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients such as Claude, Cursor, and ChatGPT to use Clip Studio's creative tools—including Video Lab, Topic Shorts, Talking Shorts, Ad Studio, Image Lab, Audio Lab, Story, and Ad Lab—under the same signed-in account and plan, with OAuth authentication and paid generation allowance.1MIT
- AlicenseAqualityBmaintenanceEnables MCP clients like Claude to access a user's Medium account, including Following and For you feeds, full member-only posts, search, reading lists, and managing follows, saves, and claps after a one-time browser login.1420 npmMIT

Ads Optimiser MCP serverofficial
AlicenseAqualityBmaintenanceLets Claude Desktop, Claude Code, or any MCP client generate ad images and videos from chat, including batches from folders of local files, prompt lists, and pipelines. Sign-in uses an OAuth device flow with workspace-scoped, revocable tokens, and finished creatives can be saved back to your machine.1648 npmMIT- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to sign in, inspect workspace-scoped findings and hosted runs, and prepare or start/rerun existing hosted reviews after explicit user confirmation.2 npmMIT