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

supabase / mcp / 45580610422
98%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 08:57AM UTC
Jobs 1
Files 49
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

25 Nov 2026 08:55AM UTC coverage: 98.356% (+0.2%) from 98.16%
45580610422

push

github

web-flow
feat(mcp-server-supabase): add optional schemas parameter to generate_typescript_types (#592)

Passes schemas to the Management API as included_schemas. Omitting it
sends the same request as before, so the API default (public) still
applies.

## What kind of change does this PR introduce?

Feature: an expand-only change to `tools/list`. It adds one new optional
input field and changes nothing else.

## What is the current behavior?

Closes #597

`generate_typescript_types` takes no arguments, so it only ever returns
the `public` schema. Objects in other schemas (an app schema, `storage`,
etc.) can't be typed through the MCP, and the tool description doesn't
mention the limit.

The Management API already supports this: `GET
/v1/projects/{ref}/types/typescript?included_schemas=public,app` returns
both schemas, and `included_schemas` is already in the generated client
types (`src/management-api/types.ts`).

## What is the new behavior?

- **New input:** `schemas: string[]`, optional, at least 1 item, each
name non-empty. It's described as "Defaults to ["public"] when omitted".
- **When `schemas` is given:** the request adds
`included_schemas=<comma-joined>`.
- **When it's omitted:** the request is identical to today's, with no
query param.
- **Platform:**
`DevelopmentOperations.generateTypescriptTypes(projectId, options?)`
gains an optional `GenerateTypescriptTypesOptions` argument. Existing
implementers and callers still compile.

## How to Review

### Review area

`packages/mcp-server-supabase/src/tools/development-tools.ts`

- The `schemas` input schema and its description.
- The top-level tool description is unchanged.
- `execute` passes `{ schemas }` through.

### Next review area

`packages/mcp-server-supabase/src/platform/api-platform.ts`

- `generateTypescriptTypes` adds `query.included_schemas` only when
`schemas` is present (`...(schemas && { query: ... })`).

### Next review area

`packages/mcp-server-supabase/src/platform/types.ts`

- The new... (continued)

1347 of 1395 branches covered (96.56%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 2 files covered. (100.0%)

6310 of 6390 relevant lines covered (98.75%)

298.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45580610422.1 25 Nov 2026 08:57AM UTC 49
98.36
GitHub Action Run
Source Files on build 45580610422
  • Tree
  • List 49
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45580610422
  • 7532f53b on github
  • Prev Build on main (#45575886203)
  • Next Build on main (#45601493603)
  • 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