Picnic

Integrations

MCP server

Connect Claude, ChatGPT, Claude Code, Cursor or any MCP client to Picnic, so your AI apps can start and follow jobs on your machines.

Picnic has an MCP server, so AI apps can use your agent factory. Ask Claude or ChatGPT to "start a Ship job on the Mac mini to fix the login redirect", and it creates the job on your board, follows it and answers its questions. The MCP server sits beside the public API and calls the same code, so the two always behave the same.

The server address is:

https://api.onpicnic.com/mcp

The full technical reference is at /docs/mcp.md.

Connect an app

Claude and ChatGPT

Claude (web, desktop and mobile) and ChatGPT add MCP servers as connectors by URL.

  1. In Picnic, open Settings > Personal > Integrations and choose Add to Claude… or Add to ChatGPT…. Picnic copies the address and opens the app's connector settings.
  2. Add a custom connector and paste the address.
  3. The app sends you to onpicnic.com/connect. Sign in if you need to, check the app's name and where it'll send you back to, and choose Allow.

That's it. No key to paste. Behind the scenes Picnic uses OAuth, and the app gets an API key named after it.

Claude Code

In Settings > Personal > Integrations, choose Copy command and run it in Terminal. Or add the server yourself with an API key in the Authorization header.

Cursor and VS Code

Add to Cursor in Settings opens Cursor's install link. The Integrations page in the console at onpicnic.com/console/integrations has install links for Cursor and VS Code too.

Anything else

Any MCP client that can send a header can use a bearer API key:

{
  "mcpServers": {
    "picnic": {
      "url": "https://api.onpicnic.com/mcp",
      "headers": { "Authorization": "Bearer pk_live_..." }
    }
  }
}

Create a key on the Account page of the console. See Public API.

Tools

The server has one tool for each public API endpoint:

Tool What it does
list_devices Your machines, online state and running jobs
list_repos A machine's repositories, including an offline machine's last known list
list_accounts A machine's Claude Code and Codex accounts
list_jobs Jobs across your machines, filtered by column or machine
get_job One job: its column, what it needs from you, its schedule, pull request and result
get_job_events The job's chat and steps
create_job Start a job, schedule it, or add it to Backlog
send_message Write to a job's chat, or answer its question
review_job Do what the Review buttons do: comment, build it, ship it, merge or mark it done
start_job Start a backlog job, or a waiting one now
cancel_job Stop a job
list_loops Your loops
create_loop Make a loop
update_loop Change or pause a loop
delete_loop Delete a loop
run_loop Run a loop now

create_job takes the mode as protocol (plan, build for Plan and build, or ship), and can take engine (claude or codex) and accountId, one of the accounts from list_accounts. Give a ship job a prUrl and it takes over that pull request and merges it. deviceId can be "any": Picnic picks the online machine with the fewest running jobs that has the repository. schedule makes the job wait to start by itself, at a time ({ "at": "2026-11-18T09:00:00+00:00" }) or once another job is done ({ "after": "<job id>" }).

Jobs sit in the same columns as on your board: backlog, waiting, running, needs_you and done. A plan or build that's ready to review is in needs_you with state: "review", and review_job moves it on. Its admin option merges past branch rules such as a required review, and the server tells AI apps to use it only when you ask.

Offline machines work here too. Their jobs are listed with online: false, and a job made for one comes back with waiting: true and starts when the machine is back.

Limits and errors

  • Every tool call counts against the key's 60 requests a minute, and create_job against its 10 new jobs a minute. Over the limit, the tool says how many seconds to wait.
  • Errors come back as readable tool results, <code>: <message>, so the model can see what went wrong and try something else. See Common errors.

What a connected app can do

Warning: A connected AI app has the same power as an API key. It can start jobs that run code on your machines. Only connect apps you trust, and disconnect any you no longer use.

The consent page says so before you allow it. The app acts as you, and reaches only your own machines.

Disconnecting

Each connected app appears under API keys on the Account page of the console, named after the app, with when it was last used. Revoke its key to disconnect it at once.

Good to know

  • Codes from the consent page last 5 minutes. If connecting fails part way, connect again.
  • Tokens don't expire and there are no scopes yet, just as for API keys.