Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Hello World MCP Server

A basic MCP server implementation featuring two custom tools: Say Hello and Say Goodbye , utilizing rust-mcp-sdk

Overview

This project showcases a fundamental MCP server implementation, highlighting the capabilities of rust-mcp-sdk with these features:

  • Standard I/O transport
  • Custom server handler
  • Basic server capabilities

Running the Example

  1. Clone the repository:
git clone git@github.com:rust-mcp-stack/rust-mcp-sdk.git
cd rust-mcp-sdk
  1. Build the project:
cargo build -p hello-world-mcp-server --release
  1. After building the project, the binary will be located at target/release/hello-world-mcp-server You can test it with MCP Inspector, or alternatively, use it with any MCP client you prefer.
npx -y @modelcontextprotocol/inspector ./target/release/hello-world-mcp-server
Starting MCP inspector...
⚙ Proxy server listening on port 6277
🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀

Here you can see it in action :

hello-world-mcp-server