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
- Build/run the instrumented game, engine, Unity native plugin, Unreal module, or gateway process.
- Call
tracy_capture__capture_tracewith the client address and.tracyoutput path. - Call
tracy_analysis__export_csv, thentracy_analysis__summarize_csvto 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dcc_mcp_tracy-0.2.1.tar.gz.
File metadata
- Download URL: dcc_mcp_tracy-0.2.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bf3c3f4aab705bd420cf1b2971772f34630261ecef1b5c0eca6d179083952b5
|
|
| MD5 |
5dffeeb2c5f76a929f91416c9baa2f84
|
|
| BLAKE2b-256 |
d02df2b06e15454d2e7c721d86b0581ea5645e257e8e977e6502fcbc48314383
|
Provenance
The following attestation bundles were made for dcc_mcp_tracy-0.2.1.tar.gz:
Publisher:
release.yml on dcc-mcp/dcc-mcp-tracy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcc_mcp_tracy-0.2.1.tar.gz -
Subject digest:
9bf3c3f4aab705bd420cf1b2971772f34630261ecef1b5c0eca6d179083952b5 - Sigstore transparency entry: 2237885966
- Sigstore integration time:
-
Permalink:
dcc-mcp/dcc-mcp-tracy@f8961ceaf2048002cd43f03cd1435db05a3a2b4b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dcc-mcp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f8961ceaf2048002cd43f03cd1435db05a3a2b4b -
Trigger Event:
push
-
Statement type:
File details
Details for the file dcc_mcp_tracy-0.2.1-py3-none-any.whl.
File metadata
- Download URL: dcc_mcp_tracy-0.2.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d25acd0374554dc944e6798d576dcf557c40384a0c1425eba30bb15c848ca071
|
|
| MD5 |
73917c7b2026bd062eca7735bc893724
|
|
| BLAKE2b-256 |
f3781b7970ae7ffe1aa02f999a07b115234facd1b587789d14bb689ca0829dc2
|
Provenance
The following attestation bundles were made for dcc_mcp_tracy-0.2.1-py3-none-any.whl:
Publisher:
release.yml on dcc-mcp/dcc-mcp-tracy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcc_mcp_tracy-0.2.1-py3-none-any.whl -
Subject digest:
d25acd0374554dc944e6798d576dcf557c40384a0c1425eba30bb15c848ca071 - Sigstore transparency entry: 2237886161
- Sigstore integration time:
-
Permalink:
dcc-mcp/dcc-mcp-tracy@f8961ceaf2048002cd43f03cd1435db05a3a2b4b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dcc-mcp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f8961ceaf2048002cd43f03cd1435db05a3a2b4b -
Trigger Event:
push
-
Statement type: