TOOL API
deploy_ edge_ function
Deploys an Edge Function to a Supabase project. If the function already exists, this will create a new version. Example: import "jsr:@supabase/functions-js/edge-runtime.d.ts"; Deno.serve(async (req: Request) => { const data = { message: "Hello there!" }; return new Response(JSON.stringify(data), { headers: { 'Content-Type': 'application/json', 'Connection': 'keep-alive' } }); });
Call information
- Tool slug
- supabase-mcp.deploy_edge_function
- Provider
- Supabase
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
project_idrequiredstring
namerequiredThe name of the function
entrypoint_pathrequiredThe entrypoint of the function
import_map_pathThe import map for the function.
verify_jwtrequiredWhether to require a valid JWT in the Authorization header. You SHOULD ALWAYS enable this to ensure authorized access. ONLY disable if the function previously had it disabled OR you've confirmed the function body implements custom authentication (e.g., API keys, webhooks) OR the user explicitly requested it be disabled.
filesrequiredThe files to upload. This should include the entrypoint, deno.json, and any relative dependencies. Include the deno.json and deno.jsonc files to configure the Deno runtime (e.g., compiler options, imports) if they exist.