Documentation

Connecting an MCP client

The MCP endpoint is:

Code
https://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp/mcp

The bare function root (https://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp) also speaks MCP, for clients that will not accept a path suffix. Authenticate with your organization's ck_… token as a Bearer token — see Authentication.

Clients with native remote MCP (HTTP)

JSONCode
{ "mcpServers": { "cortex": { "type": "http", "url": "https://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp/mcp", "headers": { "Authorization": "Bearer ck_your_token" } } } }

Stdio-only clients, via mcp-remote

JSONCode
{ "mcpServers": { "cortex": { "command": "npx", "args": [ "-y", "mcp-remote", "https://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp/mcp", "--header", "Authorization: Bearer ck_your_token" ] } } }

After connecting

Last modified on