DebugBundle
MCP

MCP Tools Reference

Complete catalog of DebugBundle MCP tools with parameters and examples.

This page documents every tool the DebugBundle MCP server exposes. Hosted tools can authenticate with DEBUGBUNDLE_MEMBER_TOKEN in the MCP server environment, CLI auth state from ~/.debugbundle/auth.json, or an optional per-call bearerToken parameter. bearerToken is omitted from parameter tables below for brevity.

Setup & Diagnostics

doctor

Run a full connectivity and configuration check.

ParameterTypeDescription
(none)Validates local setup, checks API reachability, verifies auth state.

Returns a diagnostic report with pass/fail status for each check.

validate

Validate your local DebugBundle configuration files.

ParameterTypeDescription
fixbooleanOptional. Recreate missing generated setup files when true.

verify_local

Verify local-mode setup (CLI installed, log directory writable, parser available).

ParameterTypeDescription
(none)Checks local-only prerequisites.

verify_cloud

Verify cloud connectivity (API reachable, token valid, project accessible) or actively prove hosted incident creation.

ParameterTypeDescription
projectIdstringRequired. Cloud project ID.
servicestringOptional service filter for passive checks and synthetic verification events.
environmentstringOptional environment filter for passive checks and synthetic verification events.
maxAgeMinutesnumberOptional lookback window for passive incident checks.
trigger5xxbooleanOptional. Send a synthetic 503 request event and verify hosted incident plus bundle visibility.
trigger4xxStatusnumberOptional. Send a synthetic 400-499 client-error request event and verify hosted incident plus bundle visibility.

trigger4xxStatus succeeds only when the target project's capture policy promotes that status. It is mutually exclusive with trigger5xx.

smoke

Run a quick smoke test that sends a test event and verifies end-to-end processing.

ParameterTypeDescription
project_idstringOptional. Target project for the test event.

Incident Retrieval

list_incidents

List incidents for the active project.

ParameterTypeDescription
sourcestringFilter by source: local, cloud, or all. Default: all.
projectIdstringOptional project filter.
environmentstringOptional environment filter.
servicestringFilter by service name.
statusstringFilter: active, open, resolved, regressed, or all. Default: active; active means open or regressed.
severitystringFilter by severity: low, medium, high, or critical.
firstSeenAfterstringOptional ISO-8601 lower bound for first_seen_at.
attentionAfterstringOptional ISO-8601 lower bound for incidents opened or regressed after this time.
cursorstringOptional pagination cursor.
limitnumberMax results. Default: 20.

get_incident

Get full details of a specific incident.

ParameterTypeDescription
incident_idstringRequired. The incident ID.

resolve_incident

Mark an incident as resolved.

ParameterTypeDescription
incidentIdstringRequired. The incident ID.

resolve_incidents

Mark incidents as resolved in bulk.

ParameterTypeDescription
incidentIdsstring[]Required. Incident IDs to resolve.

reopen_incident

Reopen a previously resolved incident.

ParameterTypeDescription
incidentIdstringRequired. The incident ID.

reopen_incidents

Reopen incidents in bulk.

ParameterTypeDescription
incidentIdsstring[]Required. Incident IDs to reopen.

get_bundle

Retrieve the debug bundle for an incident.

ParameterTypeDescription
incident_idstringRequired. The incident ID.
formatstringOutput format: json (default) or summary.

get_reproduction

Get the reproduction artifact for an incident.

ParameterTypeDescription
incident_idstringRequired. The incident ID.

Returns reproduction commands (cURL, HTTPie) and JSON specifications when available.

get_logs

Retrieve raw log entries associated with an incident.

ParameterTypeDescription
incident_idstringRequired. The incident ID.
limitnumberMax log entries. Default: 100.

Token Management

list_project_tokens

List project tokens (SDK/ingestion tokens).

ParameterTypeDescription
projectIdstringRequired. Project that owns the tokens.
limitnumberOptional maximum number of tokens to return.

create_project_token

Create a new project token for SDK ingestion.

