Flow has an MCP server and a public API. With them your agents (Claude Code, Codex, Claude, ChatGPT) and your systems work in Flow for you: they read and create requests, comment, log time, look up clients and more.
- MCP server:
https://app.flowagenci.com/mcp - REST API:
https://app.flowagenci.com/api/v1(OpenAPI document at/api/v1/openapi.json)
Every plan includes MCP, the API and webhooks.
What an agent can do
An agent acts as you, in one workspace and with your role: it can't do anything you can't, and it doesn't see what you don't. Every change shows in Settings › Activity under your name, for example "Camila via Claude Code".
It can work with boards and requests, comments, subtasks, relations and dependencies between requests, the To accept queue (accept, decline, mark as duplicate, postpone), your reminders, repetitions and request templates, My work and Inbox; projects, milestones, project templates and status reports; clients, contacts and deals; time entries and the timer; and files. Proposals, quotes and invoices are read-only: money is something you move in the app. Before archiving or deleting anything, the agent should ask you first (Flow marks those actions as destructive). A status report an agent publishes is internal unless it asks to show it to the client, and it only emails the client when you ask for it explicitly. To move the dates of what depends on a request, the agent first reads the plan and then applies it as it saw it: if someone changed a date in between, Flow refuses and moves nothing.
It can also work with Flow's newest parts:
- Links: see a request's links (the team's, the client's answers, those in link columns and in updates), add and remove the team's, and see a board's.
- Reviews and file requests: see a request's deliverables with their rounds, files, decisions and client comments; send to review (a new deliverable, the next round or an extra round), remind the client, approve or return an internal review, mark in production; ask the client for a file and confirm it, ask for another or cancel it. The agent never decides for the client.
- Figma: with your Figma connection (you make it in Settings › Connections; the agent can't), see a file's frames, export them and send them to review, and know whether the file changed after the send.
- Reports (read-only): Overview, Revenue, Receivables, Reviews by client, Lead times, Utilization and My time, with the same permissions as in the app. If the connection lacks the Documents and invoices area, the Overview shows no money.
- Pages (the Pages area): read, create, write, share and publish a client's or a project's pages. The agent reads and writes them in Markdown. If someone is editing a page, the agent waits: it never takes the turn from a person.
Some actions reach the client: they email them or change what they see in their portal (send to review, remind, ask for a file, share or publish a page). Flow marks them so the agent asks you first, as with those that archive or delete.
Pages in Markdown
The agent reads and writes a page's body in Markdown. What Flow understands:
| Write | Shows as |
|---|---|
#, ##, ### |
headings |
**bold**, *italic*, [text](https://…) |
bold, italic and links (https and mailto only) |
- or 1. |
lists, nested too |
| a Markdown table | a table; the first row is the header |
> |
a callout |
 |
an image uploaded to the page |
[[ID-0123]] on its own line |
a request (only the team sees it) |
If the agent writes something Flow doesn't have (code, strikethrough, a --- line), it keeps it as text and tells you. If a page has something Markdown can't write (merged cells, for example), Flow won't let a Markdown change erase it without saying so.
Connect with OAuth (recommended)
Nothing to copy: your agent asks you to sign in to Flow, you pick the workspace and you allow it.
Claude Code
claude mcp add --transport http flow https://app.flowagenci.com/mcp
Then, in Claude Code, type /mcp, pick flow and allow access in the browser.
Codex
codex mcp add flow --url https://app.flowagenci.com/mcp
codex mcp login flow
Claude and ChatGPT (web): add a custom connector with the address https://app.flowagenci.com/mcp and allow access when asked.
The connection lasts as long as you use it: after 30 days without use you'll be asked to allow it again.
Connect with a token
For agents without OAuth, or for scripts. In Settings › Connections › Connection tokens create a token: give it a name, choose what it can reach (no access, read-only, or read and write) and when it expires (30, 90 or 365 days). The token is shown once: keep it like a password.
Claude Code
claude mcp add --transport http flow https://app.flowagenci.com/mcp --header "Authorization: Bearer flow_pat_…"
Codex (~/.codex/config.toml)
[mcp_servers.flow]
url = "https://app.flowagenci.com/mcp"
bearer_token_env_var = "FLOW_TOKEN"
and in your terminal: export FLOW_TOKEN=flow_pat_…
See and disconnect
Settings › Connections lists the apps connected through OAuth and your tokens, with when they were last used. Disconnect or Revoke cuts access at once. If you leave a workspace, your tokens and connections for it stop working.
API keys for integrations
API keys are for your servers and integrations. Owners and admins create them in Settings › Integrations. Unlike a personal token, an API key has an identity of its own: it doesn't take a seat, shows under its own name in the activity, and keeps working if whoever created it leaves the workspace. When you create one you pick its role (admin, manager or member, never above yours), its areas and when it expires (90 days, 1 year or never).
curl https://app.flowagenci.com/api/v1/requests?limit=10 \
-H "Authorization: Bearer flow_key_…"
- Paging: lists answer
{ "items": [...], "nextCursor": "…" }; passnextCursorascursorfor the next page. - Errors:
{ "error": { "code", "message", "details" } }with 401 (invalid credential), 403 (no permission or area), 404, 422 (invalid input), 429 (rate limit). - Safe retries: when creating, send
Idempotency-Key: <unique id>; repeating the call with the same key within 24 hours returns the same answer without creating twice. - Rate limit: 600 calls a minute per credential; over it you get 429 with
Retry-After.
Webhooks
In Settings › Integrations › Webhooks add your server's https:// address and the events you care about. Flow sends it a JSON POST each time one happens: request.created, request.updated, request.status_changed, request.archived, request.relation_added, request.relation_removed, request.blocker_done, request.triage_received, request.triage_declined, comment.created, project.created, project.updated, project.status_updated, milestone.completed, client.created, client.updated, contact.created, deal.created, deal.stage_changed, time_entry.created, invoice.issued, invoice.paid, deliverable.approved, deliverable.changes_requested and form.submitted.
An event says what happened to which record; read the details through the API:
{
"id": "evt_…",
"type": "request.status_changed",
"createdAt": "2026-10-20T14:03:11.000Z",
"workspaceId": "…",
"actor": { "type": "member", "userId": "…", "via": "Claude Code" },
"data": { "object": "request", "id": "…", "ref": "ID-0123", "field": "status", "from": "in-progress", "to": "in-review" }
}
Check the signature. Every call carries Flow-Signature: t=<seconds>,v1=<signature>. The signature is the hex HMAC-SHA256 of <t>.<body> with the endpoint's secret (whsec_…, shown once when you create or rotate it). Reject signatures that don't match and timestamps older than 5 minutes. Use Flow-Event-Id to ignore repeats: an event can arrive more than once.
import { createHmac, timingSafeEqual } from "node:crypto"
function fromFlow(rawBody, header, secret) {
const t = /t=(\d+)/.exec(header)?.[1]
const v1 = /v1=([0-9a-f]+)/.exec(header)?.[1]
if (!t || !v1 || Math.abs(Date.now() / 1000 - Number(t)) > 300) return false
const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex")
return timingSafeEqual(Buffer.from(expected), Buffer.from(v1))
}
To test your code: with the secret whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw, t = 1760969000 and the body {"id":"evt_0192","type":"request.created","data":{"object":"request","id":"r1"}}, the signature is 772a6778ef607ff514e76a0d8901aca3b0c2d5fe2aad2a2f813e7487b4f9b3b7.
Answer with a 2xx code within 10 seconds. Otherwise Flow tries up to 8 times over a little more than a day (at once, then after 1, 5 and 30 minutes, 2, 6, 12 and 12 hours). An endpoint that fails 20 times in a row is turned off and the owners get an email. The delivery log shows every attempt, and you can Resend.
If something doesn't work
- 401: the token expired, was revoked or was copied wrong. Create another.
- 403 with
two_factor_required: your workspace requires two-step verification; turn it on in Settings › Security. - 403 with
insufficient_scope: the token doesn't have that area. Create one with the access you need. - The agent doesn't have the page tools: connections made before the Pages area existed don't have it. Disconnect and connect the app again (you'll approve the new area), or create a new token with Pages.
- The agent doesn't see something you do: check that the connection is for the same workspace.