tooluse-labs/perfetto-mcp-rs
Perfetto trace analysis via MCP — PerfettoSQL queries plus dedicated Chrome tools for scroll jank, page loads, and main-thread hotspots
86c1ed3ff16dperfetto-mcp-rs0.17.1 in Cargo.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- HIGH12 production dependencies have known vulnerabilities (worst: high).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
anyhow1.0.103 or later,lru0.18.2 or later,quinn-proto0.11.19 or later,quinn-udp0.5.16 or later and 7 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 17 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
chrome_main_thread_hotspots, chrome_page_load_resource_hotspots, chrome_page_load_resource_pipeline, chrome_page_load_resource_summary, chrome_page_load_script_hotspots, chrome_page_load_summary and 10 morechrome_main_thread_hotspots, chrome_page_load_resource_hotspots, chrome_page_load_resource_pipeline, chrome_page_load_resource_summary, chrome_page_load_script_hotspots, chrome_page_load_summary and 10 moreslice_descendants_breakdownNo tool was seen to: read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files16 tools · chrome_main_thread_hotspots, chrome_page_load_resource_hotspots, chrome_page_load_resource_pipeline +13
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (17: 17 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
chrome_main_thread_hotspotstool Top Chrome main-thread tasks by wall duration: id, ts, \ProcessesFilesoutside text
Top Chrome main-thread tasks by wall duration: id, ts, \
name, task_type, thread_name, process_name, upid, pid, \
nullable machine_id, dur_ms, overlap_dur_ms, \
full_task_cpu_pct/full_task_thread_dur_ms, overlap_cpu_pct/\
overlap_thread_dur_ms; legacy cpu_pct/thread_dur_ms are full-task. \
Uses `chrome.tasks`, `thread.is_main_thread = 1`, and \
Chrome's `Cr*Main` fallback. Pass a returned \
`id` to `slice_descendants_breakdown` for child-slice breakdowns.
\
\
Use when: investigating responsiveness, scroll/load stalls, \
CPU vs wall time, or one renderer.
\
\
Don't use for: non-Chrome traces (will error). For background \
(non-main) thread tasks, drop to `execute_sql` against \
`chrome.tasks` directly.
\
\
Parameters (all optional):
\
- `process_name` / `pid` / `machine_id` / `upid`: scope to \
one process/type. Prefer `upid`; add `machine_id` to \
disambiguate multi-machine `pid`s. All filters AND.
\
- `page_load_id` / `navigation_id` / `phase`: scope to a \
page-load window. IDs match `chrome_page_loads.id` and \
`.navigation_id` respectively and are mutually exclusive. \
`phase`: `navigation_to_fcp`, `navigation_to_load`, \
`dcl_to_fcp`, `fcp_to_load`. If an id is set without \
`phase`, defaults to `navigation_to_fcp`; phase-only uses \
the latest page load.
\
- `start_ts_ns` / `end_ts_ns`: raw trace timestamp bounds \
in nanoseconds (`end_ts_ns` exclusive); aliases `start_ts` \
/ `end_ts` are accepted; intersect page-load windows. \
`overlap_dur_ms` is clipped to that window.
\
- `min_dur_ms`: minimum full-task duration, or clipped \
overlap duration when a window is set. Defaults to 16 \
ms. Pass 0 for all positive-overlap tasks.
\
- `limit`: max rows (default 100, capped at 5000). Must be > 0 \
if set.
\
- `max_string_len`: optional cap for returned string cells. \
Unset preserves full strings for precision. Must be > 0 if set.
\
\
Output: metadata-first JSON preserving `columns` / \
`rows`; `truncated=true` means an extra-row probe found more rows; \
`string_truncated=true` means cell text was shortened.
\
\
Empty result: no detected main-thread tasks exceeded `min_dur_ms` \
at the selected process/window threshold, or the trace uses \
non-standard main-thread names outside the `Cr*Main` fallback.chrome_page_load_resource_hotspotstool Rank URL-bearing Chrome resource/request slices in a page-load/raw \ProcessesFilesoutside text
Rank URL-bearing Chrome resource/request slices in a page-load/raw \
window. Returns timing, overlap, process/thread/machine_id, URL. \
Use after `chrome_page_load_resource_summary` to drill into \
slow URL slices. Filters: page_load/window, min_dur_ms default \
50, limit, max_string_len. \
`slice_duration_status='incomplete_duration'` means dur=-1; \
overlap is measured to window end or trace_end().chrome_page_load_resource_pipelinetool Drill into one Chrome page-load resource URL and join \ProcessesFilesoutside text
Drill into one Chrome page-load resource URL and join \
lifecycle/request spans with script/style/layout signals. Use \
after `chrome_page_load_resource_summary` with `example_slice_id` \
or `url_substring`. Returns timing facts, match evidence, \
resource ends, primary/detail slice evidence (detail is not a \
root-cause claim), URL/ancestor-correlated resource result \
source/hit, machine-id sets, incomplete count, and \
evidence_boundary. Parameters: URL seed required; optional window filters, \
`url_grouping`, `limit` default 30, `max_string_len`.chrome_page_load_resource_summarytool URL-level Chrome resource/request summary for a page-load/raw \ProcessesFilesoutside text
URL-level Chrome resource/request summary for a page-load/raw \
window. Returns URL key, process/machine/priority sets, span, \
max/summed overlap, primary/detail slice evidence (detail is \
not a root-cause claim), navigation/renderer relation including \
`target_renderer_source`, example_slice_id, \
incomplete_duration_slice_count. Use before \
`chrome_page_load_resource_hotspots`; rank by max overlap.chrome_page_load_script_hotspotstool Rank renderer main-thread script groups in a Chrome \ProcessesFilesoutside text
Rank renderer main-thread script groups in a Chrome \
page-load/raw window: URL/name/process/thread/machine_id, \
wall/CPU totals, style/layout ms, example_slice_id. Read-only.
\
\
Use when: slow FCP/load needs post-resource JS attribution; expand \
`example_slice_id` with `slice_descendants_breakdown`.
\
\
Parameters: optional process filters (`process_name`/`pid`/\
`machine_id`/`upid`), page-load/window filters shared \
with `chrome_main_thread_hotspots`, `min_total_ms` (default 20), \
`limit`, `max_string_len`. Empty result: no matching script groups.chrome_page_load_summarytool Summarize each page navigation in a Chrome trace: navigation id, \ProcessesFilesoutside text
Summarize each page navigation in a Chrome trace: navigation id, \
URL, raw boundary timestamps, FCP / LCP / DCL / load timings \
in ms. Read-only.
\
\
Use when: comparing page-load timings across navigations, finding \
slow loads, baselining web-vitals before/after a change. Prefer \
over hand-joining `chrome.page_loads` — schema is already correct.
\
\
Don't use for: non-Chrome traces (will error). For sub-event \
timings inside one navigation, drop to `execute_sql` against the \
`chrome.page_loads` module.
\
\
Parameters: optional `limit` (default 100, capped at 5000) and \
`max_string_len`. Operates on the loaded trace.
\
\
Output: metadata-first JSON; `row_count` exact; \
`truncated=true` means more rows exist; \
`string_truncated=true` means shortened text.
\
\
Empty result: no navigations occurred during capture (e.g. trace \
started after the page was already loaded).chrome_scroll_jank_summarytool Summarize the worst scroll jank frames in a Chrome trace: \ProcessesFilesoutside text
Summarize the worst scroll jank frames in a Chrome trace: \
cause_of_jank, sub_cause_of_jank, delay_since_last_frame, \
event_latency_id, scroll_id, vsync_interval. One row per janky \
frame, sorted by delay_since_last_frame DESC. \
Read-only.
\
\
Use when: investigating jank reports, finding scroll regressions, \
ranking jank causes. Prefer over hand-rolling SQL on \
`chrome.scroll_jank.scroll_jank_v3` — same data, less code.
\
\
Don't use for: non-Chrome traces (will error). For custom \
filters, use `execute_sql` against the same view.
\
\
Parameters: optional `limit` (default 100, capped at 5000) and \
`max_string_len`. Operates on the loaded trace.
\
\
Output: metadata-first JSON; `row_count` exact; \
`truncated=true` means more rows exist; \
`string_truncated=true` means shortened text.
\
\
Empty result: no janky frames detected (clean trace) or no \
scrolls occurred during capture.chrome_startup_summarytool Summarize Chrome browser startup events: id, name, launch_cause, \ProcessesFilesoutside text
Summarize Chrome browser startup events: id, name, launch_cause, \
startup_duration_ms (first_visible_content_ts - \
startup_begin_ts), browser_upid. Read-only.
\
\
Use when: measuring time-to-first-visible-content for cold \
starts, comparing launch causes (NEW_WINDOW vs CMD_LINE vs \
RESTORE_SESSION), regressing startup performance.
\
\
Don't use for: non-Chrome traces (will error). Browser-process \
work during steady state is covered by \
`chrome_main_thread_hotspots`.
\
\
Parameters: optional `limit` (default 100, capped at 5000) and \
`max_string_len`. Operates on the loaded trace.
\
\
Output: metadata-first JSON; `row_count` exact; \
`truncated=true` means more rows exist; \
`string_truncated=true` means shortened text.
\
\
Empty result: trace started after the browser was already \
running (most cases — startup is captured only when tracing \
began before launch).chrome_web_content_interactionstool Rank Chrome web content interactions by total_duration_ms: \ProcessesFilesoutside text
Rank Chrome web content interactions by total_duration_ms: \
id, ts, total_duration_ms, longest_event_dur_ms, \
interaction_type, renderer_upid. Read-only.
\
\
Use when: INP analysis, reproducing user-felt latency, finding \
slow click/tap/keyboard handlers.
\
\
Don't use for: non-Chrome traces (will error). For interactions \
filtered by `interaction_type`, drop to \
`execute_sql` against `chrome.web_content_interactions`.
\
\
Parameters: optional `limit` (default 100, capped at 5000) and \
`max_string_len`. Operates on the loaded trace.
\
\
Output: metadata-first JSON; `row_count` exact; \
`truncated=true` means more rows exist; \
`string_truncated=true` means shortened text.
\
\
Empty result: no interactions captured (trace started before \
user input or interaction tracking was disabled in tracing \
config).execute_sqltool Run a PerfettoSQL query against the loaded trace and return rows as \ProcessesFilesoutside text
Run a PerfettoSQL query against the loaded trace and return rows as \
columnar JSON. Read-only against trace data; SQLite operates \
in-memory per session. Aggregates are strongly preferred over raw \
row data; results are capped at 5000 rows.
\
\
Use when: composing analyses not covered by the dedicated tools — \
custom aggregations, joins across stdlib modules, or queries against \
base tables (`slice`, `thread`, `process`, `sched`).
\
\
Don't use for: questions the dedicated `chrome_*` tools answer — \
they return the same data with the JOIN shape already correct. \
Don't hand-roll `slice` scans with `LIKE '%x%'` patterns when a \
stdlib module covers the data; `INCLUDE PERFETTO MODULE chrome.tasks` \
is faster and the joins are pre-baked.
\
\
Parameters: `sql` is a single PerfettoSQL statement (the `INCLUDE \
PERFETTO MODULE foo;` and `SELECT ...` can be in the same call). \
Optional output shaping (`head`/`limit`, `columns_only`, \
`summary`, `include_row_count`, `max_string_len`) only \
changes what this tool returns; it does not rewrite the \
SQL. Blob cells render as `blob:hex:<hex>`. String results \
may be redacted by the server privacy \
policy before they are returned, preserving diagnostic \
structure while masking sensitive URL/header/cookie/path \
values. Requires `load_trace` to have run first.
\
\
Empty `rows` means the query matched nothing — distinct from a SQL \
error, which is returned as an error string with a hint pointing \
at the most likely cause (missing module, missing column, missing \
table).
\
\
Reference docs (fetch when you need exact column names or function \
signatures): \
https://perfetto.dev/docs/analysis/stdlib-docs (24 stdlib packages — \
chrome / android / sched / slices / linux / wattson / v8 / ...; use \
per-package anchors like `#package-chrome`), \
https://perfetto.dev/docs/analysis/perfetto-sql-syntax (syntax).list_processestool List every process captured in the trace: upid (trace-internal \ProcessesFilesoutside text
List every process captured in the trace: upid (trace-internal \
id), pid, machine_id, name, start_ts, end_ts. Read-only.
\
\
Use when: entry point for Android and Linux trace analysis, or \
picking the right `pid`/`upid` to feed into `list_threads_in_process` \
or `chrome_main_thread_hotspots`.
\
\
Don't use for: Chrome traces — the dedicated `chrome_*` tools \
answer most common questions without process-level navigation.
\
\
Parameters: none — operates on the loaded trace.
\
\
Empty result: rare; would mean the trace captured no process \
metadata at all.
\
\
Errors when: no trace is loaded — call `load_trace` first.list_stdlib_modulestool List curated PerfettoSQL stdlib modules as JSON entries with \
List curated PerfettoSQL stdlib modules as JSON entries with \
`domain`, `module`, `views`, `description`, and `usage`. Use \
when choosing an `INCLUDE PERFETTO MODULE ...` target; no trace \
has to be loaded.
\
\
Optional filters: `domain` (`chrome`, `android`, `generic`), \
`query` (case-insensitive search over module/view/description), \
and `limit`. For longer guidance, read \
resource://perfetto-mcp/stdlib-quickref.list_table_structuretool Show the columns of a table or view: name, type, nullability, \ProcessesFilesoutside text
Show the columns of a table or view: name, type, nullability, \
primary_key flag.
\
\
Use when: writing or debugging a query — call this immediately \
after a `no such column` error to inspect the actual schema \
rather than guessing. Both stdlib views and base tables have \
fixed schemas; don't infer columns by analogy across them.
\
\
Don't use for: this is a separate MCP tool, not a SQL function — \
don't write `SELECT * FROM list_table_structure` inside \
`execute_sql`.
\
\
Parameters: `table_name` (string) — the exact table or view \
name as it appears in `list_tables` output. Case-sensitive; \
does not accept GLOB patterns or partial matches. Also \
accepts the alias `name` (v0.11.3+).
\
\
Errors when: the table doesn't exist or has no columns. Call \
`list_tables` first; stdlib views may need an `INCLUDE` first.list_tablestool List tables and views in the loaded trace. Read-only.ProcessesFilesoutside text
List tables and views in the loaded trace. Read-only.
\
\
Use when: exploring an unfamiliar trace or verifying a table \
exists before writing SQL. Underlying SQL engine is SQLite, \
so the catalog tables common in other SQL engines aren't \
present — this MCP tool is the schema introspection path.
\
\
Don't use for: queries against known stdlib modules — go \
straight to `execute_sql` with `INCLUDE PERFETTO MODULE`. \
Don't reference this tool name inside SQL; it's a separate \
MCP tool, not a SQL function — call it via the tool API.
\
\
Parameters: optional `pattern` — SQLite GLOB filter (e.g. \
`chrome_*` for chrome stdlib views, `slice*` for the slice \
table family). Without it, internal stdlib tables (`_*`) \
are hidden.
\
\
Empty result: no tables matched. For stdlib views, run \
`execute_sql` with `INCLUDE PERFETTO MODULE ...` first; \
otherwise retry an explicit pattern for internal tables.
\
\
Errors when: no trace is loaded — call `load_trace` first.list_threads_in_processtool List threads in one process or same-named process set: \ProcessesFilesoutside text
List threads in one process or same-named process set: \
tid, thread_name, pid, upid, machine_id. Limit 2000, cap 5000.
\
\
Use when: drilling into a process from `list_processes`.
\
\
Don't use for: ALL trace threads — use `execute_sql` on `thread`.
\
\
Parameters: pass either `upid` (trace-internal id, precise — \
prefer when multiple processes share a name like 'Renderer') or \
`process_name` (exact match). `upid` wins when both are set. \
Optional `limit` and `offset` page large result sets; both \
accept numbers or numeric strings.
\
\
Output: exact `row_count`, `returned_rows`, `truncated`/`has_more`; \
rows are ordered by pid/tid. \
`process_counts` reports per-upid counts for same-name fan-out.
\
\
Empty result: returned as an error pointing at `list_processes` \
for available candidates.
\
\
When `truncated=true`, increase `offset` or drill down with `upid`.load_tracetool Load one or more local Perfetto trace files and return routing summaries \ProcessesFilesoutside text
Load one or more local Perfetto trace files and return routing summaries \
plus `trace_id` handles. Other tools use the active trace by default; \
pass `trace_id` to analyze a specific loaded trace after loading more.
\
\
Use when: starting any analysis session — call this first.
\
\
Don't use for: live capture or streaming URLs; paths must be complete \
local trace files.
\
\
Parameters: pass `path` for one trace or `paths` for a batch. Calling again \
makes the last loaded path the active default; cached trace processors make \
repeat loads cheap unless the file fingerprint changed.
\
\
Errors when: the file doesn't exist, isn't a valid Perfetto \
trace, trace_processor fails to parse it, or the binary cannot be downloaded.slice_descendants_breakdowntool Recursive child-slice expansion under known `slice.id` roots, \ProcessesFilesNetworkoutside text
Recursive child-slice expansion under known `slice.id` roots, \
aggregated as a bounded breakdown per (depth, name) group. \
Use to drill into a long task — after `chrome_main_thread_hotspots` \
or `execute_sql` returns a slice id — without hand-writing \
`WITH RECURSIVE` CTEs over `slice.parent_id`. Required: \
`slice_ids`. Optional bounds: `min_dur_ms`, `max_depth`, \
`limit`, `include_args`, `max_string_len`. The response echoes \
`summary_scope`, `applied_filters`, and `missing_root_ids` \
(missing root slice ids). Returned columns: `root_id`, `depth`, `name`, \
`slice_count`, `inclusive_total_ms` (do not sum across depths), \
`self_ms` (direct-child time subtracted, clamped at zero), \
`max_ms`, `first_ts_ns` (raw \
nanoseconds, not ms), `example_slice_id` (longest-duration \
descendant per group), and optionally `example_args`. \
`incomplete_descendant_count` counts dur<0 descendants excluded \
from duration aggregates.Text the model reads (17)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
load_trace tool
Load one or more local Perfetto trace files and return routing summaries \\
plus `trace_id` handles. Other tools use the active trace by default; \\
pass `trace_id` to analyze a specific loaded trace after loading more.
\\
\\
Use when: starting any analysis session — call this first.
\\
\\
Don't use for: live capture or streaming URLs; paths must be complete \\
local trace files.
\\
\\
Parameters: pass `path` for one trace or `paths` for a batch. Calling again \\
makes the last loaded path the active default; cached trace processors make \\
repeat loads cheap unless the file fingerprint changed.
\\
\\
Errors when: the file doesn't exist, isn't a valid Perfetto \\
trace, trace_processor fails to parse it, or the binary cannot be downloaded.execute_sql tool
Run a PerfettoSQL query against the loaded trace and return rows as \\
columnar JSON. Read-only against trace data; SQLite operates \\
in-memory per session. Aggregates are strongly preferred over raw \\
row data; results are capped at 5000 rows.
\\
\\
Use when: composing analyses not covered by the dedicated tools — \\
custom aggregations, joins across stdlib modules, or queries against \\
base tables (`slice`, `thread`, `process`, `sched`).
\\
\\
Don't use for: questions the dedicated `chrome_*` tools answer — \\
they return the same data with the JOIN shape already correct. \\
Don't hand-roll `slice` scans with `LIKE '%x%'` patterns when a \\
stdlib module covers the data; `INCLUDE PERFETTO MODULE chrome.tasks` \\
is faster and the joins are pre-baked.
\\
\\
Parameters: `sql` is a single PerfettoSQL statement (the `INCLUDE \\
PERFETTO MODULE foo;` and `SELECT ...` can be in the same call). \\
Optional output shaping (`head`/`limit`, `columns_only`, \\
`summary`, `include_row_count`, `max_string_len`) only \\
changes what this tool returns; it does not rewrite the \\
SQL. Blob cells render as `blob:hex:<hex>`. String results \\
may be redacted by the server privacy \\
policy before they are returned, preserving diagnostic \\
structure while masking sensitive URL/header/cookie/path \\
values. Requires `load_trace` to have run first.
\\
\\
Empty `rows` means the query matched nothing — distinct from a SQL \\
error, which is returned as an error string with a hint pointing \\
at the most likely cause (missing module, missing column, missing \\
table).
\\
\\
Reference docs (fetch when you need exact column names or function \\
signatures): \\
https://perfetto.dev/docs/analysis/stdlib-docs (24 stdlib packages — \\
chrome / android / sched / slices / linux / wattson / v8 / ...; use \\
per-package anchors like `#package-chrome`), \\
https://perfetto.dev/docs/analysis/perfetto-sql-syntax (syntax).list_tables tool
List tables and views in the loaded trace. Read-only.
\\
\\
Use when: exploring an unfamiliar trace or verifying a table \\
exists before writing SQL. Underlying SQL engine is SQLite, \\
so the catalog tables common in other SQL engines aren't \\
present — this MCP tool is the schema introspection path.
\\
\\
Don't use for: queries against known stdlib modules — go \\
straight to `execute_sql` with `INCLUDE PERFETTO MODULE`. \\
Don't reference this tool name inside SQL; it's a separate \\
MCP tool, not a SQL function — call it via the tool API.
\\
\\
Parameters: optional `pattern` — SQLite GLOB filter (e.g. \\
`chrome_*` for chrome stdlib views, `slice*` for the slice \\
table family). Without it, internal stdlib tables (`_*`) \\
are hidden.
\\
\\
Empty result: no tables matched. For stdlib views, run \\
`execute_sql` with `INCLUDE PERFETTO MODULE ...` first; \\
otherwise retry an explicit pattern for internal tables.
\\
\\
Errors when: no trace is loaded — call `load_trace` first.list_table_structure tool
Show the columns of a table or view: name, type, nullability, \\
primary_key flag.
\\
\\
Use when: writing or debugging a query — call this immediately \\
after a `no such column` error to inspect the actual schema \\
rather than guessing. Both stdlib views and base tables have \\
fixed schemas; don't infer columns by analogy across them.
\\
\\
Don't use for: this is a separate MCP tool, not a SQL function — \\
don't write `SELECT * FROM list_table_structure` inside \\
`execute_sql`.
\\
\\
Parameters: `table_name` (string) — the exact table or view \\
name as it appears in `list_tables` output. Case-sensitive; \\
does not accept GLOB patterns or partial matches. Also \\
accepts the alias `name` (v0.11.3+).
\\
\\
Errors when: the table doesn't exist or has no columns. Call \\
`list_tables` first; stdlib views may need an `INCLUDE` first.list_processes tool
List every process captured in the trace: upid (trace-internal \\
id), pid, machine_id, name, start_ts, end_ts. Read-only.
\\
\\
Use when: entry point for Android and Linux trace analysis, or \\
picking the right `pid`/`upid` to feed into `list_threads_in_process` \\
or `chrome_main_thread_hotspots`.
\\
\\
Don't use for: Chrome traces — the dedicated `chrome_*` tools \\
answer most common questions without process-level navigation.
\\
\\
Parameters: none — operates on the loaded trace.
\\
\\
Empty result: rare; would mean the trace captured no process \\
metadata at all.
\\
\\
Errors when: no trace is loaded — call `load_trace` first.list_threads_in_process tool
List threads in one process or same-named process set: \\
tid, thread_name, pid, upid, machine_id. Limit 2000, cap 5000.
\\
\\
Use when: drilling into a process from `list_processes`.
\\
\\
Don't use for: ALL trace threads — use `execute_sql` on `thread`.
\\
\\
Parameters: pass either `upid` (trace-internal id, precise — \\
prefer when multiple processes share a name like 'Renderer') or \\
`process_name` (exact match). `upid` wins when both are set. \\
Optional `limit` and `offset` page large result sets; both \\
accept numbers or numeric strings.
\\
\\
Output: exact `row_count`, `returned_rows`, `truncated`/`has_more`; \\
rows are ordered by pid/tid. \\
`process_counts` reports per-upid counts for same-name fan-out.
\\
\\
Empty result: returned as an error pointing at `list_processes` \\
for available candidates.
\\
\\
When `truncated=true`, increase `offset` or drill down with `upid`.chrome_scroll_jank_summary tool
Summarize the worst scroll jank frames in a Chrome trace: \\
cause_of_jank, sub_cause_of_jank, delay_since_last_frame, \\
event_latency_id, scroll_id, vsync_interval. One row per janky \\
frame, sorted by delay_since_last_frame DESC. \\
Read-only.
\\
\\
Use when: investigating jank reports, finding scroll regressions, \\
ranking jank causes. Prefer over hand-rolling SQL on \\
`chrome.scroll_jank.scroll_jank_v3` — same data, less code.
\\
\\
Don't use for: non-Chrome traces (will error). For custom \\
filters, use `execute_sql` against the same view.
\\
\\
Parameters: optional `limit` (default 100, capped at 5000) and \\
`max_string_len`. Operates on the loaded trace.
\\
\\
Output: metadata-first JSON; `row_count` exact; \\
`truncated=true` means more rows exist; \\
`string_truncated=true` means shortened text.
\\
\\
Empty result: no janky frames detected (clean trace) or no \\
scrolls occurred during capture.chrome_page_load_summary tool
Summarize each page navigation in a Chrome trace: navigation id, \\
URL, raw boundary timestamps, FCP / LCP / DCL / load timings \\
in ms. Read-only.
\\
\\
Use when: comparing page-load timings across navigations, finding \\
slow loads, baselining web-vitals before/after a change. Prefer \\
over hand-joining `chrome.page_loads` — schema is already correct.
\\
\\
Don't use for: non-Chrome traces (will error). For sub-event \\
timings inside one navigation, drop to `execute_sql` against the \\
`chrome.page_loads` module.
\\
\\
Parameters: optional `limit` (default 100, capped at 5000) and \\
`max_string_len`. Operates on the loaded trace.
\\
\\
Output: metadata-first JSON; `row_count` exact; \\
`truncated=true` means more rows exist; \\
`string_truncated=true` means shortened text.
\\
\\
Empty result: no navigations occurred during capture (e.g. trace \\
started after the page was already loaded).chrome_page_load_resource_hotspots tool
Rank URL-bearing Chrome resource/request slices in a page-load/raw \\
window. Returns timing, overlap, process/thread/machine_id, URL. \\
Use after `chrome_page_load_resource_summary` to drill into \\
slow URL slices. Filters: page_load/window, min_dur_ms default \\
50, limit, max_string_len. \\
`slice_duration_status='incomplete_duration'` means dur=-1; \\
overlap is measured to window end or trace_end().chrome_page_load_resource_summary tool
URL-level Chrome resource/request summary for a page-load/raw \\
window. Returns URL key, process/machine/priority sets, span, \\
max/summed overlap, primary/detail slice evidence (detail is \\
not a root-cause claim), navigation/renderer relation including \\
`target_renderer_source`, example_slice_id, \\
incomplete_duration_slice_count. Use before \\
`chrome_page_load_resource_hotspots`; rank by max overlap.chrome_page_load_resource_pipeline tool
Drill into one Chrome page-load resource URL and join \\
lifecycle/request spans with script/style/layout signals. Use \\
after `chrome_page_load_resource_summary` with `example_slice_id` \\
or `url_substring`. Returns timing facts, match evidence, \\
resource ends, primary/detail slice evidence (detail is not a \\
root-cause claim), URL/ancestor-correlated resource result \\
source/hit, machine-id sets, incomplete count, and \\
evidence_boundary. Parameters: URL seed required; optional window filters, \\
`url_grouping`, `limit` default 30, `max_string_len`.chrome_page_load_script_hotspots tool
Rank renderer main-thread script groups in a Chrome \\
page-load/raw window: URL/name/process/thread/machine_id, \\
wall/CPU totals, style/layout ms, example_slice_id. Read-only.
\\
\\
Use when: slow FCP/load needs post-resource JS attribution; expand \\
`example_slice_id` with `slice_descendants_breakdown`.
\\
\\
Parameters: optional process filters (`process_name`/`pid`/\\
`machine_id`/`upid`), page-load/window filters shared \\
with `chrome_main_thread_hotspots`, `min_total_ms` (default 20), \\
`limit`, `max_string_len`. Empty result: no matching script groups.chrome_main_thread_hotspots tool
Top Chrome main-thread tasks by wall duration: id, ts, \\
name, task_type, thread_name, process_name, upid, pid, \\
nullable machine_id, dur_ms, overlap_dur_ms, \\
full_task_cpu_pct/full_task_thread_dur_ms, overlap_cpu_pct/\\
overlap_thread_dur_ms; legacy cpu_pct/thread_dur_ms are full-task. \\
Uses `chrome.tasks`, `thread.is_main_thread = 1`, and \\
Chrome's `Cr*Main` fallback. Pass a returned \\
`id` to `slice_descendants_breakdown` for child-slice breakdowns.
\\
\\
Use when: investigating responsiveness, scroll/load stalls, \\
CPU vs wall time, or one renderer.
\\
\\
Don't use for: non-Chrome traces (will error). For background \\
(non-main) thread tasks, drop to `execute_sql` against \\
`chrome.tasks` directly.
\\
\\
Parameters (all optional):
\\
- `process_name` / `pid` / `machine_id` / `upid`: scope to \\
one process/type. Prefer `upid`; add `machine_id` to \\
disambiguate multi-machine `pid`s. All filters AND.
\\
- `page_load_id` / `navigation_id` / `phase`: scope to a \\
page-load window. IDs match `chrome_page_loads.id` and \\
`.navigation_id` respectively and are mutually exclusive. \\
`phase`: `navigation_to_fcp`, `navigation_to_load`, \\
`dcl_to_fcp`, `fcp_to_load`. If an id is set without \\
`phase`, defaults to `navigation_to_fcp`; phase-only uses \\
the latest page load.
\\
- `start_ts_ns` / `end_ts_ns`: raw trace timestamp bounds \\
in nanoseconds (`end_ts_ns` exclusive); aliases `start_ts` \\
/ `end_ts` are accepted; intersect page-load windows. \\
`overlap_dur_ms` is clipped to that window.
\\
- `min_dur_ms`: minimum full-task duration, or clipped \\
overlap duration when a window is set. Defaults to 16 \\
ms. Pass 0 for all positive-overlap tasks.
\\
- `limit`: max rows (default 100, capped at 5000). Must be > 0 \\
if set.
\\
- `max_string_len`: optional cap for returned string cells. \\
Unset preserves full strings for precision. Must be > 0 if set.
\\
\\
Output: metadata-first JSON preserving `columns` / \\
`rows`; `truncated=true` means an extra-row probe found more rows; \\
`string_truncated=true` means cell text was shortened.
\\
\\
Empty result: no detected main-thread tasks exceeded `min_dur_ms` \\
at the selected process/window threshold, or the trace uses \\
non-standard main-thread names outside the `Cr*Main` fallback.slice_descendants_breakdown tool
Recursive child-slice expansion under known `slice.id` roots, \\
aggregated as a bounded breakdown per (depth, name) group. \\
Use to drill into a long task — after `chrome_main_thread_hotspots` \\
or `execute_sql` returns a slice id — without hand-writing \\
`WITH RECURSIVE` CTEs over `slice.parent_id`. Required: \\
`slice_ids`. Optional bounds: `min_dur_ms`, `max_depth`, \\
`limit`, `include_args`, `max_string_len`. The response echoes \\
`summary_scope`, `applied_filters`, and `missing_root_ids` \\
(missing root slice ids). Returned columns: `root_id`, `depth`, `name`, \\
`slice_count`, `inclusive_total_ms` (do not sum across depths), \\
`self_ms` (direct-child time subtracted, clamped at zero), \\
`max_ms`, `first_ts_ns` (raw \\
nanoseconds, not ms), `example_slice_id` (longest-duration \\
descendant per group), and optionally `example_args`. \\
`incomplete_descendant_count` counts dur<0 descendants excluded \\
from duration aggregates.chrome_startup_summary tool
Summarize Chrome browser startup events: id, name, launch_cause, \\
startup_duration_ms (first_visible_content_ts - \\
startup_begin_ts), browser_upid. Read-only.
\\
\\
Use when: measuring time-to-first-visible-content for cold \\
starts, comparing launch causes (NEW_WINDOW vs CMD_LINE vs \\
RESTORE_SESSION), regressing startup performance.
\\
\\
Don't use for: non-Chrome traces (will error). Browser-process \\
work during steady state is covered by \\
`chrome_main_thread_hotspots`.
\\
\\
Parameters: optional `limit` (default 100, capped at 5000) and \\
`max_string_len`. Operates on the loaded trace.
\\
\\
Output: metadata-first JSON; `row_count` exact; \\
`truncated=true` means more rows exist; \\
`string_truncated=true` means shortened text.
\\
\\
Empty result: trace started after the browser was already \\
running (most cases — startup is captured only when tracing \\
began before launch).chrome_web_content_interactions tool
Rank Chrome web content interactions by total_duration_ms: \\
id, ts, total_duration_ms, longest_event_dur_ms, \\
interaction_type, renderer_upid. Read-only.
\\
\\
Use when: INP analysis, reproducing user-felt latency, finding \\
slow click/tap/keyboard handlers.
\\
\\
Don't use for: non-Chrome traces (will error). For interactions \\
filtered by `interaction_type`, drop to \\
`execute_sql` against `chrome.web_content_interactions`.
\\
\\
Parameters: optional `limit` (default 100, capped at 5000) and \\
`max_string_len`. Operates on the loaded trace.
\\
\\
Output: metadata-first JSON; `row_count` exact; \\
`truncated=true` means more rows exist; \\
`string_truncated=true` means shortened text.
\\
\\
Empty result: no interactions captured (trace started before \\
user input or interaction tracking was disabled in tracing \\
config).list_stdlib_modules tool
List curated PerfettoSQL stdlib modules as JSON entries with \\
`domain`, `module`, `views`, `description`, and `usage`. Use \\
when choosing an `INCLUDE PERFETTO MODULE ...` target; no trace \\
has to be loaded.
\\
\\
Optional filters: `domain` (`chrome`, `android`, `generic`), \\
`query` (case-insensitive search over module/view/description), \\
and `limit`. For longer guidance, read \\
resource://perfetto-mcp/stdlib-quickref.What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 17 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 17 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 17 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 17 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 17 tool handlers traced
- Tools that start processes16 of 17 capabilities start processes; 1 more call code the scanner could not follow, where it may happen
- Tools that touch files16 of 17 capabilities touch files; 1 more call code the scanner could not follow, where it may happen
- Tools that call the network1 of 17 capabilities call the network; 16 more call code the scanner could not follow, where it may happen
Where the code is: 17 handlers in 1 file at commit 86c1ed3ff16d
src/server/mod.rsload_trace, execute_sql, list_tables, list_table_structure, list_processes, list_threads_in_process, chrome_scroll_jank_summary, chrome_page_load_summary, chrome_page_load_resource_hotspots, chrome_page_load_resource_summary, chrome_page_load_resource_pipeline, chrome_page_load_script_hotspots +5
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: Cargo.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies HIGH12 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionrmcp 0.16
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (12 in production)
quinn-protocrates.io 0.11.14 HIGH 8 advisories 0.11.150.11.170.11.18+1 more
- HIGHGHSA-4w2j-m93h-cj5j CVE-2026-25800 RUSTSEC-2026-0185Quinn: Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
- MEDIUMRUSTSEC-2026-0185 CVE-2026-25800 GHSA-4w2j-m93h-cj5j Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
- MEDIUMRUSTSEC-2026-0342 GHSA-2hv7-gw8g-gpq5Zero-length DATAGRAM frames bypass the receive buffer limit in quinn-proto
- MEDIUMRUSTSEC-2026-0524 GHSA-wppq-2f6r-wfvmLong Retry token can panic or exhaust memory in a QUIC client
- MEDIUMRUSTSEC-2026-0340 GHSA-3g6h-r5qx-f6hqPeer minimum ACK delay can panic quinn-proto when ACK_FREQUENCY transmission is enabled
- MEDIUMRUSTSEC-2026-0338 GHSA-465w-v9q3-7j98Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
- MEDIUMRUSTSEC-2026-0523 GHSA-53rm-773f-4q8cMAX_STREAM_DATA frame can open streams beyond the stream limit
- MEDIUMRUSTSEC-2026-0339 GHSA-hmxj-32vh-65vrUnbounded growth of pending connection ID retirements in quinn-proto
rmcpcrates.io 0.16.0 HIGH 7 advisories 1.4.02.0.02.1.0+1 more
- HIGHGHSA-33f5-2c5q-wgwj CVE-2026-63127RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery
- HIGHGHSA-89vp-x53w-74fx CVE-2026-42559 GHSA-fvh2-gm75-j4j7 RUSTSEC-2026-0140 RUSTSEC-2026-0189rmcp Streamable HTTP server transport has a DNS rebinding vulnerability
- HIGHGHSA-9pj6-vhgr-3mwh CVE-2026-63128RMCP: Unauthenticated permanent session-table leak in rmcp Streamable HTTP server transport leads to remote denial-of-service
- MEDIUMGHSA-9g45-5xwm-f3wc CVE-2026-64684RMCP: Custom HTTP headers leak to cross-origin redirect targets
- MEDIUMRUSTSEC-2026-0462 GHSA-c9f9-cp8h-jcj5Unbounded response body buffering in Streamable HTTP clients
- MEDIUMRUSTSEC-2026-0189 CVE-2026-42559 GHSA-89vp-x53w-74fx GHSA-fvh2-gm75-j4j7 RUSTSEC-2026-0140DNS rebinding vulnerability in rmcp Streamable HTTP server transport
- MEDIUMGHSA-c9xm-49cp-xcr9rmcp OAuth client fetches server-controlled resource_metadata URLs
rustlscrates.io 0.23.40 MEDIUM 8 advisories 0.23.450.23.460.24.0-dev.2
- MEDIUMGHSA-c8m5-c952-6cm4 CVE-2026-123609 RUSTSEC-2026-0346Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
- MEDIUMRUSTSEC-2026-0349 CVE-2026-123611 GHSA-w44r-93j7-qv28Unauthenticated ServerHello can downgrade later connections to classical key exchange
- MEDIUMRUSTSEC-2026-0348 CVE-2026-123610 GHSA-h2v8-394m-p7vvBrotli certificate decompression can allocate up to 1 GiB before authentication
- MEDIUMRUSTSEC-2026-0285 CVE-2026-123613 GHSA-2mjx-qc3c-rqvcTLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
- MEDIUMRUSTSEC-2026-0346 CVE-2026-123609 GHSA-c8m5-c952-6cm4`Debug` impls for client session values expose TLS secrets
- MEDIUMGHSA-2mjx-qc3c-rqvc CVE-2026-123613 RUSTSEC-2026-0285Rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
- LOWGHSA-w44r-93j7-qv28 CVE-2026-123611 RUSTSEC-2026-0349rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share
- LOWGHSA-h2v8-394m-p7vv CVE-2026-123610 RUSTSEC-2026-0348Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
lrucrates.io 0.12.5 MEDIUM 3 advisories 0.16.30.18.2
- MEDIUMRUSTSEC-2026-0253Potential use-after-free due to lack of panic safety in `LruCache::pop()`
- MEDIUMRUSTSEC-2026-0002 GHSA-rhfx-m35p-ff5j`IterMut` violates Stacked Borrows by invalidating internal pointer
- LOWGHSA-rhfx-m35p-ff5j RUSTSEC-2026-0002`IterMut` violates Stacked Borrows by invalidating internal pointer
anyhowcrates.io 1.0.102 MEDIUM 1 advisory 1.0.103
- MEDIUMRUSTSEC-2026-0190Unsoundness in `Error::downcast_mut()`
chronocrates.io 0.4.44 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0543chrono is unmaintained
quinn-udpcrates.io 0.5.14 MEDIUM 1 advisory 0.5.160.6.3
- MEDIUMRUSTSEC-2026-0538 GHSA-6pp4-4cxf-xf88Receive loop can spin after a truncated datagram
rustixcrates.io 1.1.4 MEDIUM 1 advisory 1.1.6
- MEDIUMRUSTSEC-2026-0486 GHSA-jh2m-fhpj-3vr7xattr functions mark unwritten bytes as initialized when given a zero-length buffer
rustls-webpkicrates.io 0.103.13 MEDIUM 1 advisory 0.103.160.104.0-alpha.8
- MEDIUMRUSTSEC-2026-0382 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0381 RUSTSEC-2026-0383Certificate verification may accept distrusted intermediates
tokiocrates.io 1.52.3 MEDIUM 1 advisory 1.51.61.53.3
- MEDIUMRUSTSEC-2026-0386`AsyncFd::new` and related constructors violate I/O safety
urlcrates.io 2.5.8 MEDIUM 1 advisory 2.5.9
- MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs
webpki-rootscrates.io 1.0.7 MEDIUM 1 advisory 0.26.111.0.10
- MEDIUMRUSTSEC-2026-0381 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0382 RUSTSEC-2026-0383Bundled root certificates allow trust in distrusted emSign intermediates
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | rmcp 0.16 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-07-10 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | Apache-2.0 |
| Created | 2026-04-12 |
| Topics | android anthropic chrome chromium claude-code codex mcp mcp-server model-context-protocol perfetto |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.