Skip to content
pingwright
Docs menu AI agents (MCP)

Build on it

AI agents and MCP

Pingwright is also an MCP server. Connect your coding agent and it can do what the console does: add checks as you ship, set up alert channels, mute a check during a deploy, publish a status page, build a dashboard. With the previews on, it can also answer questions from your logs, metrics and errors, with the numbers it fetched and the errors as they were sent.

Connect

The server speaks MCP over streamable HTTP at:

Text
https://mcp.pingwright.app/mcp

With a browser: OAuth

Give your client only the URL. It opens a browser for you to sign in and allow it; there is nothing else to copy. Pingwright supports OAuth 2.1 with PKCE and dynamic client registration, which current MCP clients use on their own.

Claude Code
claude mcp add --transport http pingwright https://mcp.pingwright.app/mcp

For clients configured with JSON:

JSON
{
  "mcpServers": {
    "pingwright": {
      "type": "http",
      "url": "https://mcp.pingwright.app/mcp"
    }
  }
}

Apps you've allowed are listed under Settings › Connected apps, where you can disconnect them.

Without a browser: API keys

In CI, scripts and headless agents, use an API key (pw_…). Create one under Settings › API keys; it's shown once. A key works in one organization only and acts as the person who created it.

Claude Code
claude mcp add --transport http pingwright https://mcp.pingwright.app/mcp \
  --header "Authorization: Bearer $PINGWRIGHT_API_KEY"
JSON
{
  "mcpServers": {
    "pingwright": {
      "type": "http",
      "url": "https://mcp.pingwright.app/mcp",
      "headers": { "Authorization": "Bearer ${PINGWRIGHT_API_KEY}" }
    }
  }
}

Checks in CI has a complete GitHub Actions example.

What it acts as

Your agent acts with your role in each organization: a viewer's agent can read but not change anything. Everything it does is also in the GraphQL API. Calls are rate-limited per organization; a client that goes too fast is told to slow down.

Things to ask

  • Monitor https://api.example.com/health every minute.
  • Why is checkout-api down? Show me the last failures by location.
  • Pause the status-page check until Monday.
  • What failed overnight, and what was checkout logging then?
  • Which new errors came in since the deploy?
  • Make a dashboard for checkout-api, and alert me when its 5xx rate goes over 1 a second.

Tools

Tools marked with a preview fail with FEATURE_NOT_ENABLED until that feature preview is on. list_feature_previews and set_feature_preview let an owner or admin's agent check and turn them on.

AreaTools
Organizations and locationslist_organizations, list_locations
Checkscreate_check, update_check, pause_check, resume_check, delete_check, list_checks, get_check, get_heartbeat_url, rotate_heartbeat_url
Results and incidentslist_check_results, list_incidents, post_incident_update
Mutingmute_check_alerts, unmute_check_alerts
Alert channelscreate_alert_channel, list_alert_channels, update_alert_channel, delete_alert_channel, test_alert_channel, list_alert_deliveries
Status pagescreate_status_page, list_status_pages, get_status_page, update_status_page, delete_status_page
Feature previewslist_feature_previews, set_feature_preview
Check metrics and eventsquery_check_metrics (Metrics), search_events (Logs)
Logsquery_logs (Logs)
Metricslist_metric_names, query_metrics (Metrics)
Errorslist_issues, get_issue, update_issues (Errors)
Sending telemetrycreate_ingest_key, update_ingest_key, get_telemetry_setup
Dashboardsget_dashboard_schema, and with Dashboards: list_dashboards, get_dashboard, create_dashboard, update_dashboard, delete_dashboard
Alert ruleslist_alert_rules, get_alert_rule, create_alert_rule, update_alert_rule, delete_alert_rule, preview_alert_rule (each rule needs its kind's preview)

create_ingest_key makes a key for a service (shown once), update_ingest_key turns a key's Record sender IP on or off, and get_telemetry_setup shows the endpoint, the DSN host and whether data is arriving, so your agent can wire up a service and confirm it worked.

Pingwright doesn't store traces yet. Logs and errors keep their trace ids, so your agent can follow one request across both.

Connect your agent from the console