﻿---
title: "Checkly 远程 MCP"
filename: "terminal"
canonical: /templates/checkly-codex-mcp/
---

# Checkly 远程 MCP

连接 api.checklyhq.com/mcp，通过 CHECKLY_API_KEY 提供 Bearer 凭据，无需 OAuth 登录。

```
export CHECKLY_API_KEY=YOUR_CHECKLY_API_KEY
codex mcp add checkly --url https://api.checklyhq.com/mcp --bearer-token-env-var CHECKLY_API_KEY

# [mcp_servers.checkly]
# url = "https://api.checklyhq.com/mcp"
# bearer_token_env_var = "CHECKLY_API_KEY"
# enabled = true

# 多账号才：
# [mcp_servers.checkly.env_http_headers]
# X-Checkly-Account = "CHECKLY_ACCOUNT_ID"

# 写检查代码才：
# npx checkly skills install --target=codex

# 技能插件（需补充 Bearer 配置）：
# codex plugin marketplace add checkly/checkly-plugin
# 然后 TUI /plugins

```
