Linkingooo/renderdoc-mcp
MCP server for RenderDoc — AI-assisted GPU frame capture analysis
4911c47b78dfrenderdoc-mcp0.2.0 in pyproject.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
How far the analysis went
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- MEDIUMTools
export_draw_textures,export_mesh,save_render_target,save_textureread or write any file path by design: an agent steered by prompt injection can use them that way.
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.
- Give it only the folder it needs
export_draw_textures,export_mesh,save_render_target,save_texturecan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
export_draw_textures,export_mesh,save_render_targetand 1 more, switch them off. - 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 42 tools, 3 prompts. 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.
analyze_bandwidth, analyze_overdraw, analyze_render_passes, analyze_state_changes, debug_shader_at_pixel, diagnose_mobile_risks and 35 moreNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; 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
No tool was seen returning text from outside the server to the model.
Not all three are present in the tools the scanner traced.
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 (45: 42 tools, 3 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
export_draw_texturestool Batch export all textures bound to a draw call's pixel shader.FilesReads/writes files
Batch export all textures bound to a draw call's pixel shader.
Args:
event_id: The event ID of the draw call.
output_dir: Directory to save exported textures.
skip_small: Skip textures 4x4 or smaller (placeholder textures). Default True.export_meshtool Export mesh data from a draw call as OBJ format.FilesReads/writes files
Export mesh data from a draw call as OBJ format.
Uses post-vertex-shader data to get transformed positions, normals, and UVs.
Args:
event_id: The event ID of the draw call.
output_path: Output file path for the .obj file.save_render_targettool Save the current render target(s) at a specific event.FilesReads/writes files
Save the current render target(s) at a specific event.
Args:
event_id: The event ID to capture the render target from.
output_path: Output file path or directory. If directory, auto-names the file.
save_depth: Also save the depth target (default False).save_texturetool Save a texture resource to an image file.FilesReads/writes files
Save a texture resource to an image file.
Args:
resource_id: The texture resource ID string.
output_path: Absolute path for the output file.
file_type: Output format: png, jpg, bmp, tga, hdr, exr, dds (default: png).
mip: Mip level to save (default 0). Use -1 for all mips (DDS only).
event_id: Optional event ID to navigate to first.analyze_performanceprompt Performance analysis workflow for a captured frame.
Performance analysis workflow for a captured frame.
debug_draw_callprompt Deep-dive analysis of a single draw call.
Deep-dive analysis of a single draw call.
Guides through: pipeline state, shader bindings, constant buffers, render targets.find_rendering_issueprompt Guide AI through diagnosing a rendering problem.
Guide AI through diagnosing a rendering problem.
Start from a user description and systematically check common causes.analyze_bandwidthtool Estimate GPU memory bandwidth consumption for the frame.Files
Estimate GPU memory bandwidth consumption for the frame.
Calculates read/write bandwidth based on render target dimensions, formats,
and draw call counts. Identifies tile load/store operations on mobile GPUs.
Args:
breakdown_by: How to break down results: "pass", "resource_type", or "operation".analyze_overdrawtool Analyze overdraw across the frame or within a specific render pass.Files
Analyze overdraw across the frame or within a specific render pass.
Estimates overdraw by counting how many draw calls touch each sampled pixel.
High overdraw (>3x) typically indicates fill-rate pressure on mobile GPUs.
Args:
pass_name: Optional pass name filter (substring match). Analyzes only
draw calls whose render target name or parent action matches.
region: Optional area {"x":0,"y":0,"width":W,"height":H} to analyze.
Defaults to the main render target's full area.
sample_count: Number of pixels to sample per draw call (default 64).
Higher values are more accurate but slower.analyze_render_passestool Auto-detect render pass boundaries and summarize each pass.Files
Auto-detect render pass boundaries and summarize each pass.
Detects passes by Clear actions and output target changes.
Returns a list of render passes with draw count, RT info, and event range.analyze_state_changestool Analyze pipeline state changes between consecutive draw calls.Files
Analyze pipeline state changes between consecutive draw calls.
Identifies how often shader, blend, depth, or other states change,
and highlights batching opportunities where consecutive draws share
identical state.
Args:
pass_name: Optional pass name filter (substring match).
change_types: List of state aspects to track. Defaults to all.
Valid: "shader", "blend", "depth", "cull", "render_target".close_capturetool Close the currently open capture file and free resources.
Close the currently open capture file and free resources.
debug_shader_at_pixeltool Debug the shader at a specific pixel using RenderDoc's shader debugger.Files
Debug the shader at a specific pixel using RenderDoc's shader debugger.
Executes the shader for the given pixel and returns intermediate variable
values at each step. Useful for tracing negative values, IBL computation
errors, TAA artifacts, and other precision issues.
Note: Shader debugging may not be supported for all API/GPU combinations.
If unsupported, falls back to reporting pixel value and bound shader info.
Args:
event_id: The event ID of the draw call.
pixel_x: X coordinate (render target space, origin top-left).
pixel_y: Y coordinate.
stage: Shader stage to debug: "pixel" (default) or "vertex".
watch_variables: Optional list of variable names to focus on
(e.g. ["color", "iblDiffuse", "exposure"]).
If omitted, all variables are returned (may be large).diagnose_mobile_riskstool Comprehensive mobile GPU risk assessment for the current frame.Files
Comprehensive mobile GPU risk assessment for the current frame.
Checks precision, performance, compatibility, and GPU-specific issues.
Provides prioritized risk list with fix suggestions.
Args:
check_categories: Categories to check. Default: all.
Valid: "precision", "performance", "compatibility", "gpu_specific".
severity_filter: Only return risks of this severity or higher.
"all" (default), "medium", "high".diagnose_negative_valuestool Scan all float render targets for negative/NaN/Inf pixels and trace their origin.Files
Scan all float render targets for negative/NaN/Inf pixels and trace their origin.
Automatically identifies which draw calls first introduce negative values,
checks if TAA/temporal buffers are amplifying them,
and provides root cause candidates with fix suggestions.
Args:
check_targets: Optional list of render target resource IDs to check.
If omitted, checks all floating-point render targets.
trace_depth: How many events to scan backward when tracing the first
event that introduced negative values (default 5).diagnose_precision_issuestool Detect floating-point precision issues in the frame.Files
Detect floating-point precision issues in the frame.
Checks: half-float format limitations (R11G11B10 has no sign bit),
depth buffer precision near far plane, and common precision-sensitive
format choices.
Args:
focus: Which precision aspects to check:
"all" (default), "color_precision", "depth_precision", "format_risks".
threshold: Relative error threshold for reporting (default 0.01 = 1%).diagnose_reflection_mismatchtool Diagnose why a reflection looks different from the original object.Files
Diagnose why a reflection looks different from the original object.
Automatically identifies reflection passes, pairs them with the original
draw calls, compares shaders, blend state, and RT format, then quantifies
the color difference.
Args:
reflection_pass_hint: Name hint for the reflection pass
(e.g. "SceneCapture", "Reflection", "SSR", "Mirror").
Auto-detects if omitted.
object_hint: Name of the object to compare (e.g. "SM_Rock", "Building").
Picks the draw call with largest color difference if omitted.diff_draw_callstool Compare two draw calls and return their state differences.Files
Compare two draw calls and return their state differences.
Useful for understanding what changed between two similar draw calls.
Args:
eid1: Event ID of the first draw call.
eid2: Event ID of the second draw call.disassemble_shadertool Disassemble the shader bound at the specified stage.Files
Disassemble the shader bound at the specified stage.
If target is omitted, tries all available targets in order and returns the
first successful result. Falls back to reflection info if all disassembly fails.
Args:
stage: Shader stage (vertex, hull, domain, geometry, pixel, compute).
target: Disassembly target/format. If omitted, tries all available targets.
event_id: Optional event ID to navigate to first.
line_range: [start_line, end_line] (1-based). Only return lines in this range.
search: Keyword to search in the disassembly. Returns matching lines with
5 lines of context before and after each match.find_drawstool Search draw calls by rendering state filters.Files
Search draw calls by rendering state filters.
Iterates through draw calls checking pipeline state. This can be slow
for large captures as it must set_event for each draw call.
Args:
blend: Filter by blend enabled state (True/False).
min_vertices: Minimum vertex count to include.
texture_id: Only draws using this texture resource ID.
shader_id: Only draws using this shader resource ID.
render_target_id: Only draws targeting this render target.
max_results: Maximum results to return (default 50).get_actiontool Get detailed information about a specific action/draw call.Files
Get detailed information about a specific action/draw call.
Args:
event_id: The event ID of the action to inspect.get_buffer_datatool Read raw data from a buffer resource.Files
Read raw data from a buffer resource.
Args:
resource_id: The buffer resource ID string.
offset: Byte offset to start reading from (default 0).
length: Number of bytes to read (default 256, max 65536).
format: Output format: "hex" for hex dump, "floats" to interpret as float32 array.get_capture_infotool Get information about the currently open capture.Files
Get information about the currently open capture.
Returns API type, file path, action count, texture/buffer counts,
and known GPU quirks based on the detected driver/GPU.get_cbuffer_contentstool Get the actual values of a constant buffer at the specified shader stage.Files
Get the actual values of a constant buffer at the specified shader stage.
Returns a tree of variable names and their current values.
Args:
stage: Shader stage (vertex, hull, domain, geometry, pixel, compute).
cbuffer_index: Index of the constant buffer (from get_shader_reflection).
event_id: Optional event ID to navigate to first.
filter: Case-insensitive substring to match variable names
(e.g. "ibl", "exposure", "taa", "reflection"). Only matching
variables are returned.get_draw_call_statetool Get complete draw call state in a single call.Files
Get complete draw call state in a single call.
Returns action info, blend, depth, stencil, rasterizer, bound textures,
render targets, and shader summaries — everything needed to understand a draw call.
Args:
event_id: The event ID of the draw call to inspect.get_frame_overviewtool Get a frame-level statistics overview of the current capture.Files
Get a frame-level statistics overview of the current capture.
Returns action counts by type, texture/buffer memory totals,
main render targets with draw counts, and estimated resolution.get_pass_timingtool Get per-render-pass or per-draw-call GPU timing estimates.Files
Get per-render-pass or per-draw-call GPU timing estimates.
Note: True GPU timing requires counter support in the capture. When counters
are unavailable, this tool falls back to heuristic estimates based on draw
call complexity (vertex count × texture count).
Args:
granularity: "pass" (group by render pass, default) or "draw_call" (per draw).
top_n: Return only the top N most expensive entries (default 20).get_pipeline_statetool Get the full graphics pipeline state at the current or specified event.Files
Get the full graphics pipeline state at the current or specified event.
Returns topology, viewports, scissors, rasterizer, blend, depth, stencil state,
bound shaders, and output targets.
Args:
event_id: Optional event ID to navigate to first. Uses current event if omitted.get_post_vs_datatool Get post-vertex-shader transformed vertex data for the current draw call.Files
Get post-vertex-shader transformed vertex data for the current draw call.
Args:
stage: Data stage: "vsin" (vertex input), "vsout" (after vertex shader),
"gsout" (after geometry shader). Default: "vsout".
max_vertices: Maximum number of vertices to return (default 100).
event_id: Optional event ID to navigate to first.get_resource_usagetool Get the usage history of a resource across all events.Files
Get the usage history of a resource across all events.
Shows which events read from or write to this resource.
Args:
resource_id: The resource ID string (as returned by other tools).get_shader_bindingstool Get resource bindings for a specific shader stage at the current event.Files
Get resource bindings for a specific shader stage at the current event.
Shows constant buffers, shader resource views (SRVs), UAVs, and samplers.
Args:
stage: Shader stage name (vertex, hull, domain, geometry, pixel, compute).
event_id: Optional event ID to navigate to first.get_shader_reflectiontool Get reflection information for the shader at the specified stage.Files
Get reflection information for the shader at the specified stage.
Returns input/output signatures, constant buffer layouts, and resource bindings.
Args:
stage: Shader stage (vertex, hull, domain, geometry, pixel, compute).
event_id: Optional event ID to navigate to first.get_texture_statstool Get min/max/average statistics for a texture at the current event.Files
Get min/max/average statistics for a texture at the current event.
Args:
resource_id: The texture resource ID string.
event_id: Optional event ID to navigate to first.
all_slices: If True, return per-slice/per-face statistics. Useful for
cubemaps (returns stats for each of the 6 faces) and texture arrays.
Default False returns only slice 0.get_vertex_inputstool Get vertex input layout and buffer bindings at the current event.Files
Get vertex input layout and buffer bindings at the current event.
Shows vertex attributes (name, format, offset), vertex buffer bindings, and index buffer.
Args:
event_id: Optional event ID to navigate to first.list_actionstool List the draw call / action tree of the current capture.Files
List the draw call / action tree of the current capture.
Args:
max_depth: Maximum depth to recurse into children (default 2).
filter_flags: Optional list of ActionFlags names to filter by (e.g. ["Drawcall", "Clear"]).
Only actions matching ANY of these flags are included.
filter: Case-insensitive substring to match against action names
(e.g. "shadow", "taa", "bloom", "reflection").
event_type: Shorthand type filter: "draw", "dispatch", "clear", "copy", "resolve".
Overrides filter_flags if both are provided.list_bufferstool List all buffers in the capture.Files
List all buffers in the capture.
Args:
min_size: Optional minimum byte size to filter by.list_resourcestool List all named resources in the capture.Files
List all named resources in the capture.
Args:
type_filter: Optional resource type substring filter (e.g. "Texture", "Buffer").
name_pattern: Optional regex pattern to filter resource names (case-insensitive).list_texturestool List all textures in the capture.Files
List all textures in the capture.
Args:
filter_format: Optional format substring to filter by (e.g. "R8G8B8A8", "BC7").
min_width: Optional minimum width to filter by.open_capturetool Open a RenderDoc capture (.rdc) file for analysis.Files
Open a RenderDoc capture (.rdc) file for analysis.
Automatically closes any previously opened capture.
Returns capture overview: API type, action count, resource counts.
Args:
filepath: Absolute path to the .rdc capture file.pick_pixeltool Get the RGBA value of a specific pixel in a texture.Files
Get the RGBA value of a specific pixel in a texture.
Args:
resource_id: The texture resource ID string.
x: X coordinate of the pixel.
y: Y coordinate of the pixel.
event_id: Optional event ID to navigate to first.pixel_historytool Get the full modification history of a pixel across all events in the frame.Files
Get the full modification history of a pixel across all events in the frame.
Shows every event that wrote to this pixel, with before/after values and
pass/fail status (depth test, stencil test, etc.).
Args:
resource_id: The texture resource ID (must be a render target).
x: X coordinate of the pixel.
y: Y coordinate of the pixel.
event_id: Optional event ID to navigate to first.read_texture_pixelstool Read actual pixel values from a rectangular region of a texture.Files
Read actual pixel values from a rectangular region of a texture.
Returns float RGBA values for each pixel. Region is capped at 64x64.
Useful for precisely checking IBL cubemap faces, LUT textures, history buffers, etc.
Args:
resource_id: The texture resource ID string.
x: Top-left X coordinate of the region.
y: Top-left Y coordinate of the region.
width: Region width (max 64).
height: Region height (max 64).
mip_level: Mip level to read (default 0).
array_slice: Array slice or cubemap face index (default 0).
Cubemap face order: 0=+X 1=-X 2=+Y 3=-Y 4=+Z 5=-Z.
event_id: Optional event ID to navigate to first.sample_pixel_regiontool Batch-sample pixels from a render target and auto-detect anomalies.Files
Batch-sample pixels from a render target and auto-detect anomalies.
Scans for NaN / Inf / negative values and extreme-bright pixels.
Best tool for locating anomalous color values and IBL / HDR issues.
Args:
event_id: Sample at this event's render target state. Uses current event if omitted.
resource_id: Specific render target resource ID. If omitted, uses the first
color output of the current event.
region: Optional sampling region {"x":0,"y":0,"width":W,"height":H}.
If omitted, samples the full texture uniformly.
sample_count: Number of sample points (default 256, max 1024).
anomaly_threshold: Pixels with any channel exceeding this value are flagged
as extreme-bright (useful for HDR targets). Default 10.0.search_actionstool Search for actions by name pattern and/or flags.Files
Search for actions by name pattern and/or flags.
Args:
name_pattern: Regex pattern to match action names (case-insensitive).
flags: List of ActionFlags names; actions matching ANY flag are included.set_eventtool Navigate the replay to a specific event ID.Files
Navigate the replay to a specific event ID.
This must be called before inspecting pipeline state, shader bindings, etc.
Subsequent queries will reflect the state at this event.
Args:
event_id: The event ID to navigate to.Text the model reads (45)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
sample_pixel_region tool
Batch-sample pixels from a render target and auto-detect anomalies.
Scans for NaN / Inf / negative values and extreme-bright pixels.
Best tool for locating anomalous color values and IBL / HDR issues.
Args:
event_id: Sample at this event's render target state. Uses current event if omitted.
resource_id: Specific render target resource ID. If omitted, uses the first
color output of the current event.
region: Optional sampling region {"x":0,"y":0,"width":W,"height":H}.
If omitted, samples the full texture uniformly.
sample_count: Number of sample points (default 256, max 1024).
anomaly_threshold: Pixels with any channel exceeding this value are flagged
as extreme-bright (useful for HDR targets). Default 10.0.debug_shader_at_pixel tool
Debug the shader at a specific pixel using RenderDoc's shader debugger.
Executes the shader for the given pixel and returns intermediate variable
values at each step. Useful for tracing negative values, IBL computation
errors, TAA artifacts, and other precision issues.
Note: Shader debugging may not be supported for all API/GPU combinations.
If unsupported, falls back to reporting pixel value and bound shader info.
Args:
event_id: The event ID of the draw call.
pixel_x: X coordinate (render target space, origin top-left).
pixel_y: Y coordinate.
stage: Shader stage to debug: "pixel" (default) or "vertex".
watch_variables: Optional list of variable names to focus on
(e.g. ["color", "iblDiffuse", "exposure"]).
If omitted, all variables are returned (may be large).pixel_history tool
Get the full modification history of a pixel across all events in the frame.
Shows every event that wrote to this pixel, with before/after values and
pass/fail status (depth test, stencil test, etc.).
Args:
resource_id: The texture resource ID (must be a render target).
x: X coordinate of the pixel.
y: Y coordinate of the pixel.
event_id: Optional event ID to navigate to first.get_post_vs_data tool
Get post-vertex-shader transformed vertex data for the current draw call.
Args:
stage: Data stage: "vsin" (vertex input), "vsout" (after vertex shader),
"gsout" (after geometry shader). Default: "vsout".
max_vertices: Maximum number of vertices to return (default 100).
event_id: Optional event ID to navigate to first.diff_draw_calls tool
Compare two draw calls and return their state differences.
Useful for understanding what changed between two similar draw calls.
Args:
eid1: Event ID of the first draw call.
eid2: Event ID of the second draw call.analyze_render_passes tool
Auto-detect render pass boundaries and summarize each pass.
Detects passes by Clear actions and output target changes.
Returns a list of render passes with draw count, RT info, and event range.save_texture tool
Save a texture resource to an image file.
Args:
resource_id: The texture resource ID string.
output_path: Absolute path for the output file.
file_type: Output format: png, jpg, bmp, tga, hdr, exr, dds (default: png).
mip: Mip level to save (default 0). Use -1 for all mips (DDS only).
event_id: Optional event ID to navigate to first.get_buffer_data tool
Read raw data from a buffer resource.
Args:
resource_id: The buffer resource ID string.
offset: Byte offset to start reading from (default 0).
length: Number of bytes to read (default 256, max 65536).
format: Output format: "hex" for hex dump, "floats" to interpret as float32 array.pick_pixel tool
Get the RGBA value of a specific pixel in a texture.
Args:
resource_id: The texture resource ID string.
x: X coordinate of the pixel.
y: Y coordinate of the pixel.
event_id: Optional event ID to navigate to first.get_texture_stats tool
Get min/max/average statistics for a texture at the current event.
Args:
resource_id: The texture resource ID string.
event_id: Optional event ID to navigate to first.
all_slices: If True, return per-slice/per-face statistics. Useful for
cubemaps (returns stats for each of the 6 faces) and texture arrays.
Default False returns only slice 0.read_texture_pixels tool
Read actual pixel values from a rectangular region of a texture.
Returns float RGBA values for each pixel. Region is capped at 64x64.
Useful for precisely checking IBL cubemap faces, LUT textures, history buffers, etc.
Args:
resource_id: The texture resource ID string.
x: Top-left X coordinate of the region.
y: Top-left Y coordinate of the region.
width: Region width (max 64).
height: Region height (max 64).
mip_level: Mip level to read (default 0).
array_slice: Array slice or cubemap face index (default 0).
Cubemap face order: 0=+X 1=-X 2=+Y 3=-Y 4=+Z 5=-Z.
event_id: Optional event ID to navigate to first.export_draw_textures tool
Batch export all textures bound to a draw call's pixel shader.
Args:
event_id: The event ID of the draw call.
output_dir: Directory to save exported textures.
skip_small: Skip textures 4x4 or smaller (placeholder textures). Default True.save_render_target tool
Save the current render target(s) at a specific event.
Args:
event_id: The event ID to capture the render target from.
output_path: Output file path or directory. If directory, auto-names the file.
save_depth: Also save the depth target (default False).export_mesh tool
Export mesh data from a draw call as OBJ format.
Uses post-vertex-shader data to get transformed positions, normals, and UVs.
Args:
event_id: The event ID of the draw call.
output_path: Output file path for the .obj file.diagnose_negative_values tool
Scan all float render targets for negative/NaN/Inf pixels and trace their origin.
Automatically identifies which draw calls first introduce negative values,
checks if TAA/temporal buffers are amplifying them,
and provides root cause candidates with fix suggestions.
Args:
check_targets: Optional list of render target resource IDs to check.
If omitted, checks all floating-point render targets.
trace_depth: How many events to scan backward when tracing the first
event that introduced negative values (default 5).diagnose_precision_issues tool
Detect floating-point precision issues in the frame.
Checks: half-float format limitations (R11G11B10 has no sign bit),
depth buffer precision near far plane, and common precision-sensitive
format choices.
Args:
focus: Which precision aspects to check:
"all" (default), "color_precision", "depth_precision", "format_risks".
threshold: Relative error threshold for reporting (default 0.01 = 1%).diagnose_reflection_mismatch tool
Diagnose why a reflection looks different from the original object.
Automatically identifies reflection passes, pairs them with the original
draw calls, compares shaders, blend state, and RT format, then quantifies
the color difference.
Args:
reflection_pass_hint: Name hint for the reflection pass
(e.g. "SceneCapture", "Reflection", "SSR", "Mirror").
Auto-detects if omitted.
object_hint: Name of the object to compare (e.g. "SM_Rock", "Building").
Picks the draw call with largest color difference if omitted.diagnose_mobile_risks tool
Comprehensive mobile GPU risk assessment for the current frame.
Checks precision, performance, compatibility, and GPU-specific issues.
Provides prioritized risk list with fix suggestions.
Args:
check_categories: Categories to check. Default: all.
Valid: "precision", "performance", "compatibility", "gpu_specific".
severity_filter: Only return risks of this severity or higher.
"all" (default), "medium", "high".list_actions tool
List the draw call / action tree of the current capture.
Args:
max_depth: Maximum depth to recurse into children (default 2).
filter_flags: Optional list of ActionFlags names to filter by (e.g. ["Drawcall", "Clear"]).
Only actions matching ANY of these flags are included.
filter: Case-insensitive substring to match against action names
(e.g. "shadow", "taa", "bloom", "reflection").
event_type: Shorthand type filter: "draw", "dispatch", "clear", "copy", "resolve".
Overrides filter_flags if both are provided.get_action tool
Get detailed information about a specific action/draw call.
Args:
event_id: The event ID of the action to inspect.set_event tool
Navigate the replay to a specific event ID.
This must be called before inspecting pipeline state, shader bindings, etc.
Subsequent queries will reflect the state at this event.
Args:
event_id: The event ID to navigate to.search_actions tool
Search for actions by name pattern and/or flags.
Args:
name_pattern: Regex pattern to match action names (case-insensitive).
flags: List of ActionFlags names; actions matching ANY flag are included.find_draws tool
Search draw calls by rendering state filters.
Iterates through draw calls checking pipeline state. This can be slow
for large captures as it must set_event for each draw call.
Args:
blend: Filter by blend enabled state (True/False).
min_vertices: Minimum vertex count to include.
texture_id: Only draws using this texture resource ID.
shader_id: Only draws using this shader resource ID.
render_target_id: Only draws targeting this render target.
max_results: Maximum results to return (default 50).get_pass_timing tool
Get per-render-pass or per-draw-call GPU timing estimates.
Note: True GPU timing requires counter support in the capture. When counters
are unavailable, this tool falls back to heuristic estimates based on draw
call complexity (vertex count × texture count).
Args:
granularity: "pass" (group by render pass, default) or "draw_call" (per draw).
top_n: Return only the top N most expensive entries (default 20).analyze_overdraw tool
Analyze overdraw across the frame or within a specific render pass.
Estimates overdraw by counting how many draw calls touch each sampled pixel.
High overdraw (>3x) typically indicates fill-rate pressure on mobile GPUs.
Args:
pass_name: Optional pass name filter (substring match). Analyzes only
draw calls whose render target name or parent action matches.
region: Optional area {"x":0,"y":0,"width":W,"height":H} to analyze.
Defaults to the main render target's full area.
sample_count: Number of pixels to sample per draw call (default 64).
Higher values are more accurate but slower.analyze_bandwidth tool
Estimate GPU memory bandwidth consumption for the frame.
Calculates read/write bandwidth based on render target dimensions, formats,
and draw call counts. Identifies tile load/store operations on mobile GPUs.
Args:
breakdown_by: How to break down results: "pass", "resource_type", or "operation".analyze_state_changes tool
Analyze pipeline state changes between consecutive draw calls.
Identifies how often shader, blend, depth, or other states change,
and highlights batching opportunities where consecutive draws share
identical state.
Args:
pass_name: Optional pass name filter (substring match).
change_types: List of state aspects to track. Defaults to all.
Valid: "shader", "blend", "depth", "cull", "render_target".get_pipeline_state tool
Get the full graphics pipeline state at the current or specified event.
Returns topology, viewports, scissors, rasterizer, blend, depth, stencil state,
bound shaders, and output targets.
Args:
event_id: Optional event ID to navigate to first. Uses current event if omitted.get_shader_bindings tool
Get resource bindings for a specific shader stage at the current event.
Shows constant buffers, shader resource views (SRVs), UAVs, and samplers.
Args:
stage: Shader stage name (vertex, hull, domain, geometry, pixel, compute).
event_id: Optional event ID to navigate to first.get_vertex_inputs tool
Get vertex input layout and buffer bindings at the current event.
Shows vertex attributes (name, format, offset), vertex buffer bindings, and index buffer.
Args:
event_id: Optional event ID to navigate to first.get_draw_call_state tool
Get complete draw call state in a single call.
Returns action info, blend, depth, stencil, rasterizer, bound textures,
render targets, and shader summaries — everything needed to understand a draw call.
Args:
event_id: The event ID of the draw call to inspect.list_textures tool
List all textures in the capture.
Args:
filter_format: Optional format substring to filter by (e.g. "R8G8B8A8", "BC7").
min_width: Optional minimum width to filter by.list_buffers tool
List all buffers in the capture.
Args:
min_size: Optional minimum byte size to filter by.list_resources tool
List all named resources in the capture.
Args:
type_filter: Optional resource type substring filter (e.g. "Texture", "Buffer").
name_pattern: Optional regex pattern to filter resource names (case-insensitive).get_resource_usage tool
Get the usage history of a resource across all events.
Shows which events read from or write to this resource.
Args:
resource_id: The resource ID string (as returned by other tools).open_capture tool
Open a RenderDoc capture (.rdc) file for analysis.
Automatically closes any previously opened capture.
Returns capture overview: API type, action count, resource counts.
Args:
filepath: Absolute path to the .rdc capture file.close_capture tool
Close the currently open capture file and free resources.
get_capture_info tool
Get information about the currently open capture.
Returns API type, file path, action count, texture/buffer counts,
and known GPU quirks based on the detected driver/GPU.get_frame_overview tool
Get a frame-level statistics overview of the current capture.
Returns action counts by type, texture/buffer memory totals,
main render targets with draw counts, and estimated resolution.disassemble_shader tool
Disassemble the shader bound at the specified stage.
If target is omitted, tries all available targets in order and returns the
first successful result. Falls back to reflection info if all disassembly fails.
Args:
stage: Shader stage (vertex, hull, domain, geometry, pixel, compute).
target: Disassembly target/format. If omitted, tries all available targets.
event_id: Optional event ID to navigate to first.
line_range: [start_line, end_line] (1-based). Only return lines in this range.
search: Keyword to search in the disassembly. Returns matching lines with
5 lines of context before and after each match.get_shader_reflection tool
Get reflection information for the shader at the specified stage.
Returns input/output signatures, constant buffer layouts, and resource bindings.
Args:
stage: Shader stage (vertex, hull, domain, geometry, pixel, compute).
event_id: Optional event ID to navigate to first.get_cbuffer_contents tool
Get the actual values of a constant buffer at the specified shader stage.
Returns a tree of variable names and their current values.
Args:
stage: Shader stage (vertex, hull, domain, geometry, pixel, compute).
cbuffer_index: Index of the constant buffer (from get_shader_reflection).
event_id: Optional event ID to navigate to first.
filter: Case-insensitive substring to match variable names
(e.g. "ibl", "exposure", "taa", "reflection"). Only matching
variables are returned.debug_draw_call prompt
Deep-dive analysis of a single draw call.
Guides through: pipeline state, shader bindings, constant buffers, render targets.find_rendering_issue prompt
Guide AI through diagnosing a rendering problem.
Start from a user description and systematically check common causes.analyze_performance prompt
Performance analysis workflow for a captured frame.
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 — 45 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 45 tool handlers traced
- Reads or writes any file path MEDIUM3 findings in export_draw_textures, export_mesh, save_render_target; 1 more to review
- Requests any addressNo tool sends a request to an address the caller supplies — 45 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 45 tool handlers traced
- Tools that start processesNot seen in the traced code of 45 capabilities; 42 more call code the scanner could not follow, where it may happen
- Tools that touch files41 of 45 capabilities touch files; 1 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 45 capabilities; 42 more call code the scanner could not follow, where it may happen
Where the code is: 45 handlers in 10 files at commit 4911c47b78df
src/renderdoc_mcp/server.pydebug_draw_call, find_rendering_issue, analyze_performancesrc/renderdoc_mcp/tools/advanced_tools.pysample_pixel_region, debug_shader_at_pixel, pixel_history, get_post_vs_data, diff_draw_calls, analyze_render_passessrc/renderdoc_mcp/tools/data_tools.pysave_texture, get_buffer_data, pick_pixel, get_texture_stats, read_texture_pixels, export_draw_textures, save_render_target, export_meshsrc/renderdoc_mcp/tools/diagnostic_tools.pydiagnose_negative_values, diagnose_precision_issues, diagnose_reflection_mismatch, diagnose_mobile_riskssrc/renderdoc_mcp/tools/event_tools.pylist_actions, get_action, set_event, search_actions, find_drawssrc/renderdoc_mcp/tools/performance_tools.pyget_pass_timing, analyze_overdraw, analyze_bandwidth, analyze_state_changessrc/renderdoc_mcp/tools/pipeline_tools.pyget_pipeline_state, get_shader_bindings, get_vertex_inputs, get_draw_call_statesrc/renderdoc_mcp/tools/resource_tools.pylist_textures, list_buffers, list_resources, get_resource_usagesrc/renderdoc_mcp/tools/session_tools.pyopen_capture, close_capture, get_capture_info, get_frame_overviewsrc/renderdoc_mcp/tools/shader_tools.pydisassemble_shader, get_shader_reflection, get_cbuffer_contents
- 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: pyproject.toml
- Lockfiles checked against OSVNothing could be resolved to exact versions; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK versionNo MCP SDK declared in a manifest
- 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 45 capabilities; 42 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 (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
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 | stdio |
| Sign-in | not checked needs the live server |
| Servers in the code | 1 (renderdoc-mcp) |
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-03-05 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | not stated |
| Created | 2026-02-28 |
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.