RustAPI v0.1.501

byโ€ข

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.

6 views

Add a comment

Replies

Best