rig-mcp-server
4
The project is a Rust-based implementation of a Model Context Protocol (MCP) server utilizing Server-Sent Events for communication. It features a custom tool for adding numbers and integrates with RIG for LLM agent operations.
🔍 Rust MCP Server + Inspector Example: SSE Transport with an Add Tool
This project demonstrates how to set up an MCP (Model Context Protocol) server and client using Server-Sent Events (SSE) for communication. Features include:
- Sets up a custom MCP server using SSE
- Connects a MCP client to the server
- Registers a custom tool: AddTool, which adds two numbers
- Lists registered tools via MCP
- Integrates with RIG for LLM agent prompting
🚀 Getting Started
Clone this repo and run the MCP server. Start the MCP Inspector to view the web interface at http://localhost:5173.
🧰 Tech Stack
- Rust with tokio
- SSE transport from mcp_core
- MCP server/client architecture
- RIG agent with OpenAI model