Skip to main content
Chainloop remote Model Context Protocol (MCP) server is a new way to interact with Chainloop natively from your AI clients or agents. This allows you to perform complex queries, craft compliance reports, or implement advanced agentic workflows. All of this done securely, using the data already stored and signed in Chainloop. info

How to connect to the MCP server

The MCP server is enabled by default. On a self-hosted instance, the MCP endpoint is usually <your API host>/mcp. An operator can also serve it on a dedicated host with the Helm value backend.mcpIngress.hostname or backend.mcpHttpRoute.hostname. To find the correct URL, open the Chainloop UI. The Connect an AI agent dialog shows it, and so does the About dialog. Use that URL in place of https://api.app.chainloop.dev/mcp in the configurations below.
Connect your AI client to https://api.app.chainloop.dev/mcp. You can authenticate in two ways:
  • User authentication: Sign in with your Chainloop account through single sign-on (SSO). Your client opens a browser where you sign in and authorize access to Chainloop.
  • API token: Authenticate with a Chainloop API token. The token’s permissions determine what your client can access.
Follow the instructions for your client below. Select User Auth or API Token where both options are available. You can also get these steps in the Chainloop UI. Select the plug icon in the top header, next to Install CLI. Its tooltip is Connect an AI agent (MCP). The dialog shows the setup steps for each client, with the MCP URL of your instance already filled in.

Claude Code

Run the command for your authentication method:
Open Claude Code. Run /mcp. Select chainloop. Complete the browser authentication.
Example prompt:
For installation scopes and other options, see the Claude Code MCP documentation.

Codex

Follow the steps for your authentication method:
Complete the browser authentication when prompted.
Open Codex. Run /mcp to check the Chainloop connection. Example prompt:
For other configuration options, see the OpenAI Docs for Codex MCP.

GitHub Copilot CLI

Run the command for your authentication method:
Open Copilot CLI. Complete the browser authentication when prompted.
The command saves the server in your user configuration, ~/.copilot/mcp-config.json. Run copilot mcp get chainloop to check the configuration, or /mcp in Copilot CLI to check the Chainloop connection. Example prompt:
For other configuration options, see the GitHub Copilot CLI documentation.

Antigravity

Add the configuration below to ~/.gemini/config/mcp_config.json. If the file already contains MCP servers, add chainloop to the existing mcpServers object.
Authenticate the chainloop server. In the Antigravity CLI, run /mcp to open the MCP manager. In the Antigravity app, open Customizations > Installed and select Authenticate next to chainloop. Complete the browser authentication.
Example prompt:
For other configuration options, see the Antigravity MCP documentation.

OpenCode

Follow the steps for your authentication method:
Complete the browser authentication when prompted.
Open OpenCode in your project. Example prompt:
For other configuration options, see the OpenCode MCP documentation.

Cursor

Use the install button or add the configuration below to .cursor/mcp.json in your project root. For all projects, use ~/.cursor/mcp.json instead. If the file already contains MCP servers, add chainloop to the existing mcpServers object. Install MCP Server
Open Customize in Cursor’s sidebar. Enable chainloop. For User Auth, complete the browser authentication when prompted. Example prompt:
Chainloop MCP tools in Cursor

Visual Studio Code (GitHub Copilot)

Enable GitHub Copilot Chat. Then follow the steps for your authentication method:
Use the install link or add the server manually with these steps:
  1. Open the Command Palette (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux). Run MCP: Add Server.
  2. Select HTTP. Enter https://api.app.chainloop.dev/mcp.
  3. Name the server chainloop. Choose where to save the configuration.
  4. Run MCP: List Servers. Select chainloop. Select Start Server. Complete the browser authentication when prompted.
Open Copilot Chat in Agent mode. Enable the Chainloop tools. Example prompt:
For other configuration options, see the VS Code MCP documentation.

Zed

Add the configuration below to ~/.config/zed/settings.json. To open this file, run the zed: open settings file action. If the file already contains MCP servers, add chainloop to the existing context_servers object.
Zed asks you to sign in when it first connects to chainloop. Complete the browser authentication.
Example prompt:
For other configuration options, see the Zed MCP documentation.

Claude Desktop

Claude Desktop supports remote MCP servers through custom connectors.
  1. Open Customize > Connectors in Claude. Select + Add > Add custom connector. On Team and Enterprise plans, an organization owner must add the connector first in Organization settings > Connectors.
  2. Name the connector Chainloop. Enter https://api.app.chainloop.dev/mcp as the remote MCP server URL.
  3. Complete the connector setup. Select Connect. Complete the browser authentication to authorize access to Chainloop.
  4. Enable the Chainloop connector from the + menu in your conversation.
Example prompt:
For API token authentication, open the connector’s Request headers. Add an Authorization header with the value Bearer <your-chainloop-api-token>. For self-hosted instances, use the MCP URL of your instance. The Connect an AI agent dialog in the Chainloop UI shows it. The URL must be reachable from Anthropic’s servers. See Claude’s custom connector documentation for setup and network requirements.

Claude.ai

If you are using Claude.ai, follow the same custom connector setup as Claude Desktop. info

ChatGPT

ChatGPT supports browser sign-in (OAuth) only. It does not support Chainloop API tokens.
  1. In ChatGPT, add a custom MCP server (connector). Enter the name Chainloop and the URL https://api.app.chainloop.dev/mcp.
  2. Select Connect. Approve access in the Chainloop window.
ChatGPT connects to the MCP server from OpenAI’s servers, not from your computer. For a self-hosted instance, the MCP URL must be reachable from the internet. The menu path and the plans that allow custom connectors can change. Refer to OpenAI’s ChatGPT documentation for the current steps.

Other Clients

Connect any MCP client that supports the Streamable HTTP transport to https://api.app.chainloop.dev/mcp. Use browser sign-in if the client supports it. Or send the header Authorization: Bearer <your-chainloop-api-token> with each request.