drio
Open app

MCP Rust CLI server template

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

TeamDman_mcp-server-hello is a Rust CLI server template that implements the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

To use the template, clone the repository, modify the project information in Cargo.toml and src/mcp/mod.rs, and adjust server handlers in the specified Rust files. You can also configure the MCP server in Claude Desktop by editing the claude_desktop_config.json file.

  • Implements the Model Context Protocol for LLM integration - Simple application template for Rust - Customizable server handlers and configurations
  1. Building AI-powered IDEs that require LLM integration
  2. Enhancing chat interfaces with external data sources
  3. Creating custom AI workflows using the MCP framework

Add to your AI client

Use these steps to connect MCP Rust CLI server template in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "teamdman-mcp-server-hello-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-teamdman-mcp-server-hello-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "teamdman-mcp-server-hello-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-teamdman-mcp-server-hello-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "teamdman-mcp-server-hello-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-teamdman-mcp-server-hello-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "teamdman-mcp-server-hello-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-teamdman-mcp-server-hello-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "teamdman-mcp-server-hello-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-teamdman-mcp-server-hello-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "teamdman-mcp-server-hello-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-teamdman-mcp-server-hello-mcp-mirror"
      ]
    }
  }
}

FAQ

What is the Model Context Protocol (MCP)?

MCP is an open protocol that allows LLM applications to connect with external data sources and tools seamlessly.

Is this template suitable for beginners in Rust?

Yes! The template is designed to be simple and provides clear instructions for modification and use.

Where can I find more information about MCP?

You can refer to the MCP Specification and the Model Context Protocol website for detailed information.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":704,"uuid":"198ca3f1-95a8-4eb6-9d00-abaf10bcfbe2","name":"TeamDman_mcp-server-hello","title":"MCP Rust CLI server template","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:26:54.314Z","updated_at":"2025-02-23T07:16:03.264Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp,rust,cli,server,template","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/TeamDman_mcp-server-hello","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]