Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

1.9 KB
Raw Blame
{
  "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"
    }
  ]
}