• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / mcp / 43248581715
98%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2026 03:33PM UTC
Jobs 1
Files 46
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Nov 2026 03:30PM UTC coverage: 98.07% (+0.001%) from 98.069%
43248581715

push

github

web-flow
feat: tag cost-confirmation errors and report caller-input errors as ToolCallerError (#543)

## What kind of change does this PR introduce?

Feature + bug fix.

## What is the current behavior?

- Hosts treat a `ToolCallerError` as a client error and any other
`Error` as a server error, so client mistakes thrown as plain `Error`
(log-window checks, invalid `search_docs` queries) count as server
errors.
- Bad arguments and unknown tools fail before the `onToolCall` hook
runs, so hosted MCP logs them as `unclassified`.

## What is the new behavior?

- `ToolCallerError` gets an optional `kind` (new `ToolCallerErrorKind`
type). A mismatched `confirm_cost_id` in `create_project` and
`create_branch`, or a missing one when inline cost confirmation is
configured, sets `kind: 'confirmation_required'`.
- `query_logs`/`get_logs` window checks throw `ToolCallerError`.
- `search_docs` GraphQL errors throw `ToolCallerError` (client error)
only when the error has no `path` and either has `locations` or is one
of the Content API's GET-operation validation messages. Everything else,
including the Content API's own outage response, stays a server error.
- Bad arguments and unknown tools now reach `onToolCall` as a
`ToolCallerError` (the `ZodError` is its `cause`). The MCP client's
result doesn't change.

`ToolCallerError` moves to `@supabase/mcp-utils` so the mcp-utils server
can throw it. `@supabase/mcp-server-supabase` still exports it with the
same brand, so `isToolCallerError` keeps matching.

1291 of 1338 branches covered (96.49%)

Branch coverage included in aggregate %.

35 of 35 new or added lines in 4 files covered. (100.0%)

6126 of 6225 relevant lines covered (98.41%)

283.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43248581715.1 12 Nov 2026 03:33PM UTC 46
98.07
GitHub Action Run
Source Files on build 43248581715
  • Tree
  • List 46
  • Changed 14
  • Source Changed 14
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43248581715
  • ac366c4f on github
  • Prev Build on main (#42637802668)
  • Next Build on main (#43249724899)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc