Supabase Edge Functions
Automate data tasks & trigger actions directly from Supabase Edge Functions using this powerful AI integration.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add supabase-edge-functions npx -- -y @trustedskills/supabase-edge-functions
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"supabase-edge-functions": {
"command": "npx",
"args": [
"-y",
"@trustedskills/supabase-edge-functions"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to interact with Supabase Edge Functions, which are serverless TypeScript/JavaScript functions hosted on Deno Deploy within your Supabase project. It allows for invoking these functions using HTTP requests (POST and GET), deploying new function code, and managing their lifecycle. Essentially, this skill provides a programmatic way to automate tasks and trigger actions directly from your Supabase Edge Functions.
When to use it
- Automating data processing: Trigger a function when specific events occur in your database or application logic.
- Integrating with external services: Use an Edge Function as a proxy to interact with APIs that are not directly accessible from the client-side.
- Implementing custom authentication flows: Invoke functions requiring user authentication using access tokens.
- Deploying new function code: Automate the deployment of changes made to your Supabase Edge Functions.
Key capabilities
- Invoking Edge Functions via HTTP POST requests.
- Invoking Edge Functions via HTTP GET requests.
- Passing custom headers, including API keys and authorization tokens, during invocation.
- Creating new Edge Function projects using the Supabase CLI.
- Provides a basic function template for development.
Example prompts
- "Invoke the 'hello-world' Edge Function with the name 'Alice'."
- "Execute the 'get-data' Edge Function and pass an ID of 123."
- "Deploy the newly created edge function named 'my-function'."
Tips & gotchas
- Prerequisites: You will need to have the Supabase CLI installed and configured, along with Deno for local development.
- Environment Variables: The skill requires
SUPABASE_URLandSUPABASE_KEYenvironment variables to be set correctly. These are essential for authentication and accessing your Supabase project. - Authentication: When invoking functions requiring authentication, ensure you provide a valid access token in the Authorization header.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.