mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
Renames the `mcp-server` Library block to `mcp`. Installing it now creates `supabase/functions/mcp`, so the server is served at `/functions/v1/mcp`. - Block, Edge Function folder, and docs page renamed (`/docs/headless/mcp`) - Headless App block now installs its tools into `supabase/functions/mcp` and configures `[functions.mcp]` - Links in the BYO MCP and MCP authentication guides updated - Permanent redirects keep `/r/mcp-server.json` and `/docs/headless/mcp-server` working - `public/r` rebuilt <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Updates** * The MCP Server block is now named `mcp` across its documentation, installation links, and setup instructions. * Updated function endpoints and deployment commands to use `/mcp`. * Added permanent redirects from the previous `mcp-server` documentation and install URLs to their new locations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
50 lines
2.2 KiB
JSON
50 lines
2.2 KiB
JSON
{
|
|
"name": "mcp",
|
|
"type": "registry:item",
|
|
"title": "MCP Server",
|
|
"description": "Add a user-scoped MCP server to your product.",
|
|
"docs": "Disable gateway JWT verification, then deploy the Edge Function. A trusted product backend can call it with the signed-in user's access token. For external clients, install the [OAuth Consent block](https://supabase.com/library/docs/nextjs/oauth-consent), enable OAuth and dynamic registration, and set the Auth Site URL to the consent app. Every call runs through the user's RLS-scoped client. OAuth tokens include `client_id`; product sessions do not, so define policies for both paths. See [MCP authentication](https://supabase.com/docs/guides/auth/oauth-server/mcp-authentication) and [token security](https://supabase.com/docs/guides/auth/oauth-server/token-security).",
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/mcp/supabase/functions/mcp/index.ts",
|
|
"type": "registry:file",
|
|
"target": "~/supabase/functions/mcp/index.ts"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/mcp/supabase/functions/mcp/deno.json",
|
|
"type": "registry:file",
|
|
"target": "~/supabase/functions/mcp/deno.json"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/mcp/supabase/functions/mcp/deno.lock",
|
|
"type": "registry:file",
|
|
"target": "~/supabase/functions/mcp/deno.lock"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/mcp/supabase/functions/mcp/.env.example",
|
|
"type": "registry:file",
|
|
"target": "~/supabase/functions/mcp/.env.example"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/mcp/supabase/functions/mcp/tools/types.ts",
|
|
"type": "registry:file",
|
|
"target": "~/supabase/functions/mcp/tools/types.ts"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/mcp/supabase/functions/mcp/tools/result.ts",
|
|
"type": "registry:file",
|
|
"target": "~/supabase/functions/mcp/tools/result.ts"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/mcp/supabase/functions/mcp/tools/whoami.ts",
|
|
"type": "registry:file",
|
|
"target": "~/supabase/functions/mcp/tools/whoami.ts"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/mcp/supabase/functions/mcp/tools/index.ts",
|
|
"type": "registry:file",
|
|
"target": "~/supabase/functions/mcp/tools/index.ts"
|
|
}
|
|
]
|
|
}
|