RustAPI v0.1.501
Native MCP support! Your API is now an AI agent toolkit.
π Highlights
Full MCP (Model Context Protocol) support via the new rustapi-mcp crate
Automatically expose routes as tools using your existing OpenAPI spec
Tag-based filtering (allowed_tags) so agents only see what you want them to
Real proxied tools/call β every call goes through your normal middleware, extractors, validation, and error handling
Works great with Claude, Cursor, custom agents, etc.
One-liner enablement
.use_mcp(McpConfig::new().allowed_tags(vec!["public", "agent"]))Crate cleanup: Consolidated from 13 crates down to 9. rustapi-testing, jobs, view, and toon are now features instead of separate published crates.
Better observability UX
Dashboard now has route filters + integrated replay browser
Improved replay admin API with pagination and filters
π¦ New / Notable Crates & Features
rustapi-mcp (new)
protocol-mcp / mcp feature on rustapi-rs
New mcp_tools example (HTTP server + MCP sidecar together)
Cookbook: "MCP Integration (Agent Tools)"
π Links
Full Changelog: v0.1.470...v0.1.501
Documentation: https://docs.rs/rustapi-rs
Cookbook MCP recipe: in the docs
Ready for agents. Turn your Rust backend into something LLMs can actually use safely and correctly.
cargo add rustapi-rs --features fullThen just add .use_mcp(...) and you're done.

Replies