Skip to main content

trusted-mcp

Security proxy for MCP (Model Context Protocol) connections

CI PyPI version Python versions License

Part of the AumOS open-source agent infrastructure portfolio.


Features

  • InterceptorChain pipeline that applies an ordered sequence of scanners to every tool call request, response, and tool definition — short-circuits on the first BLOCK result
  • Scanner ABC for building custom scanners; ships with RegexScanner, AllowlistScanner, PiiScanner, ArgumentScanner, and DescriptionHashScanner out of the box
  • Tool description hash verification detects MCP tool-poisoning attacks where a server's tool descriptions change between sessions
  • YAML policy config maps scanner slugs to settings, making the security profile fully declarative and version-controlled
  • JSON audit logger writes an append-only record of every PASS/WARN/BLOCK decision with scanner name, reason, tool name, and server name
  • Native adapters for Claude Desktop, Cursor, and VS Code that inject the proxy transparently into each client's MCP configuration
  • Extensible scanner registry via Python entry-points — third-party scanners install and register without modifying the proxy codebase

Quick Start

Install from PyPI:

pip install trusted-mcp

Verify the installation:

trusted-mcp version

Basic usage:

import trusted_mcp

# See examples/01_quickstart.py for a working example

Documentation

Enterprise Upgrade

For production deployments requiring SLA-backed support and advanced integrations, contact the maintainers or see the commercial extensions documentation.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.

License

Apache 2.0 — see LICENSE for full terms.


Part of AumOS — open-source agent infrastructure.

Metadata

Release files for aumos-trusted-mcp 0.2.0

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

Source distribution (sdist)

Source distribution for aumos-trusted-mcp 0.2.0
File Size Uploaded Provenance
aumos_trusted_mcp-0.2.0.tar.gz 146.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aumos-trusted-mcp 0.2.0
File Interpreter ABI Platform
aumos_trusted_mcp-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 272.1 kB

Release files / aumos_trusted_mcp-0.2.0.tar.gz

Download URL aumos_trusted_mcp-0.2.0.tar.gz
Size 146.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a2539f02cdf1fc04799841659a37e2bee575e4250d0d921410a52d0af773c418
BLAKE2b-256 checksum
How to use checksums
7bc54b35f4f79772ddf09b75d9b3fd5e8b40c985280a468317dba91c1e9122f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / aumos_trusted_mcp-0.2.0-py3-none-any.whl

Download URL aumos_trusted_mcp-0.2.0-py3-none-any.whl
Size 126.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a74647d0af10bc6203eb8a3e2d25ffe3b6158fa0e989441b536d467acb58245
BLAKE2b-256 checksum
How to use checksums
c0211184bbc3595c865fc6935ad18e9eabe1f2a767ebef807e3cf6816927ae3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for aumos-trusted-mcp 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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