TeamDman_mcp-server-hello

TeamDman_mcp-server-hello

3.2

MCP Rust CLI server template is a simple application template that demonstrates how to implement MCP CLI server in 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. The mcp-rs-template is based on the rust-rpc-router, a JSON-RPC routing library for Rust, and serves as a foundational template for developers to implement MCP CLI servers using Rust. It allows for customization of server handlers and configuration through simple modifications in the project files.

Features

  • Seamless integration with LLM applications and external data sources.
  • Customizable server handlers for prompts, resources, and tools.
  • Based on rust-rpc-router for JSON-RPC routing.
  • CLI options for enabling MCP server and displaying resources, prompts, and tools.
  • Compatible with platforms like Claude Desktop for easy configuration.

Usage with Different Platforms

Claude Desktop


{
   "mcpServers": {
      "current-time": {
         "command": "mcp-rs-template",
         "args": [
            "--mcp"
         ],
         "env": {
            "API_KEY": "xxxx"
         }
      }
   }
}