ParameterTypeDescription
projectIdstringRequired. Project that owns the token.
labelstringRequired. Human-readable token label.
allowedOriginsstring[]Optional origin allowlist for direct/static browser ingestion.

Returns the token plaintext once — store it immediately. Use allowedOrigins only for public write-only project tokens intentionally embedded in static browser apps. Allowlisted tokens reject requests without a matching Origin, so do not reuse them for server SDKs or relay forwarding. This reduces normal browser-origin abuse but is not a secret boundary.

revoke_project_token

Revoke a project token.

ParameterTypeDescription
token_idstringRequired. The token ID to revoke.

list_member_tokens

List member tokens (CLI/API/MCP tokens).

ParameterTypeDescription

create_member_token

Create a new member token.

ParameterTypeDescription
labelstringRequired. Human-readable token label.

Returns the token plaintext once — store it immediately.

revoke_member_token

Revoke a member token.

ParameterTypeDescription
token_idstringRequired. The token ID to revoke.

Webhook Management

list_webhooks

List configured webhook endpoints.

ParameterTypeDescription
project_idstringOptional. Defaults to active project.

create_webhook

Create a new webhook endpoint.

ParameterTypeDescription
project_idstringOptional. Defaults to active project.
urlstringRequired. The webhook delivery URL.
eventsstring[]Event types to subscribe to. Default: all events.
secretstringOptional signing secret for HMAC verification.

update_webhook

Update an existing webhook.

ParameterTypeDescription
webhook_idstringRequired. The webhook ID.
urlstringNew delivery URL.
eventsstring[]Updated event subscriptions.
is_activebooleanEnable or disable the webhook.

delete_webhook

Delete a webhook endpoint.

ParameterTypeDescription
webhook_idstringRequired. The webhook ID.

test_webhook

Send a test delivery to a webhook endpoint.

ParameterTypeDescription
webhook_idstringRequired. The webhook ID.

list_webhook_deliveries

List recent deliveries for a webhook.

ParameterTypeDescription
webhook_idstringRequired. The webhook ID.
limitnumberMax results. Default: 20.

retry_webhook_delivery

Retry a failed webhook delivery.

ParameterTypeDescription
delivery_idstringRequired. The delivery ID.

Alert Management

list_alerts

List configured alert rules.

ParameterTypeDescription
projectIdstringRequired. Project that owns the alert rules.
limitnumberOptional maximum number of alerts to return.

create_alert

Create a new alert rule.

ParameterTypeDescription
projectIdstringRequired. Project that owns the alert rule.
serviceIdstringOptional service scope.
channelstringRequired. Alert channel: email, slack, discord, webhook.
conditionTypestringRequired. Trigger: new_incident, incident_regressed, error_spike, severity_threshold, regression_after_deploy.
severityMinstringMinimum severity filter.
cooldownSecondsnumberOptional notification cooldown in seconds. Defaults to 0, accepts 0 to disable suppression, max 604800 (7 days).
configobjectRequired. Channel-specific configuration.
isEnabledbooleanOptional enabled state. Defaults to true.

severityMin: "high" does not match low-confidence opaque browser-native captures by default: opaque window_error infers low, and opaque resource_error infers medium.

update_alert

Update an existing alert rule.

ParameterTypeDescription
projectIdstringRequired. Project that owns the alert rule.
alertIdstringRequired. The alert ID.
serviceIdstring | nullUpdate or clear service scope.
channelstringUpdated channel type.
conditionTypestringUpdated trigger condition.
severityMinstring | nullUpdated or cleared severity filter.
cooldownSecondsnumberUpdated notification cooldown in seconds. Use 0 to disable suppression.
isEnabledbooleanEnable or disable the alert.
configobjectUpdated channel configuration.

delete_alert

Delete an alert rule.

ParameterTypeDescription
alert_idstringRequired. The alert ID.

Slack Destinations

list_slack_destinations

List connected Slack destinations for a project organization.

Saved destinations remain readable after a downgrade to Free so agents can inspect the paused setup before the owner upgrades again.

ParameterTypeDescription
projectIdstringRequired. Project whose organization owns the destinations.

get_slack_connect_url

