Skip to main content

RenderDoc capture and replay automation skills for DCC-MCP

Project description

dcc-mcp-renderdoc

RenderDoc capture and replay automation for the DCC Model Context Protocol ecosystem.

The adapter is headless-first: it reuses the official renderdoccmd executable for capture and conversion, so agents can automate graphics regression triage without keeping the RenderDoc GUI open or installing a second bridge.

Install

pip install dcc-mcp-renderdoc

Install RenderDoc separately, then expose its command line tool with either PATH or:

export DCC_MCP_RENDERDOC_CMD=/opt/renderdoc/bin/renderdoccmd
dcc-mcp-renderdoc

On Windows, set the variable to renderdoccmd.exe.

Each adapter instance uses an OS-assigned MCP port and registers it for CLI discovery. Connect through the stable gateway at http://127.0.0.1:9765/mcp; set DCC_MCP_RENDERDOC_PORT only when a fixed direct endpoint is required.

Agent workflows

  • Launch a game or test executable under RenderDoc and wait for a typed .rdc capture.
  • Trigger F12 automatically after a configurable delay, with optional child-process window focus.
  • Inject into a visible Windows process that had to be launched by a platform client, then trigger and collect a capture.
  • Inspect capture driver, machine identity, chunk version, API-call counts, and representative calls.
  • Export a capture thumbnail for visual review.
  • Export Chrome trace JSON for timeline tooling.

The capture tool launches only the explicit executable and arguments supplied by the caller. It never invokes a shell. Analysis tools are read-only with respect to the .rdc input.

For interactive Windows programs, pass trigger_after_secs to capture_program. When a launcher creates the rendered child process, also pass trigger_process_name. Use capture_process only when the target is already running; late injection may not capture graphics devices created before RenderDoc was attached.

Real CI

CI discovers the current stable RenderDoc build from the official downloads page. It compiles a small OpenGL program, captures a real frame under Xvfb, calls the MCP analysis tool against the resulting .rdc, and verifies thumbnail and timeline exports.

Development

uv sync --extra dev
uv run python -m pytest
uv run ruff check src tests tools
uv run python tools/lint_skills.py

RenderDoc is an MIT-licensed graphics debugger maintained independently at renderdoc.org. This adapter is not affiliated with the RenderDoc project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcc_mcp_renderdoc-0.3.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcc_mcp_renderdoc-0.3.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file dcc_mcp_renderdoc-0.3.0.tar.gz.

File metadata

  • Download URL: dcc_mcp_renderdoc-0.3.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dcc_mcp_renderdoc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 24f687b5f1969b302c38da8c400279f9e0aa830f0aba88c175d8abd0219d9ac5
MD5 7daf058f2cb3e56ae07b5599f7712d29
BLAKE2b-256 7b0681a90a5d9b9c95132804531876a8f22e9909b38b94c5c19d21ec371f4184

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_renderdoc-0.3.0.tar.gz:

Publisher: release.yml on dcc-mcp/dcc-mcp-renderdoc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dcc_mcp_renderdoc-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dcc_mcp_renderdoc-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8d0290c825c6e167acade9d1fbdaafc2c5e42edc06eaca6506acde251d4aa17
MD5 b0e9be16dfe13df92e38a66556c5d77e
BLAKE2b-256 dbef0966f1657f016669be5b57bdc5657f140a3863aac459979e1f2a15b1f0be

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_renderdoc-0.3.0-py3-none-any.whl:

Publisher: release.yml on dcc-mcp/dcc-mcp-renderdoc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page