Crate model_context_protocol

Crate model_context_protocol 

Source
Expand description

§Model Context Protocol

A Rust implementation of the Model Context Protocol (MCP).

This library provides types and traits for building MCP servers and clients.

§Example

use model_context_protocol::Protocol;

// Example usage will be added as the library develops

Structs§

Message
A message in the Model Context Protocol

Enums§

Error
Error types for the protocol
MessageType
Types of messages in the protocol

Constants§

PROTOCOL_VERSION
The current version of the MCP protocol

Traits§

Protocol
Represents the Model Context Protocol interface