Return a browser URL for Slack OAuth and channel selection.

ParameterTypeDescription
projectIdstringRequired. Project to return to after connection.
returnTostringOptional app-relative return path.

test_slack_destination

Send a test message to a connected Slack destination.

ParameterTypeDescription
projectIdstringRequired. Project whose organization owns the destination.
destinationIdstringRequired. Slack destination ID.

delete_slack_destination

Delete a connected Slack destination when no alert rule or weekly report still references it. This cleanup action remains available after downgrade.

ParameterTypeDescription
projectIdstringRequired. Project whose organization owns the destination.
destinationIdstringRequired. Slack destination ID.

Weekly Reports

list_weekly_reports

List available weekly reports.

ParameterTypeDescription
project_idstringOptional. Defaults to active project.
limitnumberMax results. Default: 10.

get_weekly_report

Get a specific weekly report with full analysis.

ParameterTypeDescription
report_idstringRequired. The report ID.

generate_weekly_report

Trigger generation of a new weekly report.

ParameterTypeDescription
project_idstringOptional. Defaults to active project.

configure_weekly_reports

Configure weekly report settings.

ParameterTypeDescription
project_idstringOptional. Defaults to active project.
is_enabledbooleanEnable or disable weekly reports.
recipientsstring[]Email addresses to receive reports.

Services

list_services

List all services discovered from ingested events.

ParameterTypeDescription
project_idstringOptional. Defaults to active project.

Projects

list_projects

List projects in the organization.

ParameterTypeDescription
limitnumberMax results to return.

create_project

Create a new project.

ParameterTypeDescription
namestringRequired. Human-readable project name.
slugstringRequired. URL-friendly identifier (lowercase, hyphens).
environmentDefaultstringEditable project default environment used in setup snippets and project metadata (for example production).

update_project

Update an existing project.

ParameterTypeDescription
projectIdstringRequired. The project ID.
namestringNew project name.
slugstringNew URL-friendly identifier.
environmentDefaultstringNew editable project default environment.

delete_project

Delete a project and all associated data.

ParameterTypeDescription
projectIdstringRequired. The project ID.

Health Checks

list_health_checks

List hosted health checks for a project, including current plan limits.

ParameterTypeDescription
projectIdstringRequired. Project that owns the hosted health checks.
limitnumberOptional maximum number of checks to return.

get_health_check

Get one hosted health check by id.

ParameterTypeDescription
projectIdstringRequired. Project that owns the check.
checkIdstringRequired. Health check ID.

create_health_check

Create a hosted health check for a public HTTP endpoint.

ParameterTypeDescription
projectIdstringRequired. Project that owns the check.
namestringRequired. Human-readable check name.
urlstringRequired. External http or https URL.
intervalSecondsnumberRequired. Execution interval in seconds, subject to plan minimums.
methodstringOptional GET or HEAD. Defaults to GET.
expectedStatusMinnumberOptional lowest successful status. Defaults to 200.
expectedStatusMaxnumberOptional highest successful status. Defaults to 399.
timeoutMsnumberOptional request timeout in milliseconds.
failureThresholdnumberOptional consecutive failures required to open or regress an incident.
recoveryThresholdnumberOptional consecutive successes required to recover.
environmentstringOptional environment label.
serviceNamestring | nullOptional service label; pass null to clear on update.
enabledbooleanOptional enabled state. Disabled checks remain visible but do not execute.

update_health_check

Update a hosted health check. Use this to change thresholds, status expectations, labels, or enabled state.

ParameterTypeDescription
projectIdstringRequired. Project that owns the check.
checkIdstringRequired. Health check ID.
namestringOptional new name.
urlstringOptional new target URL.
intervalSecondsnumberOptional execution interval in seconds.
methodstringOptional GET or HEAD.
expectedStatusMinnumberOptional lowest successful status.
expectedStatusMaxnumberOptional highest successful status.
timeoutMsnumberOptional request timeout in milliseconds.
failureThresholdnumberOptional consecutive failures required to open or regress an incident.
recoveryThresholdnumberOptional consecutive successes required to recover.
environmentstringOptional environment label.
serviceNamestring | nullOptional service label; pass null to clear.
enabledbooleanOptional enabled state.

