Skip to main content
Glama

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\"]"
      }
    }
  }
}

Related MCP server: reasongate

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

Available Tools

1 tool
traceguard_check_actionA

Return ALLOW or BLOCK for an exact action name using the configured TRACEGUARD_ALLOWED_ACTIONS allowlist. This tool does not execute the action. Arguments are not checked against per-tool schemas.

Inputs: arguments (required), target_tool (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only a single tool, there is no possibility of confusion or overlap with another tool. The tool's purpose is clearly stated as an allow/block check for exact action names.

    Naming Consistency5/5

    The single tool name `traceguard_check_action` follows a clear verb_noun snake_case pattern with a consistent prefix. There are no other names to conflict with, so consistency is trivially perfect.

    Tool Count2/5

    A server named 'TraceGuard Core' with only one tool feels too thin for its apparent scope of policy enforcement. The tool itself is substantive, but a core authorization service typically requires more operations (e.g., managing the allowlist, listing allowed actions).

    Completeness2/5

    The surface only checks actions against a pre-configured allowlist. There is no way to inspect or modify the allowlist, validate arguments, or execute actions, leaving significant gaps for a policy server. Agents cannot manage or audit the policy through this server.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Sits in front of any MCP server to enforce allow/ask/block policies on tool calls, paths, shell commands, and network domains, with local approval prompts and an audit log.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Provenance gateway for stdio MCP servers. Runs in front of any MCP server, drafts a policy per tool from the server's own schemas, and blocks a tools/call whose destination or content came from an untrusted tool result, regardless of wording. The blocked call is returned as an error result with the provenance chain. Python, Apache-2.0, pip install reasongate.
      14
      21 PyPI
      17
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides an MCP stdio interface for AI agents to propose tool calls that are validated against task policy, held for human approval when required, executed in a sandboxed Linux environment, and recorded in an audit log.
      MIT