Skip to main content
Use the production MCP endpoint in your client:
https://api.checklyhq.com/mcp

Choose an authentication method

MethodBest forCheckly access
OAuth (recommended)Interactive use with a supported OAuth clientUses your Checkly user and the permissions granted during sign-in.
User API keyPersonal clients that cannot use Checkly OAuth but can send custom HTTP headersUses your Checkly user and account memberships. User API keys start with cu_....
Service API keyShared or non-interactive clients that need a stable, account-scoped identityUses the account and role configured on the key. Service API keys start with sv_... and require an Enterprise plan.
OAuth avoids storing a long-lived Checkly credential in your MCP client. Use an API key when OAuth is unavailable or when a non-interactive workflow needs an account-scoped service identity.

Set up with OAuth

Before connecting with OAuth, ensure you have:
  • A Checkly user account.
  • Access to the Checkly account you want the MCP client to use.
  • A supported OAuth client.
The Checkly OAuth flow only supports Checkly-approved clients. Clients that rely on Dynamic Client Registration (DCR) are rejected.

Supported OAuth clients

If you want Checkly to support another compatible OAuth client, share feedback or requests.

Configure your OAuth client

ChatGPT Follow OpenAI’s Developer mode and MCP apps in ChatGPT guide. Use the Checkly MCP endpoint from this page as the MCP server endpoint. Claude Desktop Follow Claude’s custom connectors using remote MCP guide. Use the Checkly MCP endpoint from this page as the remote MCP server URL. Claude Code Add the server with the HTTP transport:
Terminal
claude mcp add --transport http checkly https://api.checklyhq.com/mcp
Start a Claude Code session and complete the OAuth flow when prompted. Devin CLI Add the server with Checkly’s Devin OAuth client ID:
Terminal
devin mcp add checkly https://api.checklyhq.com/mcp --transport http --oauth-client-id tpc_5apxvvouctRhwLo7ARsjYA
Then authenticate:
Terminal
devin mcp login checkly --oauth-client-id tpc_5apxvvouctRhwLo7ARsjYA
Complete the OAuth flow when prompted. Antigravity Add the server to ~/.gemini/config/mcp_config.json for global use, or .agents/mcp_config.json in your workspace:
mcp_config.json
{
  "mcpServers": {
    "checkly": {
      "serverUrl": "https://api.checklyhq.com/mcp",
      "oauth": {
        "clientId": "tpc_3qGL89LbJQfbt6peyLEUdE"
      }
    }
  }
}
Open Settings, select Customizations, and authenticate the Checkly server. Follow Google’s Antigravity MCP integration guide for the client workflow. OpenCode
Before configuring OpenCode, ensure port 19876 is available for the OAuth callback.
Add the server to your OpenCode configuration:
opencode.json
{
  "mcp": {
    "checkly": {
      "type": "remote",
      "url": "https://api.checklyhq.com/mcp",
      "oauth": {
        "clientId": "tpc_q3CQpmc7tU8LGwAbTLwDR6",
        "redirectUri": "http://127.0.0.1:19876/mcp/oauth/callback"
      }
    }
  }
}
Then authenticate:
Terminal
opencode mcp auth checkly
OpenCode must use the redirect URI shown above. If port 19876 is already in use, this static OAuth client will not work with a different local callback port unless Checkly has approved that redirect URI. Cursor Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for all projects:
mcp.json
{
  "mcpServers": {
    "checkly": {
      "type": "http",
      "url": "https://api.checklyhq.com/mcp",
      "auth": {
        "CLIENT_ID": "tpc_6UZKE6SnYVKGZKExoSK3FT",
        "scopes": [
          "checkly:account:read",
          "checkly:account:invite",
          "checkly:checks:read",
          "checkly:checks:run",
          "checkly:incidents:read",
          "checkly:incidents:write",
          "checkly:environment-variables:read",
          "checkly:environment-variables:write",
          "checkly:status-pages:read",
          "checkly:rca:read",
          "checkly:rca:run",
          "checkly:test-sessions:read",
          "checkly:assets:read"
        ]
      }
    }
  }
}
Restart Cursor after changing the configuration. VS Code Add the server to .vscode/mcp.json in your workspace, or to your VS Code user profile:
mcp.json
{
  "servers": {
    "checkly": {
      "type": "http",
      "url": "https://api.checklyhq.com/mcp"
    }
  }
}
Restart VS Code after changing the configuration.

