TraceGuard Core
TraceGuard Core includes a Python governance/evidence library and an optional MCP action-name gate.
MCP gate scope
"TRACEGUARD_ALLOWED_ACTIONS": "[\"read_logs\"]"
Example configuration:
{
"mcpServers": {
"traceguard-core": {
"command": "uvx",
"args": ["traceguard-core"],
"env": {
"TRACEGUARD_ALLOWED_ACTIONS": "[\"read_logs\"]"
}
}
}
}
Install
After the 0.1.7 release is published:
python -m pip install traceguard-core==0.1.7
The distribution name is traceguard-core; the core Python package is traceguard and the MCP adapter is traceguard_core.
Development tests
Pytest is configured to put src/ first on the import path, preventing the legacy root-level traceguard.py script from shadowing the traceguard package during collection. The release checks run the package contract tests directly; unrelated legacy integration tests are not part of this package test command.
python -m pip install -e '.[test]'
python -m pytest -q tests/test_engine_extra.py tests/test_mcp_gate.py
Metadata
Release files for traceguard-core 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| traceguard_core-0.1.7.tar.gz | 20.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| traceguard_core-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.3 kB
Release files / traceguard_core-0.1.7.tar.gz
| Download URL | traceguard_core-0.1.7.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50a333392c93f60741814cae1d222316f4714915462036e3ea7419d19bedd14f
|
|
BLAKE2b-256 checksum How to use checksums |
43a004fbb61b1c5ffcfdcc3055c151fe796a8519a75ee32e0a82070752af5df7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / traceguard_core-0.1.7-py3-none-any.whl
| Download URL | traceguard_core-0.1.7-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d90b13352ff1dade2d8e77ff9dcc5a939562a089297c4d458f1eb3f57a8aceeb
|
|
BLAKE2b-256 checksum How to use checksums |
8d4db9fe57d212cc59b7624e17fe5cc71ea236fb9e09354dc02d532e302d767b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency log