Model Context Protocol (MCP) CLI server template for Rust
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.
Cargo.toml and src/mcp/mod.rssrc/mcp/prompts.rs: prompts handlerssrc/mcp/resources.rs: resources handlerssrc/mcp/tools.rs: tools handlerssrc/mcp/templates/*.json if you prefer to use json files for prompts, resources, and toolsmcp-rs-template is based on rust-rpc-router, a JSON-RPC routing library for Rust.
--mcp: Enable MCP server--resources: display resources--prompts: display prompts--tools: display toolsclaude_desktop_config.json: Claude Desktop -> Settings -> Developer -> Edit Configservers section:{
"mcpServers": {
"current-time": {
"command": "mcp-rs-template",
"args": [
"--mcp"
],
"env": {
"API_KEY": "xxxx"
}
}
}
}
If you want to check MCP log, please use tail -n 20 -f ~/Library/Logs/Claude/mcp*.log.
Mcp Crypto Price
A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.
Dubco Mcp Server
MCP server for Dub.co link shortener API integration
Raindrop Io Mcp Server
MCP server that enables MCP to make REST API calls
Get Python Docs
This Model Context Protocol (MCP) server enables LLMs like Claude to perform internet research using the Perplexity API. It provides real-time, up-to-date information with source citations.