Denpex MCP Server
Diagnose GPU and ML training failures (CUDA OOM, NCCL timeouts, Xid faults) locally or via cloud.
Denpex scores 66 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 15 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 979 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
94/100 for listing completeness. Lost points: 1 of 15 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "denpex-denpex-mcp": { "command": "npx", "args": [ "-y", "denpex-mcp@0.2.47" ], "env": { "DENPEX_API_KEY": "YOUR_DENPEX_API_KEY", "DENPEX_OFFLINE_ONLY": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
DENPEX_API_KEYSecret | Optional | Optional Denpex API key (dpx_...). Omit for offline zero-egress mode. |
DENPEX_OFFLINE_ONLY | Optional | Set to 1 to enforce strict zero-egress offline diagnosis. |
Tools15Tool docs quality grade C
All capabilitiesanalyze_cascadetoolFind the culprit rank in a distributed hang; route Xid faults.
ask_followuptoolConversational follow-up on a diagnosis.
check_quotatoolYour plan and remaining diagnoses this month.
check_versionstoolFlag known-bad CUDA/PyTorch/NCCL/driver combos.
compare_runstool"It worked yesterday", isolate what changed between a good run and a bad one.
diagnose_crashtoolRoot cause + escalating fix from logs / file / dir. Also accepts telemetry (dmesg / nvidia-smi / ibstat), codeContext, topologyMap, typed operatorAnswers, and (after an anonymous MCP restart) the prior refinementToken.
Diff torch/CUDA/NCCL/driver versions and env vars between two runs.
list_incidentstoolIncidents Denpex's monitor caught & escalated on your fleet.
lookup_failuretoolSearch the bundled encyclopedia (500+ classes) by code/keyword/symptom.
node_healthtoolScore every monitored node, worst first.
predict_failurestoolNodes trending toward a failure that has not happened yet.
preflight_checktool"Is this cluster safe to launch on?", blockers before you burn GPU-hours.
About
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)
Sign in at denpex.com/dashboard → API Keys and create a key (dpx_…).
The key unlocks authenticated cloud diagnosis, your diagnosis history, quota, and fleet
incidents. Without a key, diagnose_crash and ask_followup default to running the
canonical deterministic engine entirely locally (unlimited free local runs). You can escalate
a specific diagnosis to the Denpex cloud without a key by passing cloud: true, which uses
the frictionless anonymous engine (requires an API key or browser check if anonymous quota
is exhausted). Set DENPEX_LOCAL=1 explicitly for permanent zero-egress.
2. Add it to your client
Edit claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"denpex": {
"command": "npx",
"args": ["-y", "denpex-mcp"],
"env": { "DENPEX_API_KEY": "dpx_your_key_here" }
}
}
}
Restart Claude Desktop.
Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):
{
"mcpServers": {
"denpex": {
"command": "npx",
"args": ["-y", "denpex-mcp"],
"env": { "DENPEX_API_KEY": "dpx_your_key_here" }
}
}
}
claude mcp add denpex -e DENPEX_API_KEY=dpx_your_key_here -- npx -y denpex-mcp
3. Use it
"My training job crashed, diagnose the log at
./logs/rank0.err." "What does Xid 79 mean?" "This 64-GPU run is hung. Which rank failed first?" (→analyze_cascade)
Or pick the diagnose-training-crash prompt your client surfaces.
Offline / air-gapped mode
Diagnose entirely on-host, no network, no logs leaving the cluster. Ideal for VPCs,
secure data centers, and privacy-sensitive labs. Add DENPEX_LOCAL=1:
{ "mcpServers": { "denpex": {
"command": "npx", "args": ["-y", "denpex-mcp"],
"env": { "DENPEX_LOCAL": "1" }
} } }
The package bundles the same canonical deterministic diagnosis pipeline used by the hosted wrapper: 10,700+ patterns, causal detectors and contradiction gates, Xid routing, cross-rank cascade localization, and the 500+ class encyclopedia. It returns the initiating rank/node when the evidence identifies one. Only the hosted LLM fallback and live-research enrichment are unavailable offline.
Tools
| Tool | What it does | Needs |
|---|---|---|
diagnose_crash | Root cause + escalating fix from logs / file / dir. Also accepts telemetry (dmesg / nvidia-smi / ibstat), codeContext, topologyMap, typed operatorAnswers, and (after an anonymous MCP restart) the prior refinementToken. | local-first by default without a key; cloud with key or cloud: true |
lookup_failure | Search the bundled encyclopedia (500+ classes) by code/keyword/symptom. | works offline |
analyze_cascade | Find the culprit rank in a distributed hang; route Xid faults. | works offline |
submit_fix_outcome | Report whether a fix worked. This is what makes the next diagnosis better. | API key |
check_quota | Your plan and remaining diagnoses this month. | API key |
recent_diagnoses | Recall your recent diagnoses and their fixes. | API key |
ask_followup | Conversational follow-up on a diagnosis. | local text-extraction without a key; generative chat with Team plan / trial |
check_versions | Flag known-bad CUDA/PyTorch/NCCL/driver combos. | Team plan / trial |
compare_runs | "It worked yesterday", isolate what changed between a good run and a bad one. | Team plan / trial |
diff_environments | Diff torch/CUDA/NCCL/driver versions and env vars between two runs. | Team plan / trial |
validate_checkpoint | Find the newest checkpoint that is actually safe to resume from. | Team plan / trial |
preflight_check | "Is this cluster safe to launch on?", blockers before you burn GPU-hours. | Scale plan |
node_health | Score every monitored node, worst first. | Scale plan |
predict_failures | Nodes trending toward a failure that has not happened yet. | Scale plan |
list_incidents | Incidents Denpex's monitor caught & escalated on your fleet. | Scale plan |
Gated tools degrade gracefully, they tell you exactly which plan unlocks them and which
tools work on your current plan. The failure encyclopedia is also exposed as resources at
denpex://failures/{slug}.
Structured output. Every tool above returns structuredContent alongside its
markdown, validated against a declared output schema, so an agent branches on
confidenceBand === "low" or iterates rankedHypotheses instead of regexing prose.
Two fields deserve attention when you write the agent loop:
confidence: nulldoes not mean zero. It means the engine measured this band's historical accuracy and declined to state a number. Treat the verdict as a lead. Do not substitute the raw score.unfalsified: trueidentifies only the explicitly enabled reduced compatibility fallback, where the canonical contradiction graph did not run. Normal cloud andDENPEX_LOCAL=1diagnosis both use the canonical engine and set it to false.
Environment variables
| Variable | Default | Purpose |
|---|---|---|
DENPEX_API_KEY | , | Your dpx_… key. Enables cloud tools. |
DENPEX_API_URL | https://api.denpex.com | Override the API base (self-host / staging). |
DENPEX_LOCAL | 0 | 1 → diagnose entirely on-host (zero egress). |
DENPEX_PRIVACY | off | mask / strict → scrub PII from logs before they leave the machine. |
Develop
npm install
npm run build # regenerates the canonical engine + corpus, then bundles dist/index.js
npm test # 111 unit + protocol-integration tests
npm run inspector # interactive protocol inspector (MCP Inspector)
The offline corpus (src/data/denpex_patterns.json) and canonical engine
(src/offline/canonical-engine.mjs) are generated from the repo's single source of truth
during npm run build, never hand-edit either artifact.
Official Denpex Ecosystem & Documentation
| Resource | Description | Link |
|---|---|---|
| Denpex Platform | Deterministic GPU and ML training failure diagnostics | denpex.com |
| Documentation Hub | Quickstart guides, architecture, and operational reference | denpex.com/docs |
| Python Agent & CLI | On-host monitoring, evidence capture, and zero-egress CLI | denpex.com/docs/agent |
| REST API Reference | Programmatic /api/diagnose and preflight endpoints | denpex.com/docs/api |
| VS Code Extension | Offline GPU crash diagnostics in VS Code | denpex.com/vscode |
| Open VSX Extension | Extension for Cursor, Windsurf, VSCodium, and Gitpod | denpex.com/openvsx |
| Failure Encyclopedia | 500+ documented CUDA, NCCL, Xid, Slurm, and vLLM failures | denpex.com/failures |
| Free GPU Tools | VRAM, NCCL, DeepSpeed ZeRO, and Slurm calculators | denpex.com/tools |
| NVIDIA Xid Reference | Hardware vs software Xid fault routing table | denpex.com/xid |
| Release Changelog | Platform, agent, SDK, and extension release notes | denpex.com/changelog |
Free Web Calculators & Xid Reference
- 63-Model GQA/MLA LLM VRAM Calculator: denpex.com/tools/vram-calculator
- GRPO / RLHF VRAM Calculator (verl / vLLM): denpex.com/tools/grpo-rl-vram-calculator
- Zero-Upload Browser GPU Log Analyzer: denpex.com/tools/gpu-log-analyzer
- NVIDIA Xid Error Directory: denpex.com/xid
Frequently asked questions
What is Denpex MCP Server?
Diagnose GPU and ML training failures (CUDA OOM, NCCL timeouts, Xid faults) locally or via cloud.
How do I install Denpex MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Denpex MCP Server runs locally from the npm package denpex-mcp with the command npx -y denpex-mcp@0.2.47.
Is Denpex MCP Server free and open source?
Yes. Denpex MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Denpex MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Denpex MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Denpex MCP Server provide?
Denpex MCP Server provides 15 tools, including analyze_cascade, ask_followup, check_quota, and check_versions. See the full tool list for descriptions and parameters.
How is Denpex MCP Server's trust score calculated?
Denpex MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.