MCPS Transport
Transport layer for MCPS secure communications
MCPS (Model Context Protocol Secure) is "The HTTPS of MCP" - providing enterprise-grade security, encryption, and authentication for Model Context Protocol communications.
Overview
The mcps-transport crate provides the transport layer abstraction for MCPS, including:
- 🔒 Secure Transports - TLS, WebSocket, and custom secure protocols
- 📦 Message Framing - Efficient binary protocol with compression
- 🛡️ Connection Management - Automatic reconnection and health monitoring
- 🔐 Transport Security - Certificate validation and cipher suite management
- 📊 Protocol Negotiation - Automatic transport selection and fallback
Features
- Multi-Protocol Support: TLS, WebSocket, TCP, and custom transports
- Zero-Copy Operations: Efficient message handling with minimal allocations
- Automatic Fallback: Graceful degradation to supported protocols
- Connection Pooling: Efficient connection reuse and management
- Monitoring: Built-in metrics and health checking
Quick Start
use ;
async
Supported Transports
- TLS: Secure TCP with TLS 1.3 encryption
- WebSocket: Secure WebSocket connections
- TCP: Plain TCP (development only)
- Unix Socket: Local IPC transport
- Custom: Pluggable transport implementations
Documentation
Related Crates
mcps-core- Core MCPS protocol implementationmcps-crypto- MCPS cryptographic primitivesmcps-protocol- Complete MCPS toolkit
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.
Security
For security vulnerabilities, please see our Security Policy and report issues to security@kindly.dev.