Files
supabase/apps/ui-library/registry/default/blocks/headless-app-tanstack/registry-item.json
Saxon FletcherandClaude Opus 5.5 a9c594a820 chore(library): rename mcp-server block to mcp (#50999)
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>
2026-09-30 11:46:35 +10:00

51 lines
1.9 KiB
JSON

{
"name": "headless-app-tanstack",
"type": "registry:block",
"title": "Headless App for TanStack Start",
"description": "A backend with an agent as the primary interface, combining auth, OAuth consent, and an MCP server.",
"docs": "Follow https://supabase.com/library/docs/tanstack/headless-app for setup. Merge `supabase/config.toml` with existing project settings. Open `/agents` to connect your agent and approve access, then try the example task tools.",
"envVars": {
"VITE_PRODUCT_NAME": "Your product"
},
"registryDependencies": [
"button",
"https://supabase.com/library/r/password-based-auth-tanstack.json",
"https://supabase.com/library/r/oauth-consent-tanstack.json"
],
"files": [
{
"path": "registry/default/blocks/headless-app-tanstack/supabase/functions/mcp/tools/index.ts",
"type": "registry:file",
"target": "~/supabase/functions/mcp/tools/index.ts"
},
{
"path": "registry/default/blocks/headless-app-tanstack/supabase/functions/mcp/tools/tasks.ts",
"type": "registry:file",
"target": "~/supabase/functions/mcp/tools/tasks.ts"
},
{
"path": "registry/default/blocks/headless-app-tanstack/routes/_protected/agents.tsx",
"type": "registry:file",
"target": "routes/_protected/agents.tsx"
},
{
"path": "registry/default/blocks/headless-app-tanstack/components/connected-agents.tsx",
"type": "registry:component"
},
{
"path": "registry/default/blocks/headless-app-tanstack/hooks/use-oauth-grants.ts",
"type": "registry:hook"
},
{
"path": "registry/default/blocks/headless-app-tanstack/supabase/config.toml",
"type": "registry:file",
"target": "~/supabase/config.toml"
},
{
"path": "registry/default/blocks/headless-app-tanstack/supabase/schemas/public/tables/tasks.sql",
"type": "registry:file",
"target": "~/supabase/schemas/public/tables/tasks.sql"
}
]
}