-
Notifications
You must be signed in to change notification settings - Fork 76
Description
New Sandbox Project Proposal: MCPS (MCP Secure)
Project Name
MCPS (MCP Secure)
Project Repository
https://github.com/razashariff/mcps
Project Website
Project License
MIT
Project Description
MCPS is a cryptographic security layer for the Model Context Protocol (MCP). It adds agent identity verification, per-message signing, tool definition integrity, and replay protection to MCP communications -- without modifying the core protocol.
MCP is the emerging standard for connecting AI agents to external tools and data sources. However, MCP currently has no built-in mechanism for verifying agent identity, ensuring message integrity, or detecting tool tampering. Research shows 41% of MCP servers have zero authentication and CVE-2025-6514 (CVSS 9.6) demonstrated RCE via tool poisoning.
MCPS addresses this by operating as an envelope around existing JSON-RPC messages, analogous to how TLS wraps HTTP. It provides:
- Agent Passports: ECDSA P-256 cryptographic identity credentials for agents
- Signed Message Envelopes: Per-message signing with nonce + timestamp for integrity and replay protection
- Tool Definition Signatures: Signed tool definitions to detect poisoning and rug pulls
- Trust Levels L0-L4: Progressive trust framework from unsigned through full mutual authentication
- Real-Time Revocation: Compromised agents can be revoked via Trust Authority
OpenSSF Mission Alignment
MCPS improves open source software security by providing cryptographic controls for the MCP ecosystem, which is rapidly becoming critical AI infrastructure (11,000+ registered servers, adopted by Anthropic, OpenAI, Google, Microsoft). The project:
- Secures consumption of OSS: MCP tools are a software supply chain. MCPS applies signing, verification, and pinning to prevent tool poisoning attacks.
- Establishes best practices: Trust levels L0-L4 provide a progressive security maturity model. MCPS mitigates 8 of 10 OWASP MCP security risks.
- Fosters collaboration: Open specification (MIT), reference SDKs for Node.js (npm:
mcp-secure) and Python (PyPI:mcp-secure), 39 agent frameworks scanned publicly.
Proposed Working Group
Best Practices Working Group or Supply Chain Integrity Working Group (defer to TAC guidance).
MCPS defines security best practices for AI agent communication (Best Practices WG alignment) and addresses supply chain integrity for dynamically discovered tool definitions (Supply Chain Integrity WG alignment).
Technical Maturity
| Artifact | Status |
|---|---|
| Specification (SPEC.md) | 2,603 lines, covering all primitives, data structures, verification flows, error codes |
Node.js SDK (mcp-secure) |
Published on npm, zero dependencies |
Python SDK (mcp-secure) |
Published on PyPI, one dependency (cryptography) |
| Test suite | 43 tests passing |
| Website | Live at mcp-secure.dev |
| OWASP alignment | 8/10 MCP risks mitigated, 39 frameworks scanned |
| SEP submission | Submitted to MCP specification process |
| Cryptography | ECDSA P-256 (NIST FIPS 186-4), SHA-256, JWK (RFC 7517) |
Maintainers
- Raza Sharif, CyberSecAI Ltd, @razashariff
- (Actively recruiting 2 additional maintainers from separate organizations)
IP Policy / License Review
Not yet completed. Will initiate upon TAC interest. Project is MIT licensed with no known IP conflicts. All code is original. Node.js SDK has zero dependencies. Python SDK depends only on cryptography (Apache-2.0 / BSD-3-Clause).
Links
- Repo: https://github.com/razashariff/mcps
- Spec: https://github.com/razashariff/mcps/blob/main/SPEC.md
- Website: https://mcp-secure.dev
- npm: https://www.npmjs.com/package/mcp-secure
- PyPI: https://pypi.org/project/mcp-secure/
- OWASP Scan: https://mcp-secure.dev/#scan
- SEP Draft: https://github.com/razashariff/mcps/blob/main/sep/0000-mcps-cryptographic-security-layer.md
Sandbox Stage Application
The full sandbox stage application document is available at:
https://github.com/razashariff/mcps/blob/main/openssf/mcps-sandbox-proposal.md
This application will be submitted as a PR to ossf/tac adding:
process/project-lifecycle-documents/mcps_sandbox_stage.md- An entry in the Projects table in
README.md
Contact
- Author: Raza Sharif
- Organization: CyberSecAI Ltd
- Email: contact@agentsign.dev
- GitHub: @razashariff