Expand description
Model Context Protocol server (stdio transport). Owner: mcp agent.
Runs rss mcp: exposes the same core operations as MCP tools so agents can call the
tool directly. Implement with rmcp 1.7 (#[tool] / #[tool_router] macros,
serve(stdio())).
§Requirements
- Expose tools that delegate to
crate::core(do not reimplement fetch/parse):fetch_feed { url, content_format?, limit?, since? }→ a single feed’sFeedResult(or the fullFetchOutputfor multiple urls).discover_feeds { site_url }→DiscoverOutput.get_item { feed_url, id }→ oneItem(fetch + find by stable id).get_schema { command }→ the JSON Schema fromcrate::output::schema_for.
- Tool results are JSON (serialize the model types).
- All logging/diagnostics must go to stderr — stdout is the MCP transport.
- Build the
Cacheonce and share it across tool calls.
Functions§
- serve_
stdio - Run the MCP server over stdio until the client disconnects. Owner:
mcpagent.