rig-mcp-server

rig-mcp-server

3.4

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

This project demonstrates how to set up an MCP server and client using Server-Sent Events (SSE) for communication, including a tool that adds two numbers and integrates with the RIG agent for LLM prompting.

The Rust MCP Server + Inspector Example is a project that showcases the implementation of a Model Context Protocol (MCP) server and client using Server-Sent Events (SSE) for communication. It features a simple tool, 'AddTool', which performs addition of two numbers. The project integrates with the RIG agent, allowing for LLM prompting. The setup involves running the MCP server and using the MCP Inspector to monitor and interact with the server through a web interface. The project is built using Rust, leveraging the tokio library for asynchronous operations, and includes dependencies such as mcp_core and rig for MCP server/client architecture and LLM integration, respectively.

Features

  • Custom MCP Server: Sets up a custom MCP server using ServerSseTransport.
  • MCP Client Connection: Connects a MCP client to the server.
  • AddTool: Registers a custom tool that adds two numbers.
  • Tool Listing: Lists registered tools via MCP.
  • RIG Integration: Integrates with RIG and prompts an LLM agent using the tool.

Tools

  1. AddTool

    A tool that adds two numbers together.