# mcp-rs-template

> MCP Server

The mcp-rs-template is a Rust application template for implementing Model Context Protocol (MCP) CLI servers, enabling seamless integration between LLM applications and external data sources and tools. The mcp-rs-template is

## Overview

- **Category:** Developer Tools
- **Language:** Rust
- **Stars:** 82
- **Forks:** 6
- **Owner:** linux-china
- **GitHub:** https://github.com/linux-china/mcp-rs-template
- **Created:** 2024-11-30T10:21:20+00:00
- **Updated:** 2025-03-28T08:54:34+00:00
- **Source:** https://model-context-protocol.com/servers/rust-mcp-cli-server-template-model

## Setup

## Setup

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
5. Edit `claude_desktop_config.json`: Claude Desktop -> `Settings` -> `Developer` -> `Edit Config` 
6. Add the configuration to the `servers` section as shown in the example.

## Tools

## Available Tools

1. MCP server (Enables the Model Context Protocol server).
2. Resources (Displays available resources).
3. Prompts (Displays available prompts).
4. Tools (Displays available tools).
