Rig
CreatedRGGH
Demonstrates how to set up a Model Context Protocol (MCP) server and client using Server-Sent Events (SSE) for LLM prompting.
About
This project offers an example implementation of an MCP server using Rust and Server-Sent Events (SSE). It showcases how to connect an MCP client, register a custom tool (AddTool) for adding two numbers, and integrate with a RIG agent for prompting large language models (LLMs). The included MCP Inspector provides a web interface for interacting with the server and inspecting its state, making it a useful starting point for building more complex MCP-based applications.
Key Features
- Integrates with RIG and prompts an LLM agent using the tool
- Lists registered tools via MCP
- 0 GitHub stars
- Sets up a custom MCP server using ServerSseTransport
- Registers a custom tool: AddTool, which adds two numbers
- Connects a MCP client to the server
Use Cases
- Developing MCP servers with Server-Sent Events (SSE)
- Integrating LLMs with existing applications using MCP
- Building custom tools for LLM prompting