1. Conduid
  2. Files
  3. Trap
MCP server · Files

Trap

Enough dumping. Let's trap! A local debug server and dump functions for PHP: dumps, logs, Sentry, emails, OpenTelemetry traces and profiles from XHProf, Xdebug, Excimer, SPX and pprof.

54Fair

Scored 18 hours ago · breakdown

About Trap

Trap is an MCP server published by buggregator in the Files category: enough dumping. Let's trap! A local debug server and dump functions for PHP: dumps, logs, Sentry, emails, OpenTelemetry traces and profiles from XHProf, Xdebug, Excimer, SPX and pprof. No package is published for it, so it installs from a source checkout.

The repository has 278 stars and 17 forks, is licensed BSD-3-Clause, and its last commit was on 30 Nov 2026. The latest release is 1.25.0 (27 Nov 2026): Features profiler: collapse the recursion of the call graph into a node per function on request (8bfa838) ui: update the web UI to buggregator/frontend 1.44.0 (509698a). It follows 1.24.0 (26 Nov 2026), and the 5 most recent releases go back to 1.21.0 (22 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include buggregator, cli, debug, excimer, monolog and opentelemetry.

Install

From source
git clone https://github.com/buggregator/trap

Security checks

Static checks derived from the repository 19 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.3K words.
  • ✓License declaredThe repository declares the BSD-3-Clause license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by composer.lock and tools/psalm/composer.lock.
  • !No dynamic code executionScanned 649 source files and found 1 call to eval or shell execution, in src/Module/XDebug/Session.php:72. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
No calls that start other programs
Outbound network calls
20 callsresources/frontend/assets/audit-CeR6XIJA.js:1, resources/frontend/assets/es-Y9gLN0Kf.js:1, resources/frontend/assets/index-CzUS0Gv3.js:2
Writes or deletes files
44 callssrc/Client/Internal/Fallback.php:25, src/Client/Log/TrapLogger.php:125, src/Client/Log/TrapLogger.php:203
Lockfile
composer.lock and tools/psalm/composer.lock

Pattern matches on the source text of 649 files: places to read, not proof of what the code does at run time.

Releases

1.25.0v1.25.0 · 27 Nov 20261.25.0 (2026-11-27) Features profiler: collapse the recursion of the call graph into a node per function on request (8bfa838) ui: update the web UI to buggregator/frontend 1.44.0 (509698a)
1.24.0v1.24.0 · 26 Nov 20261.24.0 (2026-11-26) Features profiler: Support `phpspy` and `reli-prof`, and collapsed stacks (#396) (c18e0a3)
1.23.0v1.23.0 · 26 Nov 20261.23.0 (2026-11-26) Features html: receive HTML pages (`html@` address, `X-Buggregator-Event: html`, `/html/{project}`) and show them in the web UI, the console and over MCP (1f9503e) profiler: receive profiles of the Blackfire probe in…
1.22.0v1.22.0 · 24 Nov 20261.22.0 (2026-11-24) Features command: send an invite, an AMP version and a cancelled invite with `trap test` (ceedadc) csp: receive browser CSP and Reporting API reports, show them in the web UI and over MCP (9ff91cf) mcp: end the summary…
1.21.0v1.21.0 · 22 Nov 20261.21.0 (2026-11-22) Features command: make `trap test` send a sample of every kind of event (474bcd4) http-dump: download the files uploaded with a dumped request (dbae2eb) mailer: serve mail attachments at the paths of the UI 1.39…

README

The repository's README runs to about 1.3K words, fetched 19 hours ago. The original in the repository is authoritative.

Read full README
Questions

About Trap

How do I install Trap?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Trap safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 649 source files found that it makes outbound network calls (20 calls) and writes or deletes files (44 calls). Its dependencies are pinned by composer.lock and tools/psalm/composer.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Trap still maintained?

Yes — the latest release is 1.25.0 (27 Nov 2026), and the last commit was yesterday. The repository has 278 stars and 12 open issues.

What license is Trap released under?

The repository declares the BSD-3-Clause license. That applies to the latest release, 1.25.0, as well.