Tracekit MCP Gateway
Lets your AI agent send each tool call through a Tracekit signer that decides, signs and records it.
468 stars on GitHubby Cygnux LabsLicense MITUpdated 18 days ago
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://<tracekit_gateway>/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http tracekit-mcp-gateway https://<tracekit_gateway>/mcp --header "X-Tracekit-Run: <your value>" --header "Authorization: <your value>"
What to fill in
| Name | What it is | Required |
|---|---|---|
X-Tracekit-Run | <run_id>.<run_token> of the agent's run (register_run): new for every run, so the agent framework sets it per run; one typed in once works for one run | Yes |
Authorization | Bearer <token>: the agent's identity, when the gateway's http.authenticators accept a bearer or Kubernetes service account token (else a client certificate) | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Show me what Tracekit would have denied in my agent sessions this week.
Verify the latest run and tell me if the record is intact.
What it is
Tracekit checks each tool call an agent makes before it runs, then signs the call and the decision into a tamper-evident log. This gateway is one you deploy yourself, and agents send each run's token through it. Each run produces one file that can be verified offline.
What it can do
- Check each tool call before it runs: allow, hold or deny
- Sign calls and decisions into a hash chain
- Export one verifiable file per run
tracekit verify: check a run file offlinetracekit audit: review past Claude Code sessions
When to use
- βΊWhen you want to block risky agent actions before they run
- βΊWhen you need a record of what an agent did that it cannot quietly edit
- βΊWhen you want a person to approve certain agent actions
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
agent-decision-receiptsHelps your agent create a tamper-evident, signed receipt for important actions like deleting data or granting access, and verify it later.xerj-security-auditHelps your agent run a whitebox security audit of a codebase, finding every risky call and recording evidence that the review covered them.protect-mcp-setupHelps your agent set up security and create signed logs for tool calls. Useful for projects needing cryptographic auditing or access control.Frequently asked questions
Is it free and open source?
Yes. It uses the MIT license and runs on your own machines.
What does a verified run prove?
The record is intact. It does not prove intent or that a reported tool result is true.
Is dev mode safe?
No. Dev mode runs the signer as your own user and protects nothing against an agent that runs as you.
Which tools does it work with?
Stable support for Claude Code, OpenAI Agents SDK, LangChain and LangGraph, Claude Agent SDK and MCP. Many others are experimental.
Can I try it first?
Yes. Run uvx --from tracekit-ai tracekit demo --server. It needs no API key.
Is there a public witness service?
The readme says no public witness is running yet.
If it does not work
- βΊThe package is tracekit-ai, since tracekit on PyPI is an unrelated project.
- βΊInstall uv or run pip install tracekit-ai, and use Python 3.9 to 3.13 (3.10 or newer for framework integrations).
- βΊRun tracekit last to export and verify your latest run.
5 new skills a week. 1 minute to read.