Inspect the repository and changes
Your coding agent uses its repository access to identify an affected customer task, an observable finish line, and one relevant initial persona. It preserves a task or persona you have already chosen.
Integrations
Give your coding agent the evidence it needs to help improve a product experience. Plan a review, inspect the result, and work on the fix in the same conversation.
Connect with OAuth, choose a workspace, and verify read access before your first review. Add test access when you want to run approved reviews.
Suppose you change signup. Your agent can inspect the code using its existing repository access, suggest a focused Flock review, and show the proposed scope and usage. After you approve, it can launch the review, read the evidence, and help make a scoped repair.
After connection, a request can be as simple as:
Help me review a new user creating a test account on this preview. Start signed out on the signup page with one relevant persona available to this workspace. The finish line is the welcome screen; stop before inviting anyone or entering payment details. Check the starting page if useful, then propose a bounded Goal → Follow the flow review. Show the setup and estimate and wait for approval before launch. Inspect the evidence and suggest a scoped repair and comparable retest; ask before making changes or launching another review unless I have already authorized that action.You choose the task and approve the review. The agent handles tool inputs and result retrieval. See Personas for choosing perspectives and Getting started for the same workflow in the dashboard.
You need a Flock account with access to a workspace. If sign-in shows Invite required, accept a workspace invitation first. Use a reachable preview, staging, or public application URL for reviews; a server running only on your laptop is not reachable by Flock. Start with read-only access, then add test access for approved reviews.
Connection requirements
Streamable HTTP with OAuth and PKCE.Hosted server settings
server URL: https://mcp.flocksynthetics.com/mcp
transport: Streamable HTTP
authorization: OAuth with PKCE
client: supported official OAuth client, or the manual setup below
read scope: https://mcp.flocksynthetics.com/mcp/read
test scope (opt-in): https://mcp.flocksynthetics.com/mcp/testCodex and Claude Code can run on your computer while Flock runs remotely. You do not need to run Flock locally. Keep these three addresses separate:
https://mcp.flocksynthetics.com/mcp.The browser's localhost must reach the client waiting for the callback. When your CLI runs remotely or inside a separate network environment, that may require a private port-forwarding arrangement specific to your setup. The simplest starting point is a client and browser on the same computer with the callback port available. These examples do not establish a tested setup for every remote environment.
For supported official Codex and Claude Code client identities, Flock accepts HTTP callbacks on localhost or 127.0.0.1, at the port chosen by the client, with the path /callback. The fixed manual configurations below have a different rule: their hostname, port, and path must exactly match the registration.
Flock validates a bounded set of official OAuth client metadata documents and their permitted callbacks. A metadata document identifies a supported client; it does not allow arbitrary client IDs, dynamic registration, or arbitrary HTTPS callbacks. For another client, check the environment's hosted setup guide and advertised capabilities, then contact support@flocksynthetics.com if its sign-in flow is unsupported.
This guide's commands target production. If you have DEV access, its endpoint is https://mcp.dev.flocksynthetics.com/mcp. Read that origin's generated setup guide, use a separate server entry, and keep endpoint and scope origins together. Do not combine a DEV endpoint with production scopes or assume a production grant authorizes DEV.
Hosted review targets default to HTTPS and exclude local or private addresses and non-default ports. DNS and workspace policies also apply. A public tunnel is not a universal workaround; use a suitable deployed preview and check readiness. If the target requires login, configure saved sign-in separately.
Add Flock by URL. Codex discovers the OAuth configuration and uses its official client identity without a manual client ID or callback port. If flock-prod already exists, update that entry instead of adding a duplicate. Leave oauth_resource unset so Codex discovers the resource.
codex mcp add flock-prod --url "https://mcp.flocksynthetics.com/mcp"Check the URL and start a read-only login:
codex mcp get flock-prod --json
codex mcp login flock-prod --scopes "https://mcp.flocksynthetics.com/mcp/read"To allow approved launches, retries, cancellations, and saved sign-in reconnection, request both scopes instead:
codex mcp login flock-prod --scopes "https://mcp.flocksynthetics.com/mcp/read,https://mcp.flocksynthetics.com/mcp/test"Use this alternative only when configuring the registered manual client. Add it to ~/.codex/config.toml, then use the login command above. Keep flock-codex and http://localhost:8765/callback exact. The OAuth fields may not appear in mcp get output; inspect the configuration and callback emitted during login.
[mcp_servers.flock-prod]
url = "https://mcp.flocksynthetics.com/mcp"
startup_timeout_sec = 350
tool_timeout_sec = 350
required = false
[mcp_servers.flock-prod.oauth]
client_id = "flock-codex"
callback_url = "http://localhost:8765/callback"
callback_port = 8765The optional 350-second settings are MCP initialization and tool-call wait limits for backend wake. They do not control OAuth browser login, token exchange, or refresh timeouts, and they do not guarantee a connection.
Add the HTTP server by URL. Claude Code handles the official client identity and callback port:
claude mcp add --transport http flock-prod "https://mcp.flocksynthetics.com/mcp"Start claude, enter /mcp, select the Flock server, and follow browser login. Use the shell login command only if your installed claude mcp --help lists it. Claude Code's own model-account sign-in is separate from Flock consent.
Use this instead of the normal add command, with a client that supports oauth.scopes. It keeps automatic client identity and callback selection:
claude mcp add-json flock-prod '{"type":"http","url":"https://mcp.flocksynthetics.com/mcp","oauth":{"scopes":"https://mcp.flocksynthetics.com/mcp/read"}}'For a current client that supports oauth.clientId, oauth.callbackPort, and oauth.scopes, this alternative uses the registered flock-claude identity and exact http://localhost:8766/callback:
claude mcp add-json flock-prod '{"type":"http","url":"https://mcp.flocksynthetics.com/mcp","oauth":{"clientId":"flock-claude","callbackPort":8766,"scopes":"https://mcp.flocksynthetics.com/mcp/read"}}'Choose one configuration. If the entry already exists, update it or remove and recreate it at the same configuration scope. Claude's scopes string is space-separated; approved review actions require both read and test scopes. Check the requested permissions before consent, especially with an older client. See the Claude Code authentication reference.
In your client's connector settings, enter https://mcp.flocksynthetics.com/mcp. Follow Flock sign-in, choose a workspace, and review the requested access. Your browser returns to the client's supported hosted callback. You do not need the localhost configuration shown in the manual CLI examples.
Production accepts the supported official OAuth identities for these clients. Connector availability and settings depend on your client, account, and workspace policies; a supported server connection does not enable a connector your account cannot use.
Use Flock to call account, workspaces, and get_setup_guidance. Confirm the authorized workspace name and that read access works. If documentation tools are available, read the score guide through them; otherwise use https://flocksynthetics.com/docs/review-scores/. Explain what the scores mean. Do not launch a review.The dashboard can switch between your workspaces. This MCP connection is bound to the one selected during consent: the workspaces tool confirms that authorized workspace, rather than listing every workspace on your account. To change scopes or workspace, open Settings → Connected tools at the dashboard's /agent-connect page, select Disconnect, and complete a fresh login and consent. Changing the dashboard selection or client configuration alone does not widen an existing grant.
These commands target production. For DEV or another environment, use that MCP origin's /docs.md and keep a separate server entry. The production generated guide publishes the configured endpoint and scopes. Consent approves or denies the access your client requests; it does not choose the scopes. To change an existing grant's scopes, disconnect and consent again.
A coding agent that receives Flock's welcome instructions is asked to offer guided setup when it can respond. Whether the welcome appears immediately depends on the server's advertised capabilities and your client. You should not need to learn tool names or paste a setup procedure.
Welcome to Flock. Want help setting up this project and choosing a useful first review?
When you accept, the agent retrieves Flock's setup guidance, helps you choose a useful test, confirms your workspace and sign-in choice, and shows an estimate before launch. If you are already working on a Flock task, it continues that task. The agent uses its existing file access to inspect your project; Flock MCP does not read your repository itself.
Your client controls when the coding agent speaks. Connecting alone does not start a review.
Use this optional fallback. Clients that expose MCP prompts can also select flock_onboarding; the agent can retrieve the same guidance through get_setup_guidance.
Set up Flock for this project. Help me choose one customer goal, an observable finish line, and one relevant initial persona available to this workspace. Check the starting page when useful, then propose Goal → Follow the flow for a known finish line or bounded Roam for discovery. Show the setup, limits, and estimate and wait for approval before launch. Afterward, inspect the evidence and suggest a scoped repair and a fresh comparable review of the updated target before broadening perspectives. Ask before making changes or launching another review unless I have already authorized that action./settings/integrations) in the same workspace you authorized.The agent checks your saved sign-in's current readiness and preserves your selected profile through recommendation, estimate, and launch. Reconnection requires test scope and integration-management permission, completes human login in the browser, and never starts a review. Never paste credentials or browser state into chat.
Your coding agent uses its repository access to identify an affected customer task, an observable finish line, and one relevant initial persona. It preserves a task or persona you have already chosen.
Confirm the workspace and reachable target, select saved sign-in if needed, and review the configuration and estimate. Check the starting page when useful; use Goal → Follow the flow for a known finish line or bounded Roam for discovery.
Approve the proposed review before launch. Test access and workspace permission are required.
Read the actions, task outcome, findings, and available images. A completed review does not prove the goal was achieved. Keep partial, unknown, and unavailable outcomes explicit and retrieve relevant repair guidance.
Inspect the proposed repair, then let the coding agent edit the relevant code and run local checks within your existing authorization. A suggestion alone does not authorize an edit.
Confirm the updated build is reachable, refresh setup and sign-in readiness, and estimate a fresh comparable review. Launch within your authorization and inspect the new evidence before broadening personas or adding relevant specialists.
Follow Getting started for the complete goal-first review method. Skip the starting-page check when investigating a known later-step failure. Add personas or relevant design and technical specialists when their perspectives will help, keeping specialist coverage separate from behavioral task success.
Your agent handles tool inputs, recovery, and result retrieval within your authorization. You choose the task and access and review the configuration and usage. An estimate describes expected usage; it is not a price guarantee or a promise of a free test.
To keep useful checks running, use the dashboard to schedule an eligible completed review when Schedule is available, or configure the GitHub App to run Flock reviews on relevant PR previews with selected personas. Scheduling needs reusable inputs and current sign-in readiness. MCP does not create schedules, install or activate the app, or create personas; a manual review's full setup and baseline are not automatically imported into GitHub.
Your coding agent normally handles these details. Use this reference when inspecting a tool call or building a client integration. Discover the tools exposed by the MCP server you connected to; optional features and documentation search can differ by environment.
Replace placeholder IDs with values returned by Flock. Before starting a test, call estimate_run with the proposed configuration and review readiness and usage. Launch within the applicable authorization using launch_run with a fresh idempotency key. Use get_run_status with its batch_id before requesting final results. For a finding prompt, use the retrieval selector returned by get_review; follow content_next_cursor until the prompt is complete.
After a product fix, confirm the updated build is available at the intended target, refresh configuration, saved sign-in, and usage readiness, and estimate the comparable setup before a fresh launch_run with a new idempotency key. retry_run recovers an eligible failed batch with frozen settings; it does not verify a changed setup or repair stale saved sign-in. Reuse a launch key only to recover delivery of the identical already-requested launch.
1. Recommend a test
tool: recommend_test_configuration
arguments:
workspace_id: WORKSPACE_ID
url: https://preview.example.com/signup
goal: Create a shared workspace and invite a teammate2. Retrieve run results
tool: get_run_results
arguments:
workspace_id: WORKSPACE_ID
run_id: RUN_ID3. Retrieve a finding prompt
tool: get_review
arguments:
workspace_id: WORKSPACE_ID
review_id: REVIEW_ID
prompt_target: finding
finding_id: FINDING_IDProtocol
Your client can recommend a test, estimate its usage, launch it after approval, and read the results. Evidence images and repair prompts are retrieved through tools. Servers with documentation resources can expose flock://docs/scores, flock://docs/mcp, and flock://docs/github. Where available, flock_onboarding guides repository setup. When app extensions are enabled in DEV, compatible hosts can open the sidebar through open_flock and ui://flock/app.
get_setup_guidance, search_product_docs, get_product_docs, account, workspaces, list_auth_profiles, recommend_test_configuration, estimate_run. Search published docs and public product information, read the matching guide, confirm the workspace, check saved sign-in, and estimate a proposed test. Recommendations use your goal and the available catalog; they do not inspect the application.
launch_run, get_run_status, get_run_results, get_run_image, retry_run, cancel_run. Launch only after approval, follow the lifecycle, and retrieve available evidence images. Launch, retry, and cancel require the test scope and workspace permission.
list_reviews, get_latest_review, get_review, get_review_evidence. Find workspace reviews, read findings and technical evidence, and retrieve available repair prompts through tools.
start_auth_profile_reconnect, get_auth_profile_reconnect_status, cancel_auth_profile_reconnect. Open a first-party browser handoff for human login and MFA. Starting or cancelling requires test scope and current integration-management permission. Reconnection never launches a review.
When app extensions are enabled in DEV, compatible hosts can use open_flock for the Flock sidebar and search_flock_reviews for review mentions. Resource-capable clients can read available public documentation resources. Clients with prompt support can select flock_onboarding; tools-only clients use get_setup_guidance.
Ask a normal question about Flock. When your connected server exposes search_product_docs and get_product_docs, the agent can search the published docs and public site, including concepts, integration guides, pricing, security, policies, and articles. Results include source links; the agent reads a selected document using its returned id.
Publishing a guide does not add tools to an older MCP server. If your connection does not expose documentation search, use these public pages and the environment's generated /docs.md guide. The agent can still retrieve setup guidance through get_setup_guidance when that tool is available.
The search index is generated from published pages when the site is built. If the published index cannot be refreshed, the tool identifies whether it is using an older cached index or a smaller set of bundled guides. The agent should disclose that limit rather than claim it searched everything.
The bundled get_product_docs topics are scores, findings, concepts, mcp, and github. Omit both topic and id for that index, or read a matching flock://docs/ resource. Use either an indexed document id or a bundled topic, not both. Public documentation contains no private workspace results; the agent retrieves your review separately with your connection's permissions.
/mcp instead of shell login. Do not assume an older client honors oauth.scopes; check requested permissions before consent./mcp/healthz endpoint proves gateway liveness only; it does not establish backend readiness or working authorization.Boundaries
Protocol references
Use the hosted Flock guide for current client setup, scopes, tool inputs, paging, and prompt retrieval. The MCP specification explains the underlying protocol.
Tell us which client and workflow you want to connect. We can confirm private beta access and the setup requirements for your client.
Request private beta access