L
linux-china/mcp-rs-template
Model Context Protocol (MCP) CLI server template for Rust
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
MCP Rust CLI server template
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
=============================
Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications
and external data sources and tools. Whether you’re building an AI-powered IDE, enhancing a chat interface,
or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.
mcp-rs-template is a simple application template that demonstrates how to implement MCP CLI server in Rust.
# How to use template?
1. Clone the repository
2. Modify project information in Cargo.toml and src/mcp/mod.rs
3. Modify server handlers:
src/mcp/prompts.rs: prompts handlers
src/mcp/resources.rs: resources handlers
src/mcp/tools.rs: tools handlers
4. Modify src/mcp/templates/.json if you prefer to use json files for prompts, resources, and tools
mcp-rs-template is based on rust-rpc-router, a JSON-RPC routing
library for Rust.
# CLI options
--mcp: Enable MCP server
--resources: display resources
--prompts: display prompts
--tools: display tools
# How to use MCP CLI server in Claude Desktop?
1. Edit claudedesktopconfig.json: Claude Desktop -> Settings -> Developer -> Edit Config
2. Add the following configuration to the servers section:
json
"mcpServers": {
"current-time": {
"command": "mcp-rs-template",
"args": [
"--mcp"
],
"env": {
"APIKEY": "xxxx"
If you want to check MCP log, please use tail -n 20 -f ~/Library/Logs/Claude/mcp.log.
# References
MCP Specification: https://spec.modelcontextprotocol.io/
Model Context Protocol (MCP): https://modelcontextprotocol.io/introduction
rpc-router: json-rpc routing library - https://github.com/jeremychone/rust-rpc-router/
Zed contextserver: https://github.com/zed-industries/zed/tree/main/crates/contextserver
Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications
and external data sources and tools. Whether you’re building an AI-powered IDE, enhancing a chat interface,
or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.
mcp-rs-template is a simple application template that demonstrates how to implement MCP CLI server in Rust.
# How to use template?
1. Clone the repository
2. Modify project information in Cargo.toml and src/mcp/mod.rs
3. Modify server handlers:
src/mcp/prompts.rs: prompts handlers
src/mcp/resources.rs: resources handlers
src/mcp/tools.rs: tools handlers
4. Modify src/mcp/templates/.json if you prefer to use json files for prompts, resources, and tools
mcp-rs-template is based on rust-rpc-router, a JSON-RPC routing
library for Rust.
# CLI options
--mcp: Enable MCP server
--resources: display resources
--prompts: display prompts
--tools: display tools
# How to use MCP CLI server in Claude Desktop?
1. Edit claudedesktopconfig.json: Claude Desktop -> Settings -> Developer -> Edit Config
2. Add the following configuration to the servers section:
json
"mcpServers": {
"current-time": {
"command": "mcp-rs-template",
"args": [
"--mcp"
],
"env": {
"APIKEY": "xxxx"
If you want to check MCP log, please use tail -n 20 -f ~/Library/Logs/Claude/mcp.log.
# References
MCP Specification: https://spec.modelcontextprotocol.io/
Model Context Protocol (MCP): https://modelcontextprotocol.io/introduction
rpc-router: json-rpc routing library - https://github.com/jeremychone/rust-rpc-router/
Zed contextserver: https://github.com/zed-industries/zed/tree/main/crates/contextserver
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/linux-china-mcp-rs-template/)
- Source
- awesome · https://github.com/linux-china/mcp-rs-template
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.