Known OAuth limitations

Set up with an API key

Before connecting with an API key, ensure you have:
  • An MCP client that can send custom HTTP headers.
  • A current Checkly user API key starting with cu_..., or a current service API key starting with sv_....
  • A secure place to store the key outside version control.
Send the key as a bearer token in every request:
Authorization: Bearer <checkly-api-key>
Deprecated account API keys and old sk_... service-key formats are rejected.

Choose an API key

KeyUse it whenAccess behavior
User API key (cu_...)You need a personal fallback for a client that cannot use Checkly OAuth.Inherits your user access and account memberships. Removing your user from an account removes the key’s access to that account.
Service API key (sv_...)A shared or non-interactive client needs a stable identity that is not tied to a user.Limited to one account and the role selected when the key is created. Available on Enterprise plans.
See Creating an API key in Checkly for key creation, roles, and revocation.
API keys are long-lived credentials. Store them in your client’s secret storage or an environment variable, and rotate them when they are no longer needed. API-key sessions cannot use the invite-account-member tool.

Configure an API-key client

Claude Code Pass the authorization header when you add the server:
Terminal
claude mcp add --transport http checkly https://api.checklyhq.com/mcp --header "Authorization: Bearer <checkly-api-key>"
Codex Store the key in an environment variable and tell Codex to use it as the bearer token:
Terminal
export CHECKLY_API_KEY="<checkly-api-key>"
codex mcp add checkly --url https://api.checklyhq.com/mcp --bearer-token-env-var CHECKLY_API_KEY
Restart Codex from an environment where CHECKLY_API_KEY is set. OpenCode Store the key in CHECKLY_API_KEY, disable automatic OAuth, and reference the environment variable from your OpenCode configuration:
opencode.json
{
  "mcp": {
    "checkly": {
      "type": "remote",
      "url": "https://api.checklyhq.com/mcp",
      "oauth": false,
      "headers": {
        "Authorization": "Bearer {env:CHECKLY_API_KEY}"
      }
    }
  }
}
VS Code Use an input variable so the key is not stored in mcp.json:
mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "checkly-api-key",
      "description": "Checkly API key",
      "password": true
    }
  ],
  "servers": {
    "checkly": {
      "type": "http",
      "url": "https://api.checklyhq.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:checkly-api-key}"
      }
    }
  }
}

Select an account

OAuth sessions and user API keys can access each account available to the authenticated user. Service API keys are already limited to the account configured on the key. If you can access multiple accounts, tell your MCP client which account you want to use in your prompt:
Prompt
Use Checkly to show the accounts I can access, then show failing checks for <account-name>.
To make every request from a connection use the same account, set the X-Checkly-Account header when your client supports custom MCP headers:
X-Checkly-Account: <account-id>
For Claude Code, add the header when you register the server:
Terminal
claude mcp add --transport http checkly https://api.checklyhq.com/mcp --header "X-Checkly-Account: <account-id>"
For other clients, add the same header to the Checkly server entry using that client’s custom-header configuration. Use the account ID from Checkly. Omit the header when you want to choose the account in your prompts. You do not need this header with a service API key because the key is already scoped to one account.

Verify the connection

After authentication, ask your MCP client:
Prompt
Use Checkly to show which accounts I can access.
Then verify tool access:
Prompt
Use Checkly to list the tools available to this session.
The visible tools depend on the permissions granted to your MCP session and the Checkly role associated with the user or service API key. See Security and permissions for details.