mcp_rs logo

mcp_rs

by inomata137

mcp_rs is a Rust implementation of an MCP (Model Context Protocol) server. It provides a structured architecture for handling methods and managing core entities.

View on GitHub

Last updated: N/A

mcp_rs

article

Rustで自作MCPサーバー

usage

bunx @modelcontextprotocol/inspector cargo run -qr

architecture

workspace members

| name | description | | - | - | | controller | method-handler mapping | | domain | core entities and repository traits | | jsonrpc | JSON-RPC 2.0 definition | | protocol | usecase definitions | | resources | resources implementation | | tools | tools implementation | | transport | stdio implementation |

dependency graph
graph TB
    transport --> jsonrpc
    controller --> jsonrpc
    controller --> protocol
    protocol --> jsonrpc
    protocol --> domain
    resources --> domain
    tools --> domain