mcp_authorization v0.7.1

Cookbook

Task-oriented recipes: I want to do X, what do I write?

Task-oriented recipes. The README is the reference โ€” this is "I want to do X, what do I write?"

Every recipe is a complete, copy-pasteable snippet. They build on the handler-example app (a recruiting-workflow server, not yet published as a standalone repo) with three roles โ€” viewer (view_workflows), operator (manage_workflows), and manager (manage_workflows + backward_routing).

The mental model, in one line: your RBS type annotations are the authorization policy. You don't reject requests โ€” you compile a different schema per user, and the gem enforces it on the way in and on the way out.

Collected from COOKBOOK.md in the repository. Edit it there, not here.