MCP.so
登录

kuri (栗 or くり)

@itsaphel

关于 kuri (栗 or くり)

Ergonomic framework to write MCP Servers in Rust

基本信息

分类

其他

许可证

MIT

运行时

rust

传输方式

stdio

发布者

itsaphel

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

What is kuri?

kuri is a Rust framework for building Model Context Protocol (MCP) servers, focused on developer ergonomics and clarity. It lets you define tools and prompts as plain async Rust functions with minimal macros, so server programming feels like normal Rust.

How to use kuri?

Add kuri and its dependencies (tokio, serde, schemars, etc.) to your Cargo.toml. Then use MCPServiceBuilder to create a service, register tools and prompts via the #[tool] and #[prompt] macros, and serve over the stdio transport with serve(service.into_request_service(), StdioTransport::new()).

Key features of kuri

  • Ergonomic developer experience with minimal macros and boilerplate
  • Tools and prompts are plain async Rust functions
  • Built on the tower ecosystem for middleware (timeouts, tracing)
  • Core MCP lifecycle: initialization, capability negotiation, session control
  • stdio transport included; HTTP streaming transport planned

Use cases of kuri

  • Build reliable MCP servers in Rust for LLM tool execution
  • Create prompt templates for tasks like text summarisation
  • Integrate LLM with external systems via custom, type-safe tools

FAQ from kuri

What sets kuri apart from other MCP server crates?

kuri focuses on minimal use of complex macros, minimal boilerplate, and leverages the tower ecosystem for middleware like timeouts and tracing. It aims to make MCP server programming in Rust extremely pleasant while keeping internals clean and readable.

What are the runtime dependencies of kuri?

kuri requires Rust, as well as tokio, serde, serde_json, schemars, and async-trait (all listed as typical Cargo.toml dependencies).

What MCP features does kuri currently support?

It supports core lifecycle (initialization, capability negotiation), tools (feature complete with tests), prompts (mostly complete with tests), and the stdin/stdout transport. Resources, streaming HTTP transport, completions, and pagination are not yet implemented but are planned for the future.

Does kuri support HTTP transport?

Not yet. The README notes that streaming HTTP transport (per the 2025-03-26 protocol) is on the roadmap but not currently supported. Only stdio transport is available at this time.

评论

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