Skip to main content

Crate rust_zero_mcp

Crate rust_zero_mcp 

Source
Expand description

Model Context Protocol server support.

This crate starts with the stateless form of the 2025-03-26 Streamable HTTP transport. A server can be mounted in any Actix application and shares its normal middleware, listener, and graceful-shutdown lifecycle.

Structs§

McpConfigError
McpError
A handler failure returned as a protocol-compliant JSON-RPC error.
McpServer
Cloneable MCP protocol core and Actix Streamable HTTP handler.
McpServerConfig
Configuration for a Streamable HTTP endpoint.
Prompt
PromptArgument
RequestMetadata
Selected request metadata copied at the HTTP boundary for use by handlers.
Resource
Tool

Constants§

LATEST_PROTOCOL_VERSION