You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ai/mcp-server.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
title: 'Checkly MCP Server'
3
-
description: 'Connect supported AI clients to Checkly to inspect checks, test sessions, RCA, result assets, status pages, incidents, and account context.'
3
+
description: 'Connect MCP clients to Checkly to inspect checks, test sessions, RCA, result assets, status pages, incidents, and account context.'
4
4
sidebarTitle: 'Overview'
5
5
---
6
6
7
-
The Checkly MCP Server lets supported AI clients connect to Checkly over Streamable HTTP and use Checkly tools from your conversation.
7
+
The Checkly MCP Server lets MCP clients connect to Checkly over Streamable HTTP and use Checkly tools from your conversation.
8
8
9
9
Use the production MCP endpoint in your client:
10
10
@@ -13,7 +13,7 @@ https://api.checklyhq.com/mcp
13
13
```
14
14
15
15
<Warning>
16
-
The Checkly MCP Server only supports Checkly-approved OAuth clients listed in setup. Clients that use Dynamic Client Registration (DCR) are rejected. See [setup requirements](/ai/mcp-server/setup) for supported clients and details.
16
+
OAuth is the recommended way to connect. The OAuth flow only supports Checkly-approved clients listed in setup. API-key authentication is available for non-interactive clients that can send custom headers, but you are responsible for protecting and rotating the key.
17
17
</Warning>
18
18
19
19
Use it when your agent needs live Checkly account context, check status, check results, test sessions, root cause analyses, result assets, status pages, incidents, account environment variables, or when it needs to trigger existing checks.
@@ -40,10 +40,10 @@ Before connecting an MCP client, ensure you have:
40
40
41
41
- A Checkly user account.
42
42
- Access to the Checkly account you want the MCP client to use.
43
-
- A [supported MCP client](/ai/mcp-server/setup#supported-clients).
43
+
- A [supported OAuth MCP client](/ai/mcp-server/setup#supported-clients), or an MCP client that can send custom HTTP headers for API-key authentication.
44
44
</Accordion>
45
45
46
-
[Add the Checkly MCP endpoint to your client](/ai/mcp-server/setup), complete the OAuth flow, then ask your client to verify the connection:
46
+
[Add the Checkly MCP endpoint to your client](/ai/mcp-server/setup), complete the OAuth flow, then ask your client to verify the connection. If your client cannot complete OAuth but can send custom headers, configure API-key authentication instead.
47
47
48
48
```text title="Prompt" wrap
49
49
Use Checkly to show which accounts I can access.
@@ -85,7 +85,7 @@ Create a major status page incident for the API outage, but do not notify subscr
85
85
86
86
## MCP, Skills, and CLI
87
87
88
-
MCP, Checkly Skills, and the Checkly CLI are complementary. Use the MCP Server for a quick, OAuth-based connection from a supported client. Use Checkly Skills with the CLI when your agent needs to create, edit, test, or deploy code from your local project.
88
+
MCP, Checkly Skills, and the Checkly CLI are complementary. Use the MCP Server for a quick OAuth-based connection from a supported client. Use API-key authentication only when OAuth is not practical for a non-interactive workflow. Use Checkly Skills with the CLI when your agent needs to create, edit, test, or deploy code from your local project.
89
89
90
90
See [Skills, MCP, and the CLI](/ai/overview#skills-mcp-and-the-cli) for a full comparison of when to use each.
Copy file name to clipboardExpand all lines: ai/mcp-server/security-and-permissions.mdx
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,24 @@ description: 'Understand how the Checkly MCP Server authenticates users, filters
4
4
sidebarTitle: 'Security & permissions'
5
5
---
6
6
7
-
The Checkly MCP Server uses OAuth and Checkly account authorization together. OAuth permissions decide which tools are visible to your MCP client. Checkly account membership, role, and feature entitlements decide whether a specific tool call can operate on an account.
7
+
The Checkly MCP Server uses bearer-token authentication and Checkly account authorization together. Session permissions decide which tools are visible to your MCP client. Checkly account membership, role, and feature entitlements decide whether a specific tool call can operate on an account.
8
8
9
9
## Authentication
10
10
11
-
The MCP Server accepts Auth0-issued bearer tokens for `https://api.checklyhq.com/mcp`. Your MCP client completes the OAuth flow and sends the token with requests to the MCP endpoint.
11
+
The MCP Server accepts two types of bearer tokens for `https://api.checklyhq.com/mcp`:
12
12
13
-
The public MCP Server only supports OAuth clients that Checkly has approved in Auth0. Checkly rejects clients that attempt to use [Dynamic Client Registration (DCR)](https://datatracker.ietf.org/doc/html/rfc7591). See [supported clients](/ai/mcp-server/setup#supported-clients) for setup details.
13
+
- OAuth bearer tokens from Checkly-approved MCP clients.
14
+
- Checkly user API keys starting with `cu_...`, and service API keys starting with `sv_...`, sent as `Authorization: Bearer <checkly-api-key>`.
14
15
15
-
Checkly maps the token subject to a Checkly user, then loads that user's account memberships and account context for tool calls.
16
+
OAuth is recommended for interactive clients. The public MCP Server only supports Checkly-approved OAuth clients. Checkly rejects clients that attempt to use [Dynamic Client Registration (DCR)](https://datatracker.ietf.org/doc/html/rfc7591). See [supported clients](/ai/mcp-server/setup#supported-clients)for setup details.
16
17
17
-
## OAuth permissions
18
+
Checkly maps OAuth tokens and user API keys to a Checkly user, then loads that user's account memberships and account context for tool calls. Service API keys map to the key's configured account and role.
19
+
20
+
<Warning>
21
+
API keys are long-lived credentials. Use API-key authentication only when OAuth is not practical, store keys securely, and rotate them when they are no longer needed.
22
+
</Warning>
23
+
24
+
## Session permissions
18
25
19
26
| Permission | Description |
20
27
| --- | --- |
@@ -32,6 +39,8 @@ Checkly maps the token subject to a Checkly user, then loads that user's account
32
39
|`checkly:test-sessions:read`| Read your Checkly test sessions |
33
40
|`checkly:assets:read`| Read your Checkly assets |
34
41
42
+
OAuth sessions use the permissions granted by the OAuth flow. API-key sessions receive all permissions listed above except `checkly:account:invite`, so `invite-account-member` is only available with OAuth.
43
+
35
44
Tools are filtered from `tools/list` when the MCP session does not include the required permission. Tool calls are also rejected if the session lacks the required permission.
36
45
37
46
## Account context
@@ -42,9 +51,11 @@ Most tools operate on one Checkly account. You can select a specific account in
42
51
Accounts that require mTLS are not available through the public MCP Server.
43
52
</Warning>
44
53
54
+
Blocked accounts can be inspected with read-only tools, but write, run, and admin tools are rejected.
55
+
45
56
## Role checks
46
57
47
-
Some tools require both an OAuth permission and a Checkly account role:
58
+
Some tools require both an MCP session permission and a Checkly account role:
48
59
49
60
| Tool or action | Additional account access required |
Copy file name to clipboardExpand all lines: ai/mcp-server/setup.mdx
+39-6Lines changed: 39 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: 'Set up the Checkly MCP Server'
3
-
description: 'Configure a supported MCP client to connect to the Checkly MCP Server over Streamable HTTP.'
3
+
description: 'Configure OAuth or API-key authentication for the Checkly MCP Server over Streamable HTTP.'
4
4
sidebarTitle: 'Setup'
5
5
---
6
6
@@ -11,12 +11,12 @@ https://api.checklyhq.com/mcp
11
11
```
12
12
13
13
<Warning>
14
-
The Checkly MCP Server only supports the clients listed below. Clients that use [Dynamic Client Registration (DCR)](https://datatracker.ietf.org/doc/html/rfc7591) are rejected.
14
+
OAuth is the recommended way to connect. The OAuth flow only supports the clients listed below. Clients that use [Dynamic Client Registration (DCR)](https://datatracker.ietf.org/doc/html/rfc7591) are rejected.
15
15
</Warning>
16
16
17
17
## Supported clients
18
18
19
-
The public Checkly MCP Server currently supports these clients:
19
+
The public Checkly MCP Server currently supports OAuth for these clients:
20
20
21
21
| Client | Support status | Notes |
22
22
| --- | --- | --- |
@@ -29,7 +29,7 @@ The public Checkly MCP Server currently supports these clients:
| VS Code | Supported | Configure `.vscode/mcp.json` or your VS Code user profile. |
31
31
32
-
Supported clients must use a Checkly-approved OAuth client in Auth0. Most supported clients use [OAuth Client ID Metadata Documents (CIMD)](https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/). Cursor, Devin CLI, and OpenCode use Checkly's static MCP OAuth clients. Clients that rely on DCR are not supported.
32
+
Supported OAuth clients must use a Checkly-approved OAuth client. Most supported clients use [OAuth Client ID Metadata Documents (CIMD)](https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/). Cursor, Devin CLI, and OpenCode use Checkly's static MCP OAuth clients. Clients that rely on DCR are not supported.
33
33
34
34
If you want Checkly to support another compatible client, [share feedback or requests](https://feedback.checklyhq.com).
For clients that use an `mcpServers` JSON configuration, add the header to the Checkly server entry:
71
+
72
+
```json mcp.json
73
+
{
74
+
"mcpServers": {
75
+
"checkly": {
76
+
"url": "https://api.checklyhq.com/mcp",
77
+
"headers": {
78
+
"Authorization": "Bearer <checkly-api-key>"
79
+
}
80
+
}
81
+
}
82
+
}
83
+
```
84
+
85
+
Service API keys are limited to the key's configured account and role. Deprecated account API keys and old `sk_...` service-key formats are rejected. API-key sessions cannot use the `invite-account-member` tool.
86
+
54
87
## Devin CLI
55
88
56
89
Use this configuration:
@@ -165,7 +198,7 @@ Restart VS Code after changing the configuration.
165
198
166
199
## Known client limitations
167
200
168
-
Some MCP clients support remote MCP servers but do not work with the public Checkly MCP Server yet. If your preferred compatible client is missing, [share feedback or requests](https://feedback.checklyhq.com).
201
+
Some MCP clients support remote MCP servers but do not work with the public Checkly MCP Server OAuth flow yet. If your preferred compatible client is missing, [share feedback or requests](https://feedback.checklyhq.com).
169
202
170
203
### Cline
171
204
@@ -226,4 +259,4 @@ Then verify tool access:
226
259
Use Checkly to list the tools available to this session.
227
260
```
228
261
229
-
The visible tools depend on the OAuth permissions granted to your MCP session. See [Security and permissions](/ai/mcp-server/security-and-permissions) for details.
262
+
The visible tools depend on the permissions granted to your MCP session. See [Security and permissions](/ai/mcp-server/security-and-permissions) for details.
Copy file name to clipboardExpand all lines: ai/mcp-server/tools.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebarTitle: 'Tools'
6
6
7
7
This reference reflects the current MCP Server v1 tool surface. It is not a roadmap or a commitment to future tools.
8
8
9
-
Each tool is shown only when the MCP session has the required OAuth permission. Some write tools also require a matching Checkly account role, such as Admin or Read & Write.
9
+
Each tool is shown only when the MCP session has the required permission. Some write tools also require a matching Checkly account role, such as Admin or Read & Write.
10
10
11
11
## Account tools
12
12
@@ -15,7 +15,7 @@ Each tool is shown only when the MCP session has the required OAuth permission.
15
15
|`whoami`| Read | Return the authenticated user and account memberships visible to the MCP session. |
16
16
|`get-account-entitlements`| Read | Return the resolved account plan and feature entitlement state. |
17
17
|`list-account-members`| Read | List account members and pending invites. |
18
-
|`invite-account-member`| Write | Invite a user to the resolved account. Requires Owner or Admin access, sends an invite email, and is not idempotent. |
18
+
|`invite-account-member`| Write | Invite a user to the resolved account. OAuth-only. Requires Owner or Admin access, sends an invite email, and is not idempotent. |
19
19
|`prepare-local-check-authoring`| Read | Return an account-aware runbook for creating, testing, and deploying check code with the local Checkly CLI. |
Copy file name to clipboardExpand all lines: ai/mcp-server/troubleshooting.mdx
+20-14Lines changed: 20 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ sidebarTitle: 'Troubleshooting'
8
8
Before troubleshooting, confirm:
9
9
10
10
- Your MCP client is configured with `https://api.checklyhq.com/mcp`.
11
-
- Your MCP client is in the [supported clients list](/ai/mcp-server/setup#supported-clients).
12
-
- You completed the OAuth login flow.
11
+
- Your OAuth client is in the [supported clients list](/ai/mcp-server/setup#supported-clients), or your API-key client can send custom HTTP headers.
12
+
- You completed the OAuth login flow, or configured an `Authorization: Bearer <checkly-api-key>` header for API-key authentication.
13
13
- You restarted your MCP client after editing configuration.
14
14
- Your Checkly user has access to the account you want to use.
15
15
</Accordion>
@@ -18,34 +18,37 @@ Before troubleshooting, confirm:
18
18
19
19
If your client reports that authentication is required or invalid:
20
20
21
-
1. Re-run your client's MCP login flow.
22
-
2. Confirm the endpoint is exactly `https://api.checklyhq.com/mcp`.
23
-
3. Remove stale Checkly MCP credentials from the client if it keeps reusing an old token.
24
-
4. Reconnect and call `whoami`.
21
+
1. If you use OAuth, re-run your client's MCP login flow.
22
+
2. If you use API-key authentication, confirm the header is exactly `Authorization: Bearer <checkly-api-key>`.
23
+
3. Confirm the endpoint is exactly `https://api.checklyhq.com/mcp`.
24
+
4. Remove stale Checkly MCP credentials from the client if it keeps reusing an old token.
25
+
5. Reconnect and call `whoami`.
26
+
27
+
For API-key authentication, use a current `cu_...` user API key, or a current `sv_...` service API key. Deprecated account API keys and old `sk_...` service-key formats are rejected.
25
28
26
29
<Warning>
27
-
If the browser login page shows an Auth0 "Something went wrong" error, contact [Checkly Support](mailto:support@checklyhq.com). Include the MCP client you used, the Checkly account you were trying to access, and the approximate time of the error.
30
+
If the browser login page shows a "Something went wrong" error, contact [Checkly Support](mailto:support@checklyhq.com). Include the MCP client you used, the Checkly account you were trying to access, and the approximate time of the error.
28
31
</Warning>
29
32
30
33
## OAuth registration fails
31
34
32
-
The Checkly MCP Server only supports clients that Checkly has approved in Auth0. Checkly does not support Dynamic Client Registration (DCR).
35
+
The Checkly MCP Server only supports Checkly-approved OAuth clients. Checkly does not support Dynamic Client Registration (DCR).
33
36
34
-
If your client reports a dynamic registration error, a failed client registration, or never opens the expected OAuth flow, confirm that the client is in the [supported clients list](/ai/mcp-server/setup#supported-clients). Unsupported clients cannot connect to the public Checkly MCP Server, even if they support remote MCP servers.
37
+
If your client reports a dynamic registration error, a failed client registration, or never opens the expected OAuth flow, confirm that the client is in the [supported clients list](/ai/mcp-server/setup#supported-clients). Unsupported OAuth clients cannot complete the Checkly OAuth flow, even if they support remote MCP servers.
35
38
36
39
## No tools are listed
37
40
38
-
Visible tools depend on the OAuth permissions granted to the MCP session. If no tools appear:
41
+
Visible tools depend on the permissions granted to the MCP session. If no tools appear:
39
42
40
43
1. Use your MCP client's refresh tools option.
41
44
2. Restart the client if the tools list still does not update.
42
-
3. Reconnect and complete OAuth again.
45
+
3. Reconnect and complete OAuth again, or confirm your API-key header is still configured.
43
46
44
47
After the tools list refreshes, call `whoami` or ask Checkly which accounts you can access to verify the connection.
45
48
46
49
## A specific tool is missing
47
50
48
-
Each tool requires an OAuth permission. For example:
51
+
Each tool requires an MCP session permission. For example:
49
52
50
53
- Check status and results require permission to list checks, their status and results.
51
54
- Test sessions require permission to read your Checkly test sessions.
@@ -54,6 +57,8 @@ Each tool requires an OAuth permission. For example:
54
57
55
58
See [MCP tools](/ai/mcp-server/tools) for the full tool list.
56
59
60
+
The `invite-account-member` tool is not available with API-key authentication. Reconnect with OAuth if you need to invite account members through MCP.
61
+
57
62
If the tool you expected is not part of the current MCP Server, [share feedback or requests](https://feedback.checklyhq.com) so we can understand the workflow your agent was trying to complete.
58
63
59
64
## The tool asks for an account
@@ -97,5 +102,6 @@ Before approving write tool calls, check:
97
102
98
103
Some browser-based clients require CORS support and may handle OAuth differently from command-line clients. If a browser-based client cannot connect:
99
104
100
-
1. Confirm the client is in the [supported clients list](/ai/mcp-server/setup#supported-clients).
101
-
2. Try another supported client, such as Claude Code.
105
+
1. If you use OAuth, confirm the client is in the [supported clients list](/ai/mcp-server/setup#supported-clients).
106
+
2. If you use API-key authentication, confirm the client sends custom headers with remote MCP requests.
107
+
3. Try another supported client, such as Claude Code.
0 commit comments