
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Rust example MCP server using SSE transport that registers an Add tool and connects a RIG agent to prompt an LLM with that tool.
Rust MCP server with SSE transport and an Add tool is cataloged as an MCP server attributed to rggh. A Rust example MCP server using SSE transport that registers an Add tool and connects a RIG agent to prompt an LLM with that tool. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Rust MCP server with SSE transport and an Add tool are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses Server-Sent Events (SSE) transport, with the server running on port 3001 and the SSE endpoint at /sse.
It registers an Add tool documented as adding two numbers together.
The RIG agent is set up with an OpenAI backend.
README.md · eed29bdf49d7 · 采集于 2026-11-13 10:22:33 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
credit : https://dev.to/joshmo_dev/using-model-context-protocol-with-rig-m7o
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 this repo and run with:
cargo run
In a separate terminal start the MCP Inspector with:
npx @modelcontextprotocol/inspector sse http://127.0.0.1:3001/sse
You'll see output like:
Starting MCP inspector...
Proxy server listening on port 3000
New SSE connection
Query parameters: { transportType: 'sse', url: 'http://localhost:3001/sse' }
SSE transport: url=http://localhost:3001/sse, headers=
Connected to SSE transport
Connected MCP client to backing server transport
Created web app transport
Set up MCP proxy
🔍 MCP Inspector is up and running at http://localhost:5173 🚀
You can now view the web interface at http://localhost:5173
ServerSseTransportAddTool, which adds two numbers#[tool(
name = "Add",
description = "Adds two numbers together.",
params(a = "The first number to add", b = "The second number to add")
)]
async fn add_tool(a: f64, b: f64) -> Result<ToolResponseContent> {
Ok(tool_text_content!((a + b).to_string()))
}
This defines the Add tool that is registered in the MCP server.
The main function sets up:
The agent then runs a prompt:
let response = agent.prompt("Add 10 + 10").await;
When run successfully, you'll see logs like:
Initialized: Ok(...)
Tools: Ok([...])
Building RIG agent
Prompting RIG agent
Agent response: Some("20")
mcp_coreMake sure you have these in your Cargo.toml:
[dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1"
serde_json = "1"
mcp_core = "..."
mcp_core_macros = "..."
rig = "..."
Replace
...with the appropriate versions based on your environment.
Visit http://localhost:5173 to view and interact with the MCP Inspector UI.
Query parameters: { transportType: 'sse', url: 'http://localhost:3001/sse' }
Connected to SSE transport
Connected MCP client to backing server transport
Set up MCP proxy
Received message for sessionId cdd4a8be-57e2-44e3-9b81-3df300e86f22
Feel free to open an issue or start a discussion!
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Rust MCP server with SSE transport and an Add tool from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/rig-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.