acked. Docs Open Acked
DocsDevelopers

MCP for AI agents

Connect an OAuth-capable AI agent to Acked.

Organization admins can reveal a saved heartbeat URL with POST /api/heartbeat-monitors/:id/reveal. In MCP, use api_call with that method and path. The response contains heartbeat_url. Each reveal is audited. Old hash-only URLs require an explicit rotation first. Lists and ordinary detail reads omit the URL.

Connect from Codex

Acked provides a remote Streamable HTTP MCP server at https://api.acked.dev/mcp.

codex mcp add acked --url https://api.acked.dev/mcp
codex mcp login acked

Complete Acked sign-in and consent in the browser. Confirm the connection with codex mcp list or /mcp in the Codex terminal UI.

Another client can connect when it supports OAuth protected-resource discovery, dynamic client registration, PKCE, and a browser redirect.

Public clients must register token_endpoint_auth_method: "none". Register authorization_code and refresh_token grant types when the client needs refresh tokens, then request offline_access during consent. Use application_type: "native" for a native client. Revoke refresh tokens through the discovered revocation endpoint.

Understand authorization

The browser flow requests this scope set:

openid,offline_access,acked:read,acked:write
ScopePurpose
openidIdentify the signed-in Acked account.
offline_accessRefresh the client grant.
acked:readRead organizations and product configuration.
acked:writeCreate and change product configuration.

Acked checks current organization membership and role for every operation. A role or membership change takes effect without waiting for token expiry.

MCP uses interactive OAuth. Acked API keys do not authenticate the MCP endpoint.

Choose the narrowest credential

