Skip to content
Happitu Happitu
Administration /Connect Happitu to an AI assistant
Open app

Connect Happitu to an AI assistant

Happitu’s Model Context Protocol (MCP) server gives supported AI assistants read-only access to interaction insights, quality evaluations, and transcripts. The assistant can analyze only the organizations and data your Happitu account is permitted to view.

You need:

  • An active Happitu account
  • Permission to view the interactions or evaluations you want to query
  • An MCP client that supports remote servers and OAuth, such as Claude or Codex
  1. Open Claude.
  2. Select the + next to the prompt, then select Manage connectors. Claude connectors menu showing Manage Connectors
  3. Select Add custom connector. Claude Manage Connectors screen with Add custom MCP server option
  4. Enter the following details:
    • Name: Happitu
    • URL: https://quokka.happitu.com/v1/mcp
  5. Sign in to Happitu when prompted.
  6. Choose the organization to connect and select Allow access.

Claude can now use Happitu tools in new conversations. The connection is read-only and uses your existing Happitu permissions.

The ChatGPT desktop app, Codex CLI, and Codex IDE extension share MCP configuration for the same Codex host.

  1. Open Settings → Plugins.
  2. Select the MCPs tab, then select Add → Custom MCP.
  3. Enter the following details:
    • Name: Happitu
    • Type: Streamable HTTP
    • URL: https://quokka.happitu.com/v1/mcp
  4. Leave Bearer token env var and Headers empty, then save the server.
  5. Return to the MCP server list and select Authenticate for Happitu. This option appears after the server is saved.
  6. In the browser window that opens, sign in to Happitu, choose the organization to connect, and select Allow access.
  7. Return to the desktop app and restart it if prompted.

In the composer, enter /mcp to verify that Happitu and its tools are connected. The connection is read-only and uses your existing Happitu permissions.

If the Authenticate action does not open the sign-in flow, authenticate from a terminal and then restart the desktop app:

Terminal window
codex mcp login happitu
  1. Add Happitu as a remote MCP server:

    Terminal window
    codex mcp add happitu --url https://quokka.happitu.com/v1/mcp
  2. Start the OAuth login flow:

    Terminal window
    codex mcp login happitu
  3. In the browser window that opens, sign in to Happitu, choose the organization to connect, and select Allow access.

  4. Confirm that the server is configured:

    Terminal window
    codex mcp list

In the Codex terminal interface, enter /mcp to view the active server and its tools. You can now ask Codex questions about your Happitu interactions and evaluations.

Codex stores MCP configuration in ~/.codex/config.toml. You can add Happitu manually:

[mcp_servers.happitu]
url = "https://quokka.happitu.com/v1/mcp"

After editing the file manually, run codex mcp login happitu to authenticate. For project-only configuration, use .codex/config.toml in a trusted project instead. See OpenAI’s MCP documentation for more configuration options.

Prompt:

List the available Happitu insight dimensions.

The client should call Happitu and return the available dimensions, filters, evaluation dimensions, and highlights.

You can also try:

  • “Compare the top interaction topics by channel for the last 30 days.”
  • “Which quality criteria have the lowest average scores?”
  • “Show examples of negative interactions and link to the supporting interactions.”

Depending on your role, an MCP client can:

  • Break down and compare interactions by intent, topic, signal, outcome, agent, channel, group, method, highlight, or quality result.
  • Resolve names such as agents, channels, scorecards, and criteria before filtering.
  • Return representative interactions with direct links back to Happitu.
  • Inspect transcript utterances for supporting evidence.
  • Analyze evaluation performance by scorecard, section, criteria, agent, channel, or group.

OAuth is recommended because it handles sign-in and authorization automatically. If your MCP client supports custom authorization headers instead:

  1. In Happitu, open Settings → API Tokens.
  2. Create an MCP token and copy it immediately. The token is displayed only once.
  3. Configure the remote server URL as https://quokka.happitu.com/v1/mcp.
  4. Add the header Authorization: Bearer YOUR_TOKEN.

Treat API tokens like passwords. Revoke a token from Settings → API Tokens if it is exposed or no longer needed.

If your client cannot connect, confirm that:

  • The URL is exactly https://quokka.happitu.com/v1/mcp
  • You completed the Happitu authentication flow
  • Your Happitu role can view the data you are asking about
  • You disconnected and reconnected the server if authentication failed or expired

If Happitu tools still do not appear, remove the connector and add it again. Organization administrators can also revoke an old token in Settings → API Tokens before reconnecting.