About Server
Server is an MCP server published by buggregator in the Browser category: one local debugging server, one binary: catches errors, dumps, emails, logs, profiles and HTTP from your app in development. Speaks Sentry, Ray, VarDumper, Monolog, SMTP, XHProf. Mock server, Xdebug in the browser, MCP for AI agents. Conduid read 40 tools from its source: event_delete, event_get, events_facets, events_list, mock_group_delete, mock_import_openapi and 34 more. No package is published for it, so it installs from a source checkout.
The repository has 1.1K stars and 44 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v2.16.1 (27 Nov 2026): Built with harnsy — the Buggregator team runs its AI agents in harnsy. It follows v2.16.0 (27 Nov 2026), and the 5 most recent releases go back to v2.13.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 debugging, devtools, email-testing, fake-smtp-server, http-dump and laravel.
Install
git clone https://github.com/buggregator/serverTools (40)
event_deleteDelete an event by UUID.event_getGet a complete event by UUID, including the full payload. Use events_list first to find event UUIDs.events_facetsList the values events can be filtered by (machines, environments, users, channels, levels, releases, tags as tag:<name>) with event counts, most frequent first. Pass the values to events_list to see only matching events.events_listList debugging events captured by Buggregator. Returns event metadata (uuid, type, timestamp, project) without payloads to keep output compact. Use event_get to fetch full details.mock_group_deleteDelete every stored rule of a group (the group of an OpenAPI import, see the group field of mock_rules_list).mock_import_openapiImport an OpenAPI 3.0/3.1 spec (YAML or JSON; text in spec, or url to download, http/https, at most 5 MB, 10 s): one rule per operation, in one group. Status = the lowest 2xx response; body = the spec's example as is, else a template built from the schema with fake data (edit it afterwards like any rule). Path params: a root field named like a param (or id for the last one) echoes it. Paths get servers[0].url's path in front unless base_path is given ("" = none). Re-importing the same group replaces its rules. Local $refs only; oneOf/anyOf take the first option. Returns the rules and the skipped operations with reasons.mock_requests_listRequests the mock server got, newest first: the request (method, uri, headers, query, body), whether a rule matched, which rule, and what was sent back (status, headers, body up to 64 KB, template_error). An unmatched request got 404 and lists near rules that missed it by one condition: disabled, method, project, or conditions (then detail names the first request condition that failed, e.g. "header Authorization equals").mock_rule_createCreate a mock rule. Requests to /mock/<path> then get this response; the rule shows in the Buggregator UI at once. path is required; defaults: method ANY, status 200, enabled. At most 500 rules per project.mock_rule_deleteDelete a stored mock rule. Config rules (source config) are read-only.mock_rule_from_requestCreate a rule from a captured mock request (e.g. one that got 404): method, path and project come from the request; give status, headers and body (other rule fields override them). Templates: see mock_rule_create.mock_rule_getOne mock rule with its full body.mock_rule_previewRender a mock rule for a sample request without saving anything: returns status, headers, body, matched (would this request hit the rule) and error (template runtime error). Give id to preview a stored rule (other fields override it), or the rule fields alone for a new one. Invalid rules return the validation message.mock_rule_updateChange a stored mock rule: only the given fields change. position moves it among the stored rules (0 = first). Config rules (source config) are read-only. Templates: see mock_rule_create.mock_rules_listList the mock server's rules in matching order: config rules (source config, read-only) first, then stored ones by position (source api or mcp). Requests to /mock/<path> are answered by the first enabled rule whose method, path and project match.mock_template_helpersReference for mock response templates: every helper with usage and an example, and the fake data generators for fake "name" args… with their parameters (filter by category or search).profiler_call_graphGet a filtered call graph showing function relationships. Use threshold and percentage to control which nodes are shown — this filters out noise and shows only significant call paths. Lower percentage = more nodes visible. Ideal for understanding why a specific function is slow.profiler_summaryGet a quick overview of a profiling session: total CPU/wall time/memory, the slowest function, the biggest memory consumer, and the most called function. Use events_list with type='profiler' to find profile UUIDs.profiler_topGet top functions from a profiling session sorted by a metric. Returns both inclusive (total) and exclusive (self) metrics with percentages. Useful for finding CPU bottlenecks, memory hogs, or frequently called functions.queue_jobsQueue jobs seen through Sentry tracing (sentry-laravel QueueIntegration: one transaction per attempt, op queue.process). Without id: jobs, newest first, each with its class, queue, last status, attempts and duration. With id: one job's attempts in order, the exception of each failed attempt and the request that dispatched it. Running jobs are not visible (Sentry sends an attempt when it ends). Each error has its type, message and frame (file, line, function of the top in-app frame); call sentry_event with the error's id as uuid for the full stack.sentry_eventGet structured details of a Sentry error event: error message, severity level, exception chain with stack traces, environment, and platform. Returns clean, AI-friendly data stripped of UI-specific fields.sentry_trace_getOne Sentry trace: the root transaction, the request timeline as a span tree (op, description such as the SQL or URL, start offset and duration in ms, errors, code place file:line when the SDK sent it), N+1 groups (normalized query, count, total ms, origin file:line), the errors raised in the trace and the queue job attempts that ran in it. Each error has its type, message and frame (file, line, function of the top in-app frame); call sentry_event with the error's id as uuid for the full stack.sentry_traces_listSentry performance traces (requests, commands, queue jobs sent with tracing on), newest first, one row per trace: root transaction name, op, status, whole-trace duration, span and error counts, services and the number of N+1 query groups. Filter by route/name, minimum duration or n_plus_one=true to find slow requests and repeated queries. Then call sentry_trace_get with a trace_id.vardump_getGet a var-dump value with HTML stripped for clean AI consumption. Returns the variable type, label, and plain text representation of the dumped value.xdebug_breakpoint_removeDelete a saved breakpoint by id (see xdebug_breakpoints), also from live sessions Buggregator drives.xdebug_breakpoint_setSave a breakpoint: file + line, or an exception class. Paused sessions Buggregator drives have it when this returns; running ones get it at their next pause; every new session gets it before its script runs. Then fire the request and call xdebug_wait.xdebug_breakpointsBreakpoints Buggregator saves and sends to every Xdebug session it drives (no IDE attached; an IDE sets its own). With session_id of a session Buggregator drives: each with its state in that session (resolved, unresolved, skipped = has a condition while eval is off, disabled, pending = sent at the next pause), resolved_line and hit_count.xdebug_continueResume a paused Xdebug session that Buggregator drives (no IDE attached) until the next breakpoint or xdebug_break(). Waits up to 30 s and returns the new location, or that the script ended or still runs. Refused while an IDE drives the session.xdebug_evalEvaluate a PHP expression in the current frame of a paused Xdebug session and return its value. Use expressions without side effects: the code runs inside the debugged request.xdebug_locationCurrent file and line of a paused Xdebug session, the function it is in, and the source lines around it.xdebug_propertyOne variable, array element or object property of a paused Xdebug session, with its children (object properties, array items) and long string values in full (up to 64 KB).xdebug_sessionsList Xdebug debug sessions, including ones closed in the last 10 minutes. driver 'ide': an IDE drives the session and the xdebug_* tools only read it. driver 'here': no IDE, Buggregator drives it, and xdebug_step / xdebug_continue / xdebug_stop control it (when xdebug.allow_control is on). A session can be read only while its state is 'break'. xdebug_eval runs a PHP expression in the paused request and exists only when xdebug.allow_eval is true.xdebug_stackCall stack of a paused Xdebug session: one frame per level, 0 is the current one.xdebug_stepStep a paused Xdebug session that Buggregator drives (no IDE attached): mode into, over (default) or out. Waits for the next pause (up to 30 s) and returns the new file, line, function and source around it, or that the script ended. Refused while an IDE drives the session.xdebug_stopEnd debugging of a paused Xdebug session that Buggregator drives. mode detach (default, safe): the script runs to its end without the debugger. mode stop: the PHP request ends at once and may leave partial work behind. Refused while an IDE drives the session.xdebug_trace_callOne call of an Xdebug trace by its offset: function, file and line, arguments, return value, incl and self time, memory change, and its first 50 direct callees. A non-null from means more callees: call xdebug_trace_calls with this parent and from.xdebug_trace_callsWalk the call tree of an Xdebug trace one level at a time, or search it. No parent: the top-level calls. parent=<offset>: the direct callees of that call. A non-null next means more: call again with from=next and the same parent. query=<text>: calls whose function or file contains the text. Each call has incl and self time (seconds), memory change, arguments and return value (cut to 512 bytes), the number of direct callees and its offset.xdebug_trace_summaryOverview of one Xdebug trace: totals, the 20 functions with the most self time (time in the function itself, seconds), and the 20 slowest single calls by inclusive time, each with its offset for xdebug_trace_call. Times are seconds, memory bytes.xdebug_tracesList uploaded Xdebug function traces (xdebug.trace_format=1), newest first: script or request, duration in seconds, peak memory, number of calls, and whether the trace was cut at the size limit. Start here, then xdebug_trace_summary.xdebug_variablesVariables of a stack frame in a paused Xdebug session (locals by default). Arrays and objects show their first level; use xdebug_property with the 'fullname' to go deeper.xdebug_waitWait until an Xdebug session is paused (up to 60 s) and return it with its location. Use it after setting a breakpoint and firing the request (e.g. with curl). Returns at once when a session is already paused.Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.2K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum and 2 more.
- !No dynamic code executionScanned 221 source files and found 3 calls to eval or shell execution, in modules/httpdumps/mock_template.go:705, modules/httpdumps/mock_template.go:714 and modules/xdebug/mcp.go:391. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- Streamable HTTPinternal/mcp/http.go:15
- Starts other programs
- 2 callsinternal/selfupdate/updater.go:352, modules/vardumper/php_process.go:57
- Outbound network calls
- 16 callsinternal/auth/oauth.go:284, internal/selfupdate/updater.go:119, internal/selfupdate/updater.go:312
- Writes or deletes files
- 43 callsinternal/mcp/listener.go:17, internal/mcp/listener.go:30, internal/selfupdate/boot.go:76
- Lockfile
- go.sum and 2 more
Pattern matches on the source text of 221 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.2K words, fetched yesterday. The original in the repository is authoritative.
Read full README