New advertisers: 50% off your first month with code FIRSTMONTHSee slots
denpex avatar

Denpex

denpex/denpex-mcp

Diagnoses GPU and ML training failures from local logs, with optional cloud escalation and fleet tools.

tools
15
auth
Secret needed
transport
STDIO
env vars
2
last updated
Nov 21, 2026
View on GitHub

What it does

  • Reads crash evidence with diagnose_crash, lookup_failure, and analyze_cascade, which finds the culprit rank in NCCL hangs and routes Xid faults
  • Tracks outcomes and history with submit_fix_outcome, recent_diagnoses, and check_quota; cloud-backed use requires a dpx_ API key from the Denpex dashboard
  • Runs fully on-host with DENPEX_LOCAL=1 for zero egress; check_versions and validate_checkpoint need a Team plan or trial
  • Designed for ML engineers debugging failed runs, and for Scale-plan teams monitoring fleet health with node_health and predict_failures

Tools

15 tools

Public tool metadata for what this MCP can expose to an agent.

diagnose_crashRoot cause + escalating fix from logs / file / dir.

Root cause + escalating fix from logs / file / dir.

No parameter schema in public metadata yet.

lookup_failureSearch the bundled encyclopedia (500+ classes) by code/keyword/symptom.

Search the bundled encyclopedia (500+ classes) by code/keyword/symptom.

No parameter schema in public metadata yet.

analyze_cascadeFind the culprit rank in a distributed hang; route Xid faults.

Find the culprit rank in a distributed hang; route Xid faults.

No parameter schema in public metadata yet.

submit_fix_outcomeReport whether a fix worked.

Report whether a fix worked.

No parameter schema in public metadata yet.

check_quotaYour plan and remaining diagnoses this month.

Your plan and remaining diagnoses this month.

No parameter schema in public metadata yet.

recent_diagnosesRecall your recent diagnoses and their fixes.

Recall your recent diagnoses and their fixes.

No parameter schema in public metadata yet.

ask_followupConversational follow-up on a diagnosis.

Conversational follow-up on a diagnosis.

No parameter schema in public metadata yet.

check_versionsFlag known-bad CUDA/PyTorch/NCCL/driver combos.

Flag known-bad CUDA/PyTorch/NCCL/driver combos.

No parameter schema in public metadata yet.

compare_runsIsolate what changed between a good run and a bad one.

Isolate what changed between a good run and a bad one.

No parameter schema in public metadata yet.

diff_environmentsDiff torch/CUDA/NCCL/driver versions and env vars between two runs.

Diff torch/CUDA/NCCL/driver versions and env vars between two runs.

No parameter schema in public metadata yet.

validate_checkpointFind the newest checkpoint that is actually safe to resume from.

Find the newest checkpoint that is actually safe to resume from.

No parameter schema in public metadata yet.

preflight_checkBlockers to check before launching on a cluster.

Blockers to check before launching on a cluster.

No parameter schema in public metadata yet.

node_healthScore every monitored node, worst first.

Score every monitored node, worst first.

No parameter schema in public metadata yet.

predict_failuresNodes trending toward a failure that has not happened yet.

Nodes trending toward a failure that has not happened yet.

No parameter schema in public metadata yet.

list_incidentsIncidents Denpex's monitor caught & escalated on your fleet.

Incidents Denpex's monitor caught & escalated on your fleet.

No parameter schema in public metadata yet.

Configuration

DENPEX_API_KEYsecret

Optional Denpex API key (dpx_...). Omit for offline zero-egress mode.

DENPEX_OFFLINE_ONLY

Set to 1 to enforce strict zero-egress offline diagnosis.

Readme

Denpex MCP server

Log files up to 100 MB are read in bounded chunks and reduced to diagnostic evidence before cloud submission. Binary files and invalid UTF-8 are rejected. Keep the original log: evidence selection can omit context.

Diagnose GPU/ML training failures. CUDA OOM, NCCL timeouts, Xid faults, NaN loss, checkpoint corruption, without leaving your AI tool. Ask Claude Desktop, Cursor, or Claude Code to "diagnose the crash in ./logs/train.err" and Denpex reads the log straight off disk and hands back the root cause and the fix.

  • 🩺 Root cause + escalating fix (primary β†’ fallback β†’ emergency), verification command, and prevention.
  • 🧭 Find the culprit rank in a distributed/NCCL hang, and route GPU Xid faults to the right node action, offline, instantly.
  • πŸ“š Bundled failure encyclopedia (500+ documented classes) searchable by error code or symptom.
  • πŸ”’ Zero-egress mode (DENPEX_LOCAL=1): diagnose entirely on-host, nothing leaves the machine. Plus client-side PII scrubbing even in cloud mode.

Quick start (60 seconds)

1. Get an API key (optional but recommended)


View the full README on GitHub

Details

Repository
github.com/denpex/denpex-mcp
Website
denpex.com/docs/integrations
Categories
Monitoring & Observability, AI Agents & LLM Apps
Package
denpex-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active