Overview
What is Rig MCP Server?
Rig MCP Server is a demonstration project that showcases how to set up a Model Context Protocol (MCP) server and client using Server-Sent Events (SSE) for communication. It includes a simple tool that adds two numbers and integrates with the RIG agent for LLM prompting.
How to use Rig MCP Server?
To use the Rig MCP Server, clone the repository and run the server using cargo run. In a separate terminal, start the MCP Inspector with the command npx @modelcontextprotocol/inspector sse http://127.0.0.1:3001/sse. You can then access the web interface at http://localhost:5173.
Key features of Rig MCP Server?
- Sets up a custom MCP server using ServerSseTransport.
- Connects a MCP client to the server.
- Registers a custom tool: AddTool, which adds two numbers.
- Lists registered tools via MCP.
- Integrates with RIG and prompts an LLM agent using the tool.
Use cases of Rig MCP Server?
- Demonstrating the setup of an MCP server and client.
- Providing a simple tool for adding numbers.
- Integrating with LLM agents for enhanced functionality.
FAQ from Rig MCP Server?
- What programming language is used for Rig MCP Server?
The project is developed in Rust.
- How can I view the MCP Inspector UI?
You can view the MCP Inspector UI by visiting http://localhost:5173.
- Is there a way to contribute to the project?
Yes! You can open an issue or start a discussion on the GitHub repository.