mcp-rust-example

top-5/mcp-rust-example

3.2

If you are the rightful owner of mcp-rust-example and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This project demonstrates how to create an MCP (Model Context Protocol) HTTP server using the official Rust SDK.

Tools

Functions exposed to the LLM to take actions

increment

Increment the counter by 1

get_counter

Get the current counter value

reset_counter

Reset the counter to zero

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources