Skip to main content

Connect an AI app

Connect your AI app to Hypermeter through MCP: Claude Code, Codex, Mistral Vibe, Claude, ChatGPT, or Mistral Work. Your agent then works with the operations and data that you approve. Publishing stays in the web app.

Before you connect​

An organization owner must allow the app first. See Allow AI apps in your organization. You connect with your own Hypermeter account.

Get the connection details:

  1. Select Agents on the rail.
  2. Select Agent access at the top right.
  3. Select Details next to your app. The dialog shows the MCP URL and, under Setup, the command or configuration for the app.
The Details dialog, with the MCP URL and the setup command.
The Details dialog, with the MCP URL and the setup command.

If you cannot open that page, ask an owner for the details. In the examples, YOUR-HYPERMETER-HOST stands for your host.

Claude Code​

  1. Install Claude Code.

  2. Run the command from the Details dialog in your terminal:

    claude mcp add --transport http --scope user hypermeter https://YOUR-HYPERMETER-HOST/api/v1/mcp
  3. Open Claude Code and enter /mcp.

  4. Select hypermeter and complete sign-in in your browser.

With --scope user, the connection is available in all your projects. See Claude Code MCP configuration for other options.

Codex​

Experimental. Tested with Codex CLI 0.164.0.

  1. Install Codex.

  2. Run the commands from the Details dialog in your terminal:

    codex mcp add hypermeter --url https://YOUR-HYPERMETER-HOST/api/v1/mcp
    codex mcp login hypermeter --oauth-client-registration cimd --scopes openid,profile,email,hypermeter:mcp
  3. Complete sign-in in your browser.

  4. Start a new Codex session. Enter /mcp to check the connection.

Mistral Vibe​

Experimental. Tested with Vibe 3.0.2.

  1. Copy the configuration from the Details dialog into ~/.vibe/config.toml, or into .vibe/config.toml for one project only:

    [[mcp_servers]]
    name = "hypermeter"
    transport = "streamable-http"
    url = "https://YOUR-HYPERMETER-HOST/api/v1/mcp"

    [mcp_servers.auth]
    type = "oauth"
    scopes = []
    client_metadata_url = "https://YOUR-HYPERMETER-HOST/api/v1/mcp/clients/mistral-vibe"
  2. Start Vibe and enter /mcp login hypermeter.

  3. Complete sign-in in your browser.

Keep the default sign-in port of Vibe, 47823. Sign-in fails on any other port. Vibe 3.0.2 does not renew its access automatically: when it reports that access to hypermeter expired, enter /mcp login hypermeter again.

Claude​

Experimental, for Claude on the web, Claude Desktop, and Cowork. A complete connection is not verified yet.

  1. In Claude, open Customize > Connectors, select + Add, and then Add custom connector. On Team and Enterprise plans, an owner adds connectors under Organization settings > Connectors.
  2. Enter a name and the MCP URL from the Details dialog.
  3. Under OAuth client, choose Use Claude's published identity.
  4. Connect and complete sign-in in your browser.

See Claude custom connectors for who can add connectors on each plan.

ChatGPT​

Experimental. A complete connection is not verified yet. Your ChatGPT account and workspace policies decide whether you can add custom MCP servers. See Connect a plugin to ChatGPT.

  1. In ChatGPT, open Plugins, select the plus button, and then Add custom MCP server.
  2. Enter a name and the MCP URL from the Details dialog.
  3. Set up OAuth sign-in when ChatGPT asks for authentication, then select Create as a plugin.
  4. Connect and complete sign-in in your browser.

Mistral Work​

Experimental. A complete connection from Mistral Work (formerly Le Chat) is not verified yet.

  1. In Mistral Work, add a custom MCP connector and enter the MCP URL from the Details dialog.
  2. Choose OAuth 2.1 and open its advanced settings.
  3. Enter the Client ID from the Details dialog. It looks like https://YOUR-HYPERMETER-HOST/api/v1/mcp/clients/mistral-work. Leave the client secret empty and keep the redirect URI of Mistral.
  4. Connect and complete sign-in in your browser.

Approve what your agent asks for​

Ask your agent what it can do in your organization. It works in a Task, which you follow in the Agents section.

The agent gives youWhat you do
A link to approve access for a TaskReview the operations, the resources, and the duration, then approve.
A link to review source requests, before a Preview contacts an external sourceReview the request methods, the destinations, the Preview limits, and the complete definitions of the requests. Then approve them.

You also find these requests in the web app: Needs you on the Agent Tasks page lists what waits for you, as Approve access, Enter a secret, Make a choice, Confirm, or Approve a budget. Select Open.

Approving source requests does not start a Preview. Return to your agent and, if it has stopped, ask it to continue the Task. The approval stays valid while the requests and their inputs do not change.

The agent cannot publish a workflow or start a run. It gives you a link to do that in the web app. See Complete the owner steps.

With the optional Auto-approve in the Details dialog, the app gets Author grants without asking you, and may mark source requests as read-only for Preview. Publishing stays manual.

Stop the access of your app​

If you cannot connect​

What you seeWhat to do
The app does not connectAsk an owner to check that MCP connections is on and the app is admitted. Check that you copied the URL of the right environment, and use your own account.
Browser sign-in or client registration is not supportedUpdate your AI app.
Sign-in fails before the Hypermeter sign-in page appears, or the app is unavailable on the Agent access pageContact your Hypermeter administrator.
A tool-schema error after a server updateReconnect the MCP server.
Hypermeter asks you to sign in againSign in again through the connection settings of your AI app. If you get the same message, sign out of your identity provider first. See Set a sign-in limit.