Skip to main content

MCP Trust Proxy

MCP proxy server that wraps any MCP tool with AgentMesh trust verification.

Agents must present a valid identity (DID) and meet trust thresholds before accessing tools.

Features

  • TrustProxy: Intercepts MCP tool calls and verifies agent identity
  • ToolPolicy: Per-tool trust score thresholds and capability requirements
  • AuditLog: Full audit trail of all tool access attempts

Quick Start

from mcp_trust_proxy import TrustProxy, ToolPolicy

proxy = TrustProxy(
    default_min_trust=300,
    tool_policies={
        "file_write": ToolPolicy(min_trust=800, required_capabilities=["fs_write"]),
        "shell_exec": ToolPolicy(min_trust=900, blocked=True),
    },
)

# Agent requests tool access
result = proxy.authorize(
    agent_did="did:mesh:agent-1",
    agent_trust_score=600,
    agent_capabilities=["fs_read", "search"],
    tool_name="file_read",
)
assert result.allowed

Metadata

Release files for agentmesh_mcp_proxy 3.7.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 agentmesh_mcp_proxy 3.7.0
File Size Uploaded Provenance Actions
agentmesh_mcp_proxy-3.7.0.tar.gz 7.1 kB Without provenance Details for agentmesh_mcp_proxy-3.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentmesh_mcp_proxy 3.7.0
File Interpreter ABI Platform Actions
agentmesh_mcp_proxy-3.7.0-py3-none-any.whl Python 3 none any Details for agentmesh_mcp_proxy-3.7.0-py3-none-any.whl

Total release size: 13.1 kB

Release files / agentmesh_mcp_proxy-3.7.0.tar.gz

Download URL agentmesh_mcp_proxy-3.7.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aecfd65ed67ff2fb46f6f68b49affff143363b35edc3c90852245d326c8a7e42
BLAKE2b-256 checksum
How to use checksums
693296f41c141b564f760e08416d1b477da845318bfaa6263abc756ca4f796a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / agentmesh_mcp_proxy-3.7.0-py3-none-any.whl

Download URL agentmesh_mcp_proxy-3.7.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62e0eb1cb273a0b411058eb85623686b911ee0a2d499e13a24031206f0968f2f
BLAKE2b-256 checksum
How to use checksums
4e55138fed28a8f6ec80d4fb5df538d8c54a66e6057fc2168e19379398673dff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Security for agentmesh_mcp_proxy 3.7.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.

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