Description
Found by: the security lens in review round 1 of job 033-admin-mcp-server (round-1/review-security.md, note 2), at 7a1cde0e.
rmcp 3.11.0 logs inbound request arguments verbatim at DEBUG (service.rs:1628). With --log-level debug, a settings_set put the target's bot token on stderr twice — and the stdio mode's stderr is exactly where the operator reads the log.
The default is INFO and no MCP caller can raise it, so this is not reachable today; it is reachable by the operator's own --log-level flag.
Fix direction: when the MCP server is composed, install a field filter that drops the SDK's request-argument fields (or a tracing filter scoped to the rmcp target) at DEBUG, and a test that composes at DEBUG, writes a token-bearing setting, and asserts the value never appears on stderr. Documentation alone is the smaller fix but leaves the trap armed.
Activity
feat(cli): port the pnpm run cli surface to Rust (#1203)