mcdk-mcp-tracy
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TRACY_BIN_DIR | No | Path to directory containing tracy-capture.exe and tracy-csvexport.exe | |
| MCDK_MCDEV_JSON | No | Path to .mcdev.json file for MCDK project configuration |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tracy_statusA | Probe whether native-Tracy profiling is usable on the running game. RUN THIS FIRST. The capture path used by this server is the game's
embedded native Tracy server (TCP 8086), driven by the bundled
tracy-capture / tracy-csvexport CLIs. It does NOT use the Python
Args: address/port: native Tracy endpoint (default 127.0.0.1:8086). project_dir: optional path whose .mcdev.json gives MCDK's MCP port. |
| tracy_list_capturesA | List stored captures (id, label, side, totals, timestamp) for diffing. |
| tracy_get_function_costsA | Query per-function self/total/calls from a stored capture. Pure server-side slice (no game call). Filter by exact names and/or a
substring; without a filter, returns the top Args: capture_id: id from tracy_native_capture (required). names: exact function names to include. name_contains: case-insensitive substring filter (e.g. your mod prefix). limit: max rows to return (default 50). |
| tracy_diff_capturesA | Diff two captures by function to validate an optimization. Negative delta = faster. Returns improved / regressed / added / removed plus overall movement (base vs new total, delta, pct). Args: base_id: the "before" capture id (required). new_id: the "after" capture id (required). metric: 'self' (default) or 'total'. top_n: max rows per list (default 25). |
| tracy_jank_fpsA | Frame-level health, complementing the per-function view. Actions:
Args: action: one of sample_fps | read_jank_logs (required). side: 'client' or 'server'. duration_seconds: window for sample_fps (default 5). log_lines: lines to scan for read_jank_logs (default 200). |
| tracy_native_captureA | Capture function timings from the game's NATIVE Tracy server (TCP 8086). Use this once Drive the gameplay you want to measure DURING the window. The returned
Args: seconds: capture window, 0 < s <= 60 (default 5). name_contains: case-insensitive filter, e.g. 'arrisCreate' to keep only your mod's functions (matched against "name @ src_file"). top_n: rows returned inline (default 25; the full set is stored for later get_function_costs / diff queries). address/port: native Tracy endpoint (default 127.0.0.1:8086). label: tag for diffing, e.g. 'before' / 'after'. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: checking readiness, listing captures, capturing, querying costs, diffing captures, and monitoring frame health. No overlapping functionalities.
All tools follow the consistent 'tracy_' prefix followed by a verb_noun pattern (e.g., tracy_status, tracy_list_captures, tracy_native_capture, tracy_get_function_costs, tracy_diff_captures, tracy_jank_fps).
Six tools cover the profiling domain comprehensively without being excessive. Each tool is essential for the core workflow: readiness check, capture, query, diff, and frame-level analysis.
The tool surface covers the main profiling workflow (status, capture, costs, diff, frame health). A minor gap is the lack of a tool to delete or manage stored captures, but the set is complete for common tasks.