delete_health_check

Delete a hosted health check.

ParameterTypeDescription
projectIdstringRequired. Project that owns the check.
checkIdstringRequired. Health check ID.

test_health_check

Run a side-effect-free target test using the same validation and guarded request execution as saved checks. This does not create incidents, retained result rows, or rollups.

ParameterTypeDescription
projectIdstringRequired. Project used for authorization and plan context.
urlstringRequired. External http or https URL to test.
methodstringOptional GET or HEAD. Defaults to GET.
expectedStatusMinnumberOptional lowest successful status.
expectedStatusMaxnumberOptional highest successful status.
timeoutMsnumberOptional request timeout in milliseconds.

list_health_check_results

List recent execution results for one hosted health check.

ParameterTypeDescription
projectIdstringRequired. Project that owns the check.
checkIdstringRequired. Health check ID.
limitnumberOptional maximum number of results to return.

list_health_check_daily_rollups

List retained per-day status history for one hosted health check.

ParameterTypeDescription
projectIdstringRequired. Project that owns the check.
checkIdstringRequired. Health check ID.
limitnumberOptional maximum number of rollups to return.

Probes

activate_probe

Activate a remote debug probe on a project.

ParameterTypeDescription
projectIdstringRequired. The project ID.
labelPatternstringRequired. Glob pattern matching incident labels (e.g., auth.*).
servicestringScope to a specific service name.
environmentstringScope to a specific environment.
ttlSecondsnumberProbe lifetime in seconds. Default: 3600. Max: 86400.
triggerTtlSecondsnumberTrigger token validity in seconds. Default: 300.

Returns the probe object including a one-time trigger_token.

list_active_probes

List active probes for a project.

Saved remote probe activations remain readable after a downgrade to Free so agents can inspect the paused setup before the owner upgrades again.

Probe deactivation remains available as cleanup after downgrade; new remote activation requires the project to return to Solo or Team.

ParameterTypeDescription
projectIdstringRequired. The project ID.

deactivate_probe

Deactivate a probe.

ParameterTypeDescription
projectIdstringRequired. The project ID.
activationIdstringRequired. The probe activation ID.

Capture Policy

get_capture_policy

Get the resolved capture policy for a project.

ParameterTypeDescription
projectIdstringRequired. The project ID.

update_capture_policy

Update the capture policy for a project.

