About Mcp_rs
Mcp_rs is a simple MCP server written in Rust for developers exploring how to build one. Its workspace separates controller, domain, protocol, resources, tools, and transport responsibilities.
Key features
- 01Rust-based MCP server
- 02Layered workspace structure
- 03JSON-RPC 2.0 definitions
- 04stdio transport implementation
Use cases
- 01Reviewing Rust MCP server module boundaries
- 02Launching and inspecting the server with Inspector
MCP support
It implements an MCP server with resources and tools, using stdio transport.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp_rs
article
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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.