iqlusioninc
MCP Serveriqlusionincpublic

mcp types

为模型上下文协议 (MCP) 提供自动生成的 Rust 类型绑定。

Repository Info

1
Stars
2
Forks
1
Watchers
0
Issues
Rust
Language
-
License

About This Server

为模型上下文协议 (MCP) 提供自动生成的 Rust 类型绑定。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

mcp-types

Rust type bindings for the Model Context Protocol (MCP) specification, automatically generated from the protocol's JSON schema using the typify crate.

Overview

This crate provides strongly-typed Rust structs and enums that represent the Model Context Protocol, a JSON-RPC based protocol for communication between LLM clients and servers. The types are automatically generated at build time from the official MCP JSON schema specification.

Motivation

To provide auto-generated and correct bindings for the MCP spec in a crate separate from any client/server implementation code.

Features

  • Complete type definitions for the MCP protocol
  • Serde serialization/deserialization support
  • Generated from the latest MCP schema specification
  • Type-safe interaction with MCP messages
  • Schema validation test coverage

Usage

Add this to your Cargo.toml:

mcp-types = "0.1.0"

or run this from inside your crate directory tree:

cargo add mcp-types

Contributing

Contributions are welcome! Please note that this crate's types are automatically generated from the MCP schema, so most changes will have to do with how the bindings are generated, how types are re-exported, documentation, and other things of that nature. Please do not manually edit generated code.

To contribute, please fork the mcp repo, make a new branch off of main, and make a PR from your fork to main again.

Quick Start

1

Clone the repository

git clone https://github.com/iqlusioninc/mcp-types
2

Install dependencies

cd mcp-types
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Owneriqlusioninc
Repomcp-types
LanguageRust
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation