MCP.so
登录

MCP Types

@ghbountybot

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

ghbountybot

关于 MCP Types

Model Context Protocol (MCP) Server for Rust

MCP Types 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Types 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

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`.

评论

其他 分类下的更多 MCP 服务器