suky
Docs

MCP Server

New

The MCP (Model Context Protocol) server exposes your event schema as a semantic layer for IDEs and AI agents.

Configuration

Add the following to your IDE's MCP config (e.g. .cursor/mcp.json):

The exact config — with your key filled in — is available in the app under Integrations → MCP Server, or run npx suky init to write it for you.

{
  "mcpServers": {
    "suky": {
      "type": "http",
      "url": "https://fxxjgontcelumpkewibz.supabase.co/functions/v1/mcp-server/mcp",
      "headers": {
        "Authorization": "Bearer tp_your_api_key"
      }
    }
  }
}

Available tools

ToolDescription
list_eventsList all events in the event schema with optional filters.
get_eventGet the full property schema for a specific event.
search_eventsSemantic search across event names and descriptions.
validate_trackingCheck a proposed tracking change against the contract before it ships.
get_sdk_snippetGenerate a tracking-call snippet for an event and your CDP SDK.
check_event_healthReport warehouse health for an event — freshness, volume, violations.
propose_contractDraft a contract for a new or changed event for review.

These are a subset — the server exposes read tools plus agent tools that can propose contracts, resolve violations, and open fix PRs. The MCP server is a Pro feature.