Skip to content

v0.1.501

Latest

Choose a tag to compare

@Tuntii Tuntii released this 13 Jun 21:39
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.

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


Ready for agents. Turn your Rust backend into something LLMs can actually use safely and correctly.

cargo add rustapi-rs --features full

Then just add .use_mcp(...) and you're done.