rmcp-template

jmagar/rmcp-template
★ 0 stars Rust 🔒 Security Updated 7d ago
Template for building Rust MCP servers with rmcp
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "rmcp-template": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "rmcp-template"
      ]
    }
  }
}

README Excerpt

A reusable Rust template for building MCP servers using the [rmcp](https://crates.io/crates/rmcp) crate. Clone this, rename a handful of identifiers, drop in your API client, and you have a working MCP server with both stdio and Streamable HTTP transports, bearer token or Google OAuth authentication, elicitation support, resources, and prompts.

Tools (20)

EXAMPLE_ACTIONSEXAMPLE_API_KEYEXAMPLE_API_URLEXAMPLE_MCP_ALLOWED_HOSTSEXAMPLE_MCP_ALLOWED_ORIGINSEXAMPLE_MCP_AUTH_ADMIN_EMAILEXAMPLE_MCP_AUTH_MODEEXAMPLE_MCP_GOOGLE_CLIENT_IDEXAMPLE_MCP_GOOGLE_CLIENT_SECRETEXAMPLE_MCP_HOSTEXAMPLE_MCP_NO_AUTHEXAMPLE_MCP_PORTEXAMPLE_MCP_PUBLIC_URLEXAMPLE_MCP_TOKENEXAMPLE_NOAUTHExampleClientExampleConfigExampleRmcpServerExampleServiceRUST_LOG