Skip to main content

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.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for traceguard-core 0.1.8
File Size Uploaded
traceguard_core-0.1.8.tar.gz 20.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for traceguard-core 0.1.8
File Interpreter ABI Platform
traceguard_core-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 36.6 kB

Release files / traceguard_core-0.1.8.tar.gz

Download URL traceguard_core-0.1.8.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5aabccb89ed31be385ed51d5354e310ff1a714cd2a4232bc66ad18899e69e546
BLAKE2b-256 checksum
How to use checksums
0bc231543b81fbec587a585c8173f39bb0cfe67a2060dc5f732f50c7fd5be2d6
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

Release files / traceguard_core-0.1.8-py3-none-any.whl

Download URL traceguard_core-0.1.8-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d1344cfd3b4cbdb929e73c9ad62dbd3ab47fc4990ed534accac2a2d1c236379
BLAKE2b-256 checksum
How to use checksums
c64e58d373d2621356c80ebd5c2ec8cd649868c0b879206d613a6560a42c2e34
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

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release 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