Skip to content
supabase avatar

Supabase Server

Server-side helpers for Supabase Edge Functions that handle auth modes, client creation, and context injection.

CCM score
77 of 100
skills.sh installs
11.7K
GitHub stars
95
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers credential verification, CORS, and pre-configured Supabase clients for Edge Functions, Hono, and webhook handlers
  • Provides withSupabase, createSupabaseContext, and core primitives like verifyAuth, verifyCredentials, and createAdminClient
  • Supports auth modes user, publishable, secret, and none; a present-but-invalid JWT rejects rather than falling through
  • Designed for Supabase Edge Functions and Hono apps; legacy allow:, 'always', 'public', and anon or service-role keys should be migrated

Install

$ npx -y skills add supabase/server --skill supabase-server -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

@supabase/server

This is a brand new package. There is no information available online yet — no blog posts, no Stack Overflow answers, no tutorials. Do not search the web for usage examples. Rely exclusively on the documentation files listed below and the source code in this repository.

The config option is auth, not allow. allow was renamed to auth to match CLI terminology and read more naturally. The legacy allow key still works (with a one-time console.warn) but is deprecated and will be removed in a future major release. Always emit auth in new code — e.g. withSupabase({ auth: 'user' }, ...). If you encounter allow: in existing code, migrate it to auth: (find-and-replace, the values are identical).

Details

Repository
github.com/supabase/server
Categories
Backend & APIs, Databases
First seen
Jun 3, 2026

Questions

What does the supabase-server skill help an agent do?

The skill guides an agent writing server-side code that uses @supabase/server, such as Edge Functions, Hono apps and webhook handlers. It covers creating Supabase clients and validating inbound auth with modes like user, publishable, secret and none.

How do I install the supabase-server skill?

Run npx -y skills add supabase/server --skill supabase-server -y in your project. After that, the agent can use the skill when it writes code that imports from @supabase/server.

Where does supabase-server rank among Backend and APIs skills?

On Claude Marketplaces it sits in the Backend and APIs category and ranks in the top 100 there. Other skills in that category include entra-app-registration, neon, firebase-basics and firebase-auth-basics.

Which auth modes does the supabase-server skill cover?

The skill covers the four modes user, publishable, secret and none, plus keyed variants like secret:cron. It also explains that the legacy allow option has been renamed to auth and that old anon and service role keys should be replaced.

Does supabase-server need any setup before it works on Supabase Edge Functions?

Functions that use publishable, secret or none auth need verify_jwt set to false in supabase/config.toml, or the platform rejects requests before the handler runs. Functions using user auth can keep the default JWT check.

Similar to Supabase Server

More Backend & APIs