What does this project do exactly?
It sets up an MCP server with an SSE transport, registers a tool to add two numbers, connects an MCP client, and prompts a RIG agent (using OpenAI) to invoke that tool.
@RGGH
基本信息
Rig MCP Server Example (April 7, 2025)
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"rig-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"sse",
"http://127.0.0.1:3001/sse"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
This project demonstrates how to set up an MCP (Model Context Protocol) 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.
Clone the repository and run cargo run. In a separate terminal, start the MCP Inspector with npx @modelcontextprotocol/inspector sse http://127.0.0.1:3001/sse. Then open http://localhost:5173 in a web browser to view the Inspector UI.
ServerSseTransportAdd tool that adds two numbersIt sets up an MCP server with an SSE transport, registers a tool to add two numbers, connects an MCP client, and prompts a RIG agent (using OpenAI) to invoke that tool.
Rust with tokio, anyhow, serde_json, `mcp_core`, `mcp_core_macros`, and `rig`. The MCP Inspector requires Node.js to run `npx`.
Server-Sent Events (SSE) on port 3001, with the inspector proxy listening on port 3000 and a web UI on port 5173.
Yes, the RIG agent uses an OpenAI model, so a valid OpenAI API key must be set in the environment.
After starting the server and inspector, visit http://localhost:5173 to see the tool list and invoke the `Add` tool. The agent also runs a prompt `"Add 10 + 10"` and prints the response.
Console, Backend and CLI to manage Capgo Instant update and Native build for Capacitor apps Build and upload to app store your mobile app

The tools your AI needs to make your games. Turn prompts into production-ready game assets — animated characters with their weapons attached, seamless textures, terrain, VFX, HUDs — and playable game kits Unity, Godot, U
Query your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up

One case file per task — shared by every session, agent and person that touches it. Self-hosted MCP server and live board. MIT.

评论