trap MCP Server
buggregator/trap
[](https://agentrank-ai.com/tool/buggregator--trap/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) 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.
claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
buggregator/trap is a PHP tool licensed under BSD-3-Clause. 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. Topics: cli, debug, smtp, php, buggregator, sentry, profiling, excimer, monolog, opentelemetry, pprof, profiler, ray, roadrunner, spx, var-dumper, xdebug, xhprof, mcp, skills.
Ranked #175 out of 24838 indexed tools.
In the top 1% of all indexed tools.
Has 16 contributors.
Actively maintained with commits in the last week.
Ecosystem
Score Breakdown
278 stars → growing community
Last commit 3d ago → actively maintained
108/119 issues closed → responsive maintainer
16 contributors → active community
No dependents → no downstream usage
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
Matched Queries
From the README
<p align="center">
</p>
<p align="center">Enough dumping. Let's trap!</p>
<h1 align="center">Buggregator Trap</h1>
<div align="center">
</div>
<br />
```diff
- dump($order);
+ trap($order);
```
`trap()` is `dump()` that:
- sends the dump to the local Trap server or to a Buggregator Server, and prints it in place when no server is
listening;
- dumps only what you need: `->depth(3)`, `->times(5)`, `->once()`, `->if($cond)`;
- carries context with the dump: `->context(...)`, `->code('sql')`;
- fits into expressions: `->return()`, `tr()`, `td()`;
- dumps protobuf messages in a readable form.
**Trap** is a debug server and a set of debug functions for PHP. The server is a mini
[Buggregator Server](https://github.com/buggregator/server) written in PHP and made for local development: it runs
on the PHP of your project, so it reads the profiles of XHProf, Xdebug and SPX right from their directories.
Unlike the `symfony/var-dumper` server, it receives far more than dumps: Monolog Read full README on GitHub → Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.