Flowhawk

Observability and an on-call agent on OpenTelemetry: flow health, traces, logs, issues and incidents for your coding agent.

Hosted MCP Server

npx add-mcp 'https://api.flowhawk.dev/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Connect

The server is at https://api.flowhawk.dev/mcp (streamable HTTP). You sign in once in the browser, and the agent then acts as you, with your role in the workspace.

Claude Code

claude mcp add --transport http flowhawk https://api.flowhawk.dev/mcp
# then run /mcp in Claude Code and choose Authenticate

Cursor

In .cursor/mcp.json (this project) or ~/.cursor/mcp.json (all projects):

{
  "mcpServers": {
    "flowhawk": { "url": "https://api.flowhawk.dev/mcp" }
  }
}

The Flowhawk plugin for Claude Code and Cursor

The plugin, in the public flowhawk-plugin repository, connects your agent to the same server and adds four skills: investigate an incident, fix an issue, check a release, and set Flowhawk up in this repository. It is new, so tell us at hello@flowhawk.dev if something doesn't work. In Claude Code:

/plugin marketplace add flowhawk-dev/flowhawk-plugin
/plugin install flowhawk@flowhawk
# then run /mcp, choose flowhawk and sign in

For Cursor, the repository's README says how to add it.

Other clients

Any client that supports remote MCP servers over streamable HTTP with OAuth works. Add the URL above. When you connect, the consent page names the workspace the connection is for. To use another workspace, switch to it there first.

CI and clients without a browser

Create a key for Coding agent in Settings > API keys and send it as Authorization: Bearer <key>. A key has a fixed role, viewer or editor, and never more than the role of the person who made it.

Loading fewer tools

A client reads every tool's definition into each conversation, about 13,000 tokens for the whole list. To load part of it, add ?toolsets= to the address. https://api.flowhawk.dev/mcp?toolsets=coding gives the 22 tools for writing and shipping code, at about a third of the size. The other sets are incidents, database, explore, config, share and custom (your own MCP servers' tools), and several can be joined with commas. Without the parameter you get every tool, as before. When the agent asks for a tool outside the sets it loaded, the answer names the set to add. We haven't tried it with every client's browser sign-in yet, so use the plain address if signing in fails.

Answers are sized to fit a conversation as well, about 8,000 tokens each. A longer list ends with a note and a cursor, and the agent calls the tool again with cursor for the next rows, or with max_tokens up to 22,000 for a bigger answer.

For your own scripts and tools that call the REST API rather than MCP, create a key for Scripts (REST API) the same way. It works on the same /api/ routes as the app, with the same viewer or editor role, and every call is in the audit log under the key and the person who made it.

Let the agent set Flowhawk up

Ask the agent to "set up Flowhawk". It reads Flowhawk's install guide for each language and adds the SDK to each service with your workspace's addresses, keeping the ingest key in FLOWHAWK_API_KEY. It then drafts your business map from the routes in your code, sends the map to Flowhawk as a proposed change and opens a pull request. Your agent does the code work with your own model budget. You review the pull request and accept the map in the app.

Hand an issue or incident to your coding agent

On an issue page, the Fix card has Copy for your coding agent, and so does the header of an incident page. It copies what Flowhawk knows as a task you can paste into Claude Code, Cursor or another coding agent: for an issue the error, where it happened, its flow and step, the releases and the code at the top of the stack trace, and for an incident what is known, the latest findings and what was ruled out. The text links back to the page and names the tools to read more, and for an incident it tells the agent not to deploy or roll back. It is made from what the page shows, so it costs nothing and viewers can use it too.

When your coding agent opens the pull request, have it name the issue or incident in the title, description or branch, such as ERR-12. Flowhawk then follows that pull request and checks whether the fix worked after it ships.

What the agent can do

The tools are the same as those of the agent built into Flowhawk, limited by your role. Viewers get read tools only.

GroupExamplesChanges anything?
Queryflow_health, compare_periods, search_logs, search_traces, query_metric, read-only query_sql, database query insightsNo
Contextsetup_status, get_incident, list_changes, get_config, seen_before (past incidents and runbooks), check_release (did my deploy break anything, in one call, also while its first half hour is still running), deploy_verdicts (the verdict of each recent deploy), uptime_checks, agent_runs (your app's agent runs, step by step), not_stored (what was left out of storage and why)No
Configpropose_change, then apply_change after you confirm the diff; undo_change; remember_note and schedule_report propose a note for the agent or a scheduled question the same wayOnly after you confirm
Pagesshow_ui (charts and tables), html_page (a page with scripts that runs only its listed read-only queries), page_action (a page opened with its filters set)No. Each returns a link to a page in Flowhawk, which runs its queries as whoever opens it. In clients that support MCP Apps, the charts and tables from show_ui are also drawn inside the conversation
Triageupdate_issue: resolve, ignore, assign, comment. update_incident: declare, acknowledge, resolve, reopen, change severity, add a note. publish_status_update: an update on a status page, after you agree to its wordsWhen you ask (editors)
Actionspropose_action (a rollback, a flag change), approve_action. propose_standing_approval drafts a pre-approved action, and pause_standing_approvals stops them allOnly after a person approves. Nobody approves their own client's proposal, and a client can't turn on a pre-approved action it drafted

Some things to ask while you code: "Did my last deploy break anything?", "Which queries does the orders service run most, and from where?", "Show this morning's errors in the step I just changed", "Review this pull request against production".

Safety

  • Every tool call, and every refused one, is in your workspace's audit log under the person or key that made it.
  • Config changes are proposals with a diff and a preview. Nothing applies until someone confirms, and every applied change can be undone.
  • SQL from the agent runs read-only, with time and row limits, and only sees your workspace.
  • Pages the agent writes with scripts run in a sandboxed frame with no network access, and someone opening one first sees the queries it will run as them (more).