ParameterTypeDescription
projectIdstringRequired. The project ID.
updateobjectRequired. Policy update with optional fields: preset, capture_logs, capture_request_events, capture_breadcrumbs, capture_probe_events, immediate_client_error_statuses, and immediate_client_error_path_rules. Path rules use status_code, path_pattern, and optional methods to promote only matching 4xx combinations, such as 404 under /checkout/*.

Capture Rules

list_capture_rules

List project capture rules.

ParameterTypeDescription
projectIdstringRequired. The project ID.

create_capture_rule

Create a project capture rule.

ParameterTypeDescription
projectIdstringRequired. The project ID.
ruleobjectRequired. Rule payload with action, matcher, and optional sample fields.

update_capture_rule

Update a project capture rule.

ParameterTypeDescription
projectIdstringRequired. The project ID.
ruleIdstringRequired. The capture rule ID.
updateobjectRequired. Partial rule update.

delete_capture_rule

Delete a project capture rule.

ParameterTypeDescription
projectIdstringRequired. The project ID.
ruleIdstringRequired. The capture rule ID.

suggest_capture_rules_from_incident

Suggest capture rules from an incident bundle without changing project state.

ParameterTypeDescription
incidentIdstringRequired. The incident ID.

create_capture_rule_from_incident_suggestion

Create a project capture rule from one of the incident suggestions.

ParameterTypeDescription
incidentIdstringRequired. The incident ID.
suggestionIdstringRequired. The suggestion ID returned by suggest_capture_rules_from_incident.
namestringOptional override for the rule name.
descriptionstringOptional override for the rule description.
enabledbooleanOptional initial enabled state.
expiresAtstringOptional ISO timestamp for automatic expiry.

Billing

get_billing_summary

Get the billing summary for the organization.

ParameterTypeDescription
(none beyond auth)Returns plan, billing state, trial state, active-project counts, capacity units, and scheduled reduction info.

start_trial

Start an eligible no-card trial for the organization.

ParameterTypeDescription
targetPlanstringRequired. solo or team.

increase_capacity

Add extra capacity units with prorated billing.

ParameterTypeDescription
targetAdditionalCapacityUnitsnumberRequired. Target number of additional capacity units. Active no-card trials receive trial_conversion_required.

schedule_capacity_reduction

Schedule a capacity reduction at the end of the billing cycle.

ParameterTypeDescription
targetAdditionalCapacityUnitsnumberRequired. Target number of additional capacity units after reduction. Active no-card trials receive trial_conversion_required.

cancel_capacity_reduction

Cancel a scheduled capacity reduction.

ParameterTypeDescription
(none beyond auth)Cancels the pending reduction, keeping current capacity count. Active no-card trials receive trial_conversion_required.

Members

list_project_members

List members for a project.

ParameterTypeDescription
projectIdstringRequired. The project ID.

list_project_member_invites

List pending invites for a project.

ParameterTypeDescription
projectIdstringRequired. The project ID.

invite_project_member

Invite a collaborator to a project.

ParameterTypeDescription
projectIdstringRequired. The project ID.
emailstringRequired. Email address for the invitation.
rolestringRequired. Member role (e.g., admin, member).

cancel_project_member_invite

Cancel a pending invitation.

ParameterTypeDescription
projectIdstringRequired. The project ID.
inviteIdstringRequired. The invite ID to cancel.

update_project_member_role

Update the role of a project member.

ParameterTypeDescription
projectIdstringRequired. The project ID.
userIdstringRequired. The user ID.
rolestringRequired. The new role.

remove_project_member

Remove a member from a project.

ParameterTypeDescription
projectIdstringRequired. The project ID.
userIdstringRequired. The user ID to remove.

Analysis

analyze

Run deep analysis on an incident, combining bundle data, logs, and reproduction artifacts.

ParameterTypeDescription
incident_idstringRequired. The incident ID.

Returns a structured analysis including root cause hypothesis, affected components, severity assessment, and suggested fixes.

Next Steps

On this page

Setup & Diagnosticsdoctorvalidateverify_localverify_cloudsmokeIncident Retrievallist_incidentsget_incidentresolve_incidentresolve_incidentsreopen_incidentreopen_incidentsget_bundleget_reproductionget_logsToken Managementlist_project_tokenscreate_project_tokenrevoke_project_tokenlist_member_tokenscreate_member_tokenrevoke_member_tokenWebhook Managementlist_webhookscreate_webhookupdate_webhookdelete_webhooktest_webhooklist_webhook_deliveriesretry_webhook_deliveryAlert Managementlist_alertscreate_alertupdate_alertdelete_alertSlack Destinationslist_slack_destinationsget_slack_connect_urltest_slack_destinationdelete_slack_destinationWeekly Reportslist_weekly_reportsget_weekly_reportgenerate_weekly_reportconfigure_weekly_reportsServiceslist_servicesProjectslist_projectscreate_projectupdate_projectdelete_projectHealth Checkslist_health_checksget_health_checkcreate_health_checkupdate_health_checkdelete_health_checktest_health_checklist_health_check_resultslist_health_check_daily_rollupsProbesactivate_probelist_active_probesdeactivate_probeCapture Policyget_capture_policyupdate_capture_policyCapture Ruleslist_capture_rulescreate_capture_ruleupdate_capture_ruledelete_capture_rulesuggest_capture_rules_from_incidentcreate_capture_rule_from_incident_suggestionBillingget_billing_summarystart_trialincrease_capacityschedule_capacity_reductioncancel_capacity_reductionMemberslist_project_memberslist_project_member_invitesinvite_project_membercancel_project_member_inviteupdate_project_member_roleremove_project_memberAnalysisanalyzeNext Steps