CredentialAuthorityAlert payload
Service-scoped ingest_urlRaise alerts for one integration's service.No authorization header and no service_id.
Alert ingest API keyRaise alerts across its organization through /v1/alerts.Bearer header and service_id.
Full product API keyManage customer /api/* routes and send direct alerts.Bearer header, plus X-Acked-Org for organization-scoped management.
MCP OAuth grantAct as the signed-in person through MCP.Keep it in the MCP client. Never hand it to an emitter.

Prefer one service-scoped URL for one emitter. The URL selects the service, so the sender cannot target another service and does not carry Acked ids in its payload.

Set up a project

Start with a specific request:

Set up this project's services and alerts in Acked.
Reuse existing configuration and ask before sending a real test alert.

The agent can list organizations, inspect configuration, create services and sources, configure destinations, and send an approved test alert. A new service includes a service-scoped ingest URL for its default integration.

Use list_organizations when the agent must choose an organization.

A native JSON emitter needs only the URL and its alert fields:

curl -X POST "$ACKED_INGEST_URL" \
  -H 'content-type: application/json' \
  -d '{"event_key":"checkout-5xx","title":"Checkout errors","priority":"high"}'

reveal_integration_url retrieves an existing URL without changing it and records the reveal in Acked's ledger. rotate_integration_url immediately invalidates the old URL and returns a replacement. Reveal when a destination must be reconfigured. Rotate only when the credential is lost or exposed.

Manage monitors, schedules, and alerts

If MCP reports pending Acked agreements, sign in to the web dashboard and review them there.

When a required agreement is pending, protected actions such as creating a service return 403 agreement_acceptance_required. Follow the dashboard link in the error. An admin accepts the Terms for the selected organization. Then retry with the same credential. You can still respond to alerts.

Use api_catalog to find an operation by method, path, scope, and summary. Use api_describe to read its parameters, required fields, allowed values, request body, responses, and referenced schemas. These come from the published OpenAPI contract.

For example, these are parameters for MCP tools/call requests:

{"name":"api_describe","arguments":{"method":"POST","path":"/api/http-monitors"}}
{"name":"api_describe","arguments":{"method":"PUT","path":"/api/schedules/:id"}}
{"name":"api_describe","arguments":{"method":"PUT","path":"/api/alerts/:id/ack"}}

Keep :id in the description request. Then call api_call with the resource id in the path, org_id for organization-scoped operations, and the JSON request body. Put query parameters in the path. Read the schema before a write.

For a shared Slack workspace, call GET /api/slack/install with the selected organization. Open the returned URL in a browser to approve the connection. Use POST /api/slack/destinations in the same organization to add its channel.

To delete a monitor, use api_call with DELETE and /api/http-monitors/:id or /api/heartbeat-monitors/:id. Use DELETE /api/integrations/:id for other sources.

The same path supports service routing, destinations, team membership, and account settings. Product permissions, plan limits, and feature gates apply to every call.

Provider consent and payment links require a browser step. The user completes that step in the browser. Sign-in and OAuth consent also remain web flows.

The dashboard combines some reads through /api/dashboard/* and /api/dashboard-batch. MCP uses the separate core reads for schedules, on-call ranges, channels, users, services, webhooks, and provider destinations.

To preview a source template, use api_call with POST /api/integrations/preview for the selected organization. Supply the original event_key in the recovery mapping. See Liquid payload mapping.

Choose MCP or direct API access

Use MCP for interactive agent work tied to a person’s membership and role. Use an API key for unattended organization-wide HTTP automation. Use a service-scoped integration URL when one caller only emits alerts for one service.

See HTTP API for the OpenAPI contract, credential authority, receipts, webhook templates, and TypeScript examples. See API keys for credential handling and the Alert API for deduplication and recovery behavior.

Troubleshoot MCP

HTTP 405

Opening the endpoint in a browser sends a GET request. Acked returns 405 Method Not Allowed with Allow: POST. Connect with a Streamable HTTP MCP client.

oauth_required or HTTP 401

Run codex mcp login acked and complete the browser flow.

requested resource invalid

Remove stale configuration and add the production resource again.

codex mcp logout acked
codex mcp remove acked
codex mcp add acked --url https://api.acked.dev/mcp
codex mcp login acked

insufficient_scope

Request the complete supported scope set in a new grant.

codex mcp logout acked
codex mcp login acked --scopes openid,offline_access,acked:read,acked:write

An organization is missing

Ask the client to run list_organizations. The signed-in account must have an active membership and sufficient role.

Protect returned credentials

Service ingest URLs, API keys, webhook signing secrets, and protected headers are credentials. Store them in the destination system or a secret manager. Rotate any credential exposed in chat or logs.

Customer status pages

Status pages are in pilot. Manage configuration, components, public incidents, and updates through api_catalog, api_describe, and api_call. Publishing requires explicit confirmation. Corrections and deletions send no email. See status-page setup and the complete operation schemas.

Status page themes

When theme access is enabled, POST /api/status-pages/:id/theme/generate accepts {"url":"https://example.com"} and returns draft css and a matched style count. Read can_edit_theme on the page response. Save edited CSS through PATCH /api/status-pages/:id with {"theme_css":":root{--status-accent:#175cd3}"}. An empty string resets the theme.

The same organization scope, feature gate, validation, and member access apply to HTTP and MCP. For MCP, use api_describe and api_call with these methods and paths. See appearance setup and limits.

Custom status page domains

Custom domains have a separate rollout. Every plan allows one custom subdomain per page when setup is available. Root domains and wildcard names are not supported. The hosted address keeps working.

Use GET or POST /api/status-pages/:id/domain to read or add setup. Use POST /api/status-pages/:id/domain/check to request a check and DELETE /api/status-pages/:id/domain to request removal. Setup and removal finish in the background. Read the setup again to see its state and DNS instructions.

These operations also use api_catalog, api_describe, and api_call through MCP. Scope and permissions match the dashboard. Disabling new setup leaves existing domains, checks, and removal usable. See domain setup.

Setup progress

The dashboard setup checklist uses existing product operations. Read GET /api/me for features.unified_onboarding. Read services, devices, users, and service alerts through /api/services, /api/devices, /api/users, and /api/alerts?service_id=SERVICE_ID&limit=50.

The cards also read sources, monitors, and status pages through /api/integrations, /api/http-monitors, /api/heartbeat-monitors, and /api/status-pages. First-service setup reads the starter schedule through /api/schedules. Schedule configuration stays with services. Monitor and status-page reads require their existing feature access.

In MCP, use api_describe and api_call for these reads and the existing service, source, monitor, status-page, invitation, and alert writes. Select the organization with org_id. Normal permissions and limits apply.

The first service and a sent alert for that service precede the setup cards. Use PUT /api/alerts/:id/ack to acknowledge an alert. Acknowledgement and resolution do not gate the checklist. Sending instructions use the service ingest URL from creation or the existing audited source reveal operation. Phone installation, notification consent, MCP client login, and banner dismissal are browser or device steps.

Preview a route or schedule

In the pilot, use api_call with GET, your org_id, and /api/services/:id/routing-preview?at=2026-11-26T15:41:00Z. Use /api/schedules/:id/routing-preview with the same time for schedule coverage. The optional schedule query parameter level defaults to 1. Both operations require read access.

Read an on-call report

Use api_describe for GET /api/reports/on-call to see the report schema. Use api_call with the same method and path and the selected org_id to read the report.

The report uses the same access and availability rules as the HTTP API. You can add from and to to the path to select a range of UTC dates.