| Crates.io | rmcp-in-process-transport |
| lib.rs | rmcp-in-process-transport |
| version | 0.2.0 |
| created_at | 2025-04-10 03:14:45.855045+00 |
| updated_at | 2025-09-12 09:38:50.211496+00 |
| description | In-process transport implementation for RMCP |
| homepage | |
| repository | https://github.com/washanhanzi/rmcp-in-process-transport |
| max_upload_size | |
| id | 1627571 |
| size | 52,392 |
use tokio task instead of child process to start the mcp.
// Create and start an in-process service, using the TokioInProcess API
// which is similar to TokioChildProcess
let calculator = Calculator::new(format!("Client #{}", idx));
let tokio_in_process = TokioInProcess::new(calculator).await?;
let service = ().into_dyn().serve(tokio_in_process).await?;