Skip to main content

dcc-mcp-tracy

Tracy frame-profiler capture and offline zone analysis for DCC-MCP.

Tracy is a client/server profiler: the target must be built with Tracy instrumentation (C/C++, Rust, C#, Python, or another supported binding). This adapter controls the official tracy-capture and tracy-csvexport utilities; it does not inject Tracy into an uninstrumented process.

Install

pip install dcc-mcp-tracy

Install Tracy separately and set DCC_MCP_TRACY_CAPTURE and DCC_MCP_TRACY_CSVEXPORT, or put the utilities on PATH. On Windows, if neither is available, the adapter downloads and caches the official latest Tracy release automatically. Set DCC_MCP_TRACY_AUTO_DOWNLOAD=0 to require a local installation; use DCC_MCP_RUNTIME_CACHE to choose the cache root. Linux/macOS currently require explicit Tracy binaries because the official release does not ship those desktop bundles.

Workflow

  1. Build/run the instrumented game, engine, Unity native plugin, Unreal module, or gateway process.
  2. Call tracy_capture__capture_trace with the client address and .tracy output path.
  3. Call tracy_analysis__export_csv, then tracy_analysis__summarize_csv to identify high-variance zones.

The adapter invokes subprocesses with shell=False, validates trace/output extensions, and never accepts a shell command.

Development

uv sync --extra dev
uv run pytest
uv run ruff check src tests

Tracy is maintained independently at https://github.com/wolfpld/tracy.

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_tracy-0.2.3.tar.gz (9.8 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_tracy-0.2.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file dcc_mcp_tracy-0.2.3.tar.gz.

File metadata

  • Download URL: dcc_mcp_tracy-0.2.3.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for dcc_mcp_tracy-0.2.3.tar.gz
Algorithm Hash digest
SHA256 2b762094f9ce2c4ce698938f6d8a3431179dc477368c9c2e19e73d0cc977f5bb
MD5 86d762f54f7b6046cf9c10181675bebc
BLAKE2b-256 e2f293493efcbb54ca6693cb979848f4fa7c4bd3c1ae141e75f3f658ee4d7e3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_tracy-0.2.3.tar.gz:

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

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_tracy-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: dcc_mcp_tracy-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for dcc_mcp_tracy-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4efe6e1c04c4028dc566d29b59fb5661412f9894daac611b32054091fe0e1ff7
MD5 2363c9e224697b3a2a14a20eb9a6ab3d
BLAKE2b-256 b734b3fdb2398ccaf1f9d44b395c9936f743cb9891e1fe319bc06f93ae11b7a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_tracy-0.2.3-py3-none-any.whl:

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

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

Release history Release notifications | RSS feed

0.2.5

2 files

0.2.4

2 files

This release

0.2.3 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page