Skip to content
For LLMsView as Markdown·

Integrate with AI ​

OneHazel's MCP server is not only for running workflows. With a key that has Connect enabled, a coding agent can build your side of the Operator Contract: it reads the contract with your URLs filled in, starts from generated samples, registers your endpoints and runs conformance until every module passes.

  1. In the app, open Connect casino and then Integrate with AI to create the key (shown once).

  2. Add the server to your agent, over HTTP or through the stdio bridge:

    bash
    claude mcp add --transport http onehazel https://api.onehazel.com/mcp-server --header "Authorization: Bearer $ONEHAZEL_API_KEY"
    # or, for stdio-only clients:
    claude mcp add onehazel -e ONEHAZEL_API_KEY="$ONEHAZEL_API_KEY" -- npx -y @onehazel/mcp
  3. Ask the agent to read onehazel://skill/integrate and then call connect_status. In connect_status, evidence: derived means no conformance run backs this module; in v1 that is launch, widget, attribution and events.push.

The full walkthrough, the tool list and what stays with a human (credentials, real money, Go live) are on Connect with MCP.

A step-by-step version for the person setting this up is How to integrate with AI; when something fails, see Troubleshooting.