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' } }); });

devOAuth1 credits

Call information

Tool slug
supabase-mcp.deploy_edge_function
Provider
Supabase
Average response
0 ms
Calls in 7 days
0

Input parameters

project_idrequired

string

namerequired

The name of the function

entrypoint_pathrequired

The entrypoint of the function

import_map_path

The import map for the function.

verify_jwtrequired

Whether 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.

filesrequired

The 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.