model-context-protocol 0.1.0

A Rust implementation of the Model Context Protocol (MCP)
Documentation
model-context-protocol-0.1.0 has been yanked.

model-context-protocol

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

Overview

This library provides a foundation for building MCP servers and clients in Rust. The Model Context Protocol enables seamless communication between AI models and context providers.

Installation

Add this to your Cargo.toml:

[dependencies]
model-context-protocol = "0.1.0"

Usage

use model_context_protocol::{Protocol, Message, MessageType};

// Example usage - more documentation coming soon

Features

  • Core protocol types and traits
  • Message serialization/deserialization
  • Async support with Tokio
  • Type-safe error handling

Development Status

This library is in early development. The API is subject to change.

License

MIT