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. All tools accept an optional bearerToken parameter for remote authentication — 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).

ParameterTypeDescription
(none)Checks cloud prerequisites and token validity.

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
project_idstringOptional. Defaults to active project.
sourcestringFilter by source: local, cloud, or all. Default: all.
statusstringFilter: open, resolved, all. Default: open.
servicestringFilter by service name.
severitystringMinimum severity: low, medium, high, critical.
limitnumberMax results. Default: 20.
offsetnumberPagination offset.

get_incident

Get full details of a specific incident.

ParameterTypeDescription
incident_idstringRequired. The incident ID.

resolve_incident

Mark an incident as resolved.

ParameterTypeDescription
incident_idstringRequired. The incident ID.
resolution_notestringOptional note describing the resolution.

reopen_incident

Reopen a previously resolved incident.

ParameterTypeDescription
incident_idstringRequired. The incident ID.

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
project_idstringOptional. Defaults to active project.

create_project_token

Create a new project token for SDK ingestion.

ParameterTypeDescription
project_idstringOptional. Defaults to active project.
labelstringRequired. Human-readable token label.

Returns the token plaintext once — store it immediately.

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
project_idstringOptional. Defaults to active project.

create_alert

Create a new alert rule.

ParameterTypeDescription
project_idstringOptional. Defaults to active project.
channelstringRequired. Alert channel: email, slack, discord, webhook.
condition_typestringRequired. Trigger: new_incident, incident_regressed, error_spike, severity_threshold, regression_after_deploy.
severity_minstringMinimum severity filter.
configobjectRequired. Channel-specific configuration.

update_alert

Update an existing alert rule.

ParameterTypeDescription
alert_idstringRequired. The alert ID.
severity_minstringUpdated severity filter.
is_enabledbooleanEnable or disable the alert.
configobjectUpdated channel configuration.

delete_alert

Delete an alert rule.

ParameterTypeDescription
alert_idstringRequired. The alert 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.

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.

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.

Billing

get_billing_summary

Get the billing summary for the organization.

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

increase_capacity

Add extra capacity units with prorated billing.

ParameterTypeDescription
targetAdditionalCapacityUnitsnumberRequired. Target number of additional capacity units.

schedule_capacity_reduction

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

ParameterTypeDescription
targetAdditionalCapacityUnitsnumberRequired. Target number of additional capacity units after reduction.

cancel_capacity_reduction

Cancel a scheduled capacity reduction.

ParameterTypeDescription
(none beyond auth)Cancels the pending reduction, keeping current capacity count.

Members

list_members

List organization members.

ParameterTypeDescription
(none beyond auth)Returns all members of the organization.

list_member_invites

List pending organization invites.

ParameterTypeDescription
(none beyond auth)Returns all pending invitations.

invite_member

Invite a new member to the organization.

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

cancel_member_invite

Cancel a pending invitation.

ParameterTypeDescription
inviteIdstringRequired. The invite ID to cancel.

update_member_role

Update the role of an organization member.

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

remove_member

Remove a member from the organization.

ParameterTypeDescription
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