DebugBundle
MCP

OpenAI Plugin

DebugBundle plugin for ChatGPT and Codex, combining a production-debugging skill with a read-only remote MCP connection.

DebugBundle OpenAI Plugin 1.1.0 is a local candidate for ChatGPT and Codex. Its production OAuth-protected MCP endpoint is active at the permanent origin https://mcp.debugbundle.com; the original twenty-three tools have connected Developer Mode evidence from 1.0.0. The two new saved-report readers require a deployed candidate, separate report consent and a fresh connection scan; those provider checks have not yet been performed. The plugin is not submitted, approved, published, or publicly installable yet.

The existing @debugbundle/mcp stdio package remains a separate, fully compatible product surface. The OpenAI candidate does not replace local CLI authentication, access tokens, OpenClaw, installed projects, or existing APIs.

For coding-agent workflows available through the existing local MCP server, see Codex developer setup. That connection has its own authentication and includes management tools; it is not limited to this read-only hosted catalog.

What v1 can do

When the plugin and CLI are both available in a coding-agent environment, the skill uses the local debugbundle CLI first for supported reads and authorized changes. Explicit interface choices and MCP-only clients remain supported. It inspects non-secret connection metadata, confirms the intended project and current records through scoped cloud reads, performs only an explicitly authorized operation, and reads back the result. Existing authorization carries across the tool handoff. The CLI uses its own saved access-token authentication; the plugin neither installs it nor grants additional permissions. An environment without shell access cannot use this local path.

The MCP connection remains read-only. CLI availability never overrides a read-only request, access denial, or project boundary. Personal plugin reinstalls take effect in a new thread and do not constitute public directory publication.

The local candidate exposes twenty-five read-only tools:

AreaTools
Projectslist_projects, list_services
Incidentslist_incidents, get_incident, get_incident_context
Existing artifactsget_bundle, get_reproduction
Runtime improvementslist_improvements, get_improvement, get_improvement_bundle
Aggregate analyticsget_usage_summary, get_route_metrics, get_journey_patterns, get_device_breakdown, get_referrer_metrics, get_action_metrics, list_funnel_metrics, get_funnel_analysis, get_incident_impact
Endpoint healthlist_health_checks, get_health_check, list_health_check_results, list_health_check_daily_rollups

| Saved reports | list_reports, get_report_content |

Every tool is annotated readOnlyHint: true, openWorldHint: false, and destructiveHint: false. Unknown input fields are rejected. Hosted readers return only already-stored evidence and never regenerate artifacts, enqueue work, or mutate customer state.

get_incident_context requires both incident-read and artifact-read scope. It returns bounded structured context without raw logs. Health-check URLs remove user information, query strings, fragments, and secret-like path material before output.

Request budgets and unavailable evidence

Prefer sequential reads and retrieve detailed evidence only for selected records. The connection permits at most two concurrent calls per grant, 60 requests per minute per user/grant including handshakes, and 20 artifact-tool calls per minute. Global capacity is shared. Brief overlap can wait for up to one second in a bounded queue. On HTTP 429 or 503, honor Retry-After, reduce concurrency, and stop repeated retries. MCP initialization advertises these instructions; server enforcement remains authoritative.

An unavailable artifact does not necessarily mean generation failed. A missing object returns missing; incident-derived improvements explain that their related incident bundles hold the evidence. Disabled generation and exhausted allowances have distinct messages. A recorded build error or unreadable artifact returns failed with an explanation. Reads never regenerate artifacts or repair stored data.

The OpenAI reproduction projection omits stored cURL/HTTPie strings because they can embed excluded headers and request bodies. Feasibility and reasons remain available. Legacy UNKNOWN methods and example.invalid targets are not presented as usable replay.

The remote connection uses DebugBundle OAuth/OIDC with PKCE S256. A linked grant is limited to these scopes:

  • openid
  • email
  • debugbundle:projects:read
  • debugbundle:incidents:read
  • debugbundle:artifacts:read
  • debugbundle:improvements:read
  • debugbundle:analytics:read
  • debugbundle:health:read
  • debugbundle:reports:read (new explicit saved-report consent)

The email identity claim is obtained only from verified UserInfo and supports account/workspace policy; it is not included in access tokens, tool results, or operational logs. A user must explicitly consent before the remote connection receives a grant and can later revoke it in DebugBundle.

The consent interface is implemented with the DebugBundle design system. It shows the verified identity purpose, all requested product scopes, the data-transfer categories, and the read-only boundary. A user may remove any product scope before allowing access and may later revoke the connection in Settings. Outside-network reviewer validation and OpenAI submission remain separate manual gates.

Data and privacy boundaries

The candidate may return authorized project/service metadata, incident lifecycle metadata, existing redacted bundles and reproductions, stored runtime-improvement evidence, bounded aggregate product analytics, sanitized endpoint-health configuration, bounded health results, saved canonical reports with whole-scope permission, and navigation/control metadata.

It excludes raw logs, individual analytics journeys and sample IDs, raw analytics events, custom dimensions, credentials, request authorization data, object-storage keys or signed URLs, database-only IDs, internal hashes, local files, and mutation controls. Customer-provided strings remain untrusted evidence and are never instructions to execute commands, make network requests, or change state.

OAuth provider artifacts are encrypted at rest and physically deleted after their bounded expiry windows. Used authorization codes are retained for replay detection for at most 24 hours; used or revoked refresh-token families for at most 30 days; and expired or revoked grants for at most 90 days. Active grants remain until expiry, revocation, account suspension/deletion, or loss of required membership.

See the security documentation, privacy policy, and terms for the broader hosted-service model.

Candidate and release gates

Repository validation proves package structure, schemas, deterministic artifacts, tests, and source/runtime composition. Separate live evidence records the production deployment, Developer Mode registration, owner OAuth connection, MCP authentication challenge, selected client cases, and rollback rehearsal. None of that proves OpenAI review, publication, or directory discovery.

Before submission, the exact production endpoint must pass MCP Inspector, authentication, tenant-isolation, load/capacity, rollback, privacy, reviewer, and retained evaluation checks. Submission, Cancel Review, publication, directory edits, launch communication, and new recurring spend always require separate owner approval and manual action.

Support

Browser and improvement evidence

Frontend incident evidence can include an optional primary_signal.browser_context with a sanitized source file and line/column, resource host/path/type, page state, and an evidence status. browser_details_withheld means the browser muted a cross-origin script error; context_missing means the stored event lacks those details. Resource failures are identified separately from application stacks. The route can come from already-captured frontend context when there is no HTTP request context. Raw DOM, page text, URL query, arbitrary breadcrumbs and stack strings remain excluded.

Improvement generation failures remain distinguishable from an artifact that has not been generated or an improvement covered by its related incident bundles. Reading evidence does not regenerate artifacts. Detection timestamps describe captured qualifying occurrences; a bundle's generation timestamp does not advance with every application log line.

Saved reports

Use list_reports to choose a saved run, then get_report_content to read its canonical facts, recorded resolutions, priorities and coverage. Current access to every included project is required. The tools never generate reports, prepare PDFs, send email or change settings. Source and generated prose remain untrusted data. Existing grants do not acquire report access automatically; reconnect and explicitly allow the requested report scope once the new runtime is released.

On this page