Tutorials

Hands-on MCP security, one problem at a time

Validating Token Audience in MCP Servers

August 24, 2026 · Granthinge

Resource indicators bind a token to one server; audience validation is what makes the binding real. How to verify the aud claim on every MCP request, with code and the failure modes reviewers look for.

Read more

Serving Protected Resource Metadata

August 20, 2026 · Granthinge

The discovery handshake is the first thing an MCP client runs against your server. A hands-on walkthrough of RFC 9728 protected resource metadata: the pointing 401, the well-known document, and how to test both.

Read more