userId specifies whose connected accounts and data you are accessing in Klavis. It should be a unique id for yourself, your team, or your organization.
API Reference
Full Strata API endpoints
3
Authenticate
OAuth (Recommended)
API Key
import webbrowser# Open OAuth authorization pagewebbrowser.open(response.oauth_urls[McpServerName.SUPABASE])
from klavis import Klavisklavis_client = Klavis(api_key="YOUR_KLAVIS_API_KEY")# Set the Supabase access tokenresponse = klavis_client.mcp_server.set_instance_auth( instance_id="YOUR_INSTANCE_ID", auth_data={ "token": "YOUR_SUPABASE_ACCESS_TOKEN" })
# Pull the Docker imagedocker pull ghcr.io/klavis-ai/supabase-mcp-server:latest# Run with OAuth support (requires Klavis API key)docker run -p 5000:5000 \ -e KLAVIS_API_KEY=$KLAVIS_API_KEY \ ghcr.io/klavis-ai/supabase-mcp-server:latest
With our progressive discovery approach, Klavis System is capable of enabling all tools for Supabase. Please use the get_tools API for more details. If you find any tool that is missing, please reach out to contact@klavis.ai.