# dea

Gives a coding agent syscall traces, CPU profiles, thread stacks and open sockets from a live process, without breakpoints or a restart.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 13
- Author: shreyassaw5394
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/shreyassaw5394/debuganything
- Updated: 2026-10-19
- HTML: https://affpapa.org/en/nevibecode/mcp/dea

## What it does

The server attaches to a pid, container or pod you point it at. Behind the scenes it drives `strace`, `py-spy`, `perf`, `lsof`, `tcpdump`, `gdb`/`lldb` and the Node inspector, then hands the agent structured findings rather than raw terminal noise. Every finding carries evidence ids, so a claim about a leak or a hot path can be traced back to the tool output that produced it.

You can steer it by symptom: `slow`, `leak`, `hang`, `crash`. The battery of observations changes with the choice. There is also a CLI path, `npx debuganything setup`, which writes the config entry for Claude, Codex, Cursor or Gemini CLI, backs up the file first, and drops in the `debug-anything` skill where the agent supports skills. Restart the agent afterwards.

Expect this to sit earlier in the workflow than a step debugger. It is for the case where you have no idea where to put a breakpoint yet. The catch: the observing binaries have to be present on the machine, so a bare container without `perf` or `strace` will leave some scenarios uncovered. The `npx` launch needs Node.js 22 or newer.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add dea -- npx -y dea-agents
```

### Codex

**Platform CLI**
```bash
codex mcp add dea -- npx -y dea-agents
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "dea": {
            "command": "npx",
            "args": [
                "-y",
                "dea-agents"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "dea": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "dea-agents"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add dea npx -y dea-agents
```

## When to use it
- find what keeps a process growing in memory
- capture a CPU profile from a running service
- list sockets and file descriptors held by a pid
- diagnose a hung thread without restarting the app
- grab packets on a port and hand them to the agent

## Example prompts
- Watch process `4821`, it's slow — collect evidence and show me the bottleneck
- Profile memory on the `api` container and find the retainer
- Investigate why pod `worker-1` hangs by observing its syscalls

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
