supabase/server
Server-side utilities for Supabase. Handles auth, client creation, and context injection so you write business logic, not boilerplate.
https://skillcdn.ai/gh/supabase/serverConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
3bc9054 - License
MIT - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Folders
Documents
- API ReferenceComplete reference for every export, organized by entry point.docs/api-reference.md
- Auth ModesEvery request is validated against one or more auth modes before your handler runs. The auth config determines which modes are accepted.docs/auth-modes.md
- Core PrimitivesUse withSupabase or createSupabaseContext for standard use cases. Drop down to core primitives when you need:docs/core-primitives.md
- environment-variables.mdOn Supabase Platform and Local Development (CLI), all variables are auto-provisioned — no configuration neededdocs/environment-variables.md
- Error HandlingEvery error this library produces identifies itself and tells you what to do about it. An error carries:docs/error-handling.md
- Getting Started@supabase/server requires @supabase/supabase-js as a peer dependency:docs/getting-started.md
- MCP serversAn MCP server your app exposes to its users is an HTTP endpoint that MCP clients (Claude, ChatGPT, Cursor, VS Code, Claude Code) call after an OAuth 2.1 flow. @supabase/server covers the two Supabase…docs/mcp.md
- Postgres (`ctx.postgres`)Two middleware give you a direct Postgres connection, mirroring the ctx.supabase / ctx.supabaseAdmin pair:docs/postgres.md
- SecurityThis document explains the security decisions behind @supabase/server. It's informational — you don't need to read this to use the package, but it helps if you want to understand why things work the…docs/security.md
- Cookie-based environments (Next.js, SvelteKit, Remix)In cookie-based frameworks like Next.js, Nuxt, SvelteKit, and Remix, the user's JWT lives in session cookies rather than the Authorization header. The high-level wrappers (withSupabase, createSupabas…docs/ssr-frameworks.md
- TypeScript GenericsAll client-creating functions accept a Database generic parameter. When you pass your generated database types, every .from('table').select() call is fully typed — column names, return types, insert…docs/typescript-generics.md
Skipped (3)
These manifests were not served. Fix them and push: the next commit is indexed again.
README.mdlink_missinga link names no file of the repository (./examples/frameworks)CONTRIBUTING.mdlink_missinga link names no file of the repository (examples/frameworks)src/adapters/README.mdlink_missinga link names no file of the repository (../../examples/frameworks)