Skip to main content

Crate gaze_mcp_rmcp

Crate gaze_mcp_rmcp 

Source
Expand description

§gaze-mcp-rmcp

§Scope

gaze-mcp enforces the chokepoint on the data-source ↔ model path. Any data flowing from a source through an MCP tool to the model passes through PiiEnvelope::dispatch and is redacted before the model sees it.

gaze-mcp does not cover the user ↔ model path. Pasted text, uploaded files, and screenshots in the agent host’s chat UI reach the model unredacted. For that axis, see gaze-proxy (planned for v0.8 — multi-vendor reverse proxy supporting Anthropic, OpenAI, Gemini).


gaze-mcp-rmcp is the rmcp (MCP Rust SDK) transport sink for gaze-mcp-core. It exposes a RmcpFrontend implementing gaze_mcp_core::Frontend, wiring rmcp’s tools/list and tools/call flow through the chokepoint runtime.

§Stability

This crate re-exports types from rmcp 1.x. There is no SemVer guarantee on rmcp re-exports — major rmcp bumps may force breaking releases of gaze-mcp-rmcp.

Re-exports§

pub use crate::error::RmcpFrontendError;
pub use crate::frontend::FixedPrincipalResolver;
pub use crate::frontend::PrincipalResolver;
pub use crate::frontend::RmcpFrontend;
pub use crate::frontend::RmcpFrontendConfig;
pub use crate::frontend::RmcpPrincipalError;
pub use crate::frontend::RmcpTransport;

Modules§

adapter
rmcp ↔ gaze-mcp-core wire-type translation.
error
Error types surfaced by the rmcp frontend.
frontend
rmcp-backed gaze_mcp_core::Frontend implementation.