Basic information
About Model Context Protocol (MCP) Types Server
Model Context Protocol (MCP) Server for Rust
Model Context Protocol (MCP) Types is a MCP server in the Other category listed in the AddMCP.net directory, published by ghbountybot. Supported transport: stdio. Runtime: rust. License: MIT. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: ai-models, mcp, rust.
Model Context Protocol (MCP) Types config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
Model Context Protocol (MCP) Types tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Model Context Protocol (MCP) Types?
Model Context Protocol (MCP) Types is a Rust crate providing strongly-typed bindings generated from the official Model Context Protocol (MCP) JSON Schema (version 2024-11-05). It gives developers idiomatic Rust types for the MCP specification, with full serde support, to standardize context exchange between AI models and their runtime environments.
How to use Model Context Protocol (MCP) Types?
Import the types module in your Rust code with use mcp::types::*;. The types are pre-generated using typify and require serde for serialization.
Key features of Model Context Protocol (MCP) Types
- Strongly-typed Rust bindings for MCP specification
- Generated from official JSON Schema (2024-11-05)
- Full serde support
- Uses typify for schema-to-Rust conversion
Use cases of Model Context Protocol (MCP) Types
- Building MCP clients or servers in Rust
- Exchanging context data between AI models and runtimes
- Ensuring type-safe MCP message handling
Frequently asked questions
1 What schema version does this crate use?
Version 2024-11-05 of the Model Context Protocol specification.
2 How do I import the types?
Use use mcp::types::*; in your Rust code.
3 What dependencies are required?
The crate requires serde and is generated using typify.
4 Where do the types come from?
They are automatically generated from the official MCP JSON Schema hosted at https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In