螺旋MCP RS
用于构建模型上下文协议(MCP)服务器的高性能Rust工具包。专为需要速度、安全性和可靠性的开发人员而设计。
特性
- 类型安全MCP:MCP规范的完全Rust实现
- 内置服务器:GitHub、文件系统、PostgreSQL的预构建服务器
- 异步/等待:基于tokio构建,实现最大并发性
- TypeScript绑定:生成TS类型和客户端代码
- 零拷贝:高效序列化,分配最少
板条箱
helix-core:核心MCP协议实现helix-servers/github:GitHub API MCP服务器helix-servers/filesystem:文件系统操作MCP服务器helix-servers/postgres:PostgreSQL查询MCP服务器
快速开始
# Build all crates
cargo build --release
# Run example server
cargo run --example github_server
# Generate TypeScript bindings
cargo run --bin helix-bindgen例子
看 examples/ 使用示例目录。
许可证
麻省理工学院
