| Crates.io | mcps-transport |
| lib.rs | mcps-transport |
| version | 0.1.0 |
| created_at | 2025-06-15 09:19:19.096434+00 |
| updated_at | 2025-06-15 09:19:19.096434+00 |
| description | Transport layer for MCPS secure communications |
| homepage | https://github.com/SamDuchaine/mpcs |
| repository | https://github.com/SamDuchaine/mpcs |
| max_upload_size | |
| id | 1713100 |
| size | 22,247 |
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.
The mcps-transport crate provides the transport layer abstraction for MCPS, including:
use mcps_transport::{Transport, Config, TlsTransport};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Configure secure transport
let config = Config::builder()
.endpoint("mcps://server:8443")
.tls_ca_file("ca.pem")
.build()?;
// Create transport
let transport = TlsTransport::new(config);
// Connect and send message
let mut connection = transport.connect().await?;
connection.send(b"Hello, MCPS!").await?;
let response = connection.receive().await?;
println!("Received: {:?}", response);
Ok(())
}
mcps-core - Core MCPS protocol implementationmcps-crypto - MCPS cryptographic primitivesmcps-protocol - Complete MCPS toolkitLicensed under the Apache License, Version 2.0. See LICENSE for details.
For security vulnerabilities, please see our Security Policy and report issues to security@kindly.dev.