cMCP is designed to provide a confidential and secure way to operate MCP by enforcing tool-call policies within a hardware Trusted Execution Environment (TEE). It intercepts and evaluates each tool call against a Cedar policy, ensuring that actions are validated and tamper-evident TRACE Claims are produced, enhancing security without compromising functionality.
cMCP, short for Confidential MCP Runtime, provides a secure and confidential approach to running the MCP (Managed Control Plane). This open-source gateway enforces tool-call policies inside a hardware Trusted Execution Environment (TEE), ensuring that the agent it governs cannot access it.
Software-only governance methods cannot guarantee that the policy engine itself is secure. Potential vulnerabilities include:
cMCP mitigates these risks by running its policy engine within a TEE, where it is protected from the processes it governs. The policy bundle hash is securely measured into the hardware attestation report prior to execution, making the system resilient against common attack vectors.
Start utilizing cMCP with minimal setup to solidify tool-call policies and generate TRACE Claims:
pip install cmcp-runtime
Create a configuration file, cmcp-config.yaml, and specify your desired options:
attestation:
provider: auto # automatically selects the best available TEE provider
enforcement_mode: advisory # adjust as needed: enforcing or silent modes available
policy_bundle_path: ./policies/
catalog_path: ./catalog.json
Start the gateway to begin enforcing policies:
CMCP_DEV_MODE=1 cmcp start --config cmcp-config.yaml
For comprehensive documentation, including details on configuration, enforcement modes, and supported TEE providers, please visit the official documentation.
cMCP aligns with several security standards, ensuring that implemented solutions adhere to recognized security principles and practices.
No comments yet.
Sign in to be the first to comment.