PagerDuty Incident リモートMCPを OpenAI Codex CLI にMCP接続する方法(設定手順)

PagerDuty のリモートMCPサーバーを OpenAI Codex CLI に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~371 tok6 tools
Streamable HTTPhttps://mcp.pagerduty.com/mcp

Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:

[mcp_servers.pagerduty]
url = "https://mcp.pagerduty.com/mcp"

接続手順

  1. TOML を編集 — ~/.codex/config.toml に [mcp_servers.pagerduty] と url = "https://mcp.pagerduty.com/mcp" を追記します。
  2. 資格情報を設定 — 初回呼び出し時に PagerDuty の OAuth 認可画面が開きます。許可するとツールが有効になります。
  3. 検証 — オンライン Inspector に https://mcp.pagerduty.com/mcp を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(6)

ToolSafetyDescriptionParameters
list_incidents
~71 tok
🟢 ReadList incidents filtered by status and service.status: stringserviceId: string
get_incident
~57 tok
🟢 ReadGet incident details including alerts and log entries.incidentId*: string
acknowledge_incident
~51 tok
🟠 WriteAcknowledge an incident.incidentId*: string
resolve_incident
~68 tok
🟠 WriteResolve an incident with a note.incidentId*: stringresolution: string
list_services
~45 tok
🟢 ReadList PagerDuty services.query: string
get_oncall
~59 tok
🟢 ReadGet who is currently on call for a schedule or escalation policy.scheduleId*: string

その他の接続ガイド