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

supabase / mcp / 47199518607
98%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2026 08:49PM UTC
Jobs 1
Files 56
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

03 Dec 2026 08:46PM UTC coverage: 98.255% (-0.006%) from 98.261%
47199518607

push

github

web-flow
feat(mcp-apps): add backend telemetry contract and view_instance_id (#654)

Stacked on #636 (`mcp-apps-issues`). Adds the backend MCP Apps telemetry
contract and server-minted `view_instance_id` so `supabase/platform` can
log `mcp_apps.*` attributes to `mcp.logs.prod` and MCP App views
(`FE-5239`) can correlate PostHog events with backend logs.

- Mints a per-invocation UUID on completed render-tool calls
(`show_issues`, `create_project`, `create_branch`), attaches it to
`_meta['supabase.com/viewInstanceId']` (`VIEW_INSTANCE_ID_META_KEY`)
scoped per `ServerContext`, and exposes `viewInstanceId` via
`useMcpView` in `mcp-ui`. Skips minting on `input_required`, errors,
disabled flag, or incapable clients.
- Emits payload-free `mcp_apps_tool_call` (`view`, `view_instance_id?`,
`apps_enabled`, `trigger?: 'agent' | 'ui_refresh'`) and
`mcp_apps_issues` (`total_count`, severity/category counts,
`unavailable_checks`) facts through `RequestObserver` across
`show_issues`, `app_paginate_issues`, `get_issues`, and `get_advisors`,
while keeping legacy `get_advisors` responses unchanged.

This PR only covers the `supabase/mcp` contract and exports;
`mcp.logs.prod` wiring and `resources_read.req_uri` logging live in
[supabase/platform#42720](https://github.com/supabase/platform/pull/42720).
Will retarget to `main` once #636 merges (`Check Management API Types`
fails while stacked on `mcp-apps-issues` until #636 picks up
`#640`/`#650` from `main`).

Closes
[AI-1611](https://linear.app/supabase/issue/AI-1611/log-the-mcp-apps-backend-telemetry-in-mcplogsprod)
· Spec: [MCP Apps telemetry
events](https://app.notion.com/p/4255004b775f81ff98d0f528f1e4d370)

1603 of 1673 branches covered (95.82%)

Branch coverage included in aggregate %.

209 of 211 new or added lines in 6 files covered. (99.05%)

7239 of 7326 relevant lines covered (98.81%)

2258.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.75
packages/mcp-server-supabase/src/apps/with-app-view.ts
1
98.13
-0.33% packages/mcp-server-supabase/src/issues.ts
Jobs
ID Job ID Ran Files Coverage
1 47199518607.1 03 Dec 2026 08:49PM UTC 56
98.26
GitHub Action Run
Source Files on build 47199518607
  • Tree
  • List 56
  • Changed 12
  • Source Changed 7
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #47199518607
  • 40870e82 on github
  • Prev Build on main (#47195710266)
  • Next Build on main (#47244603007)
  • 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