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

Five Findings That Fail MCP Security Reviews

August 11, 2026 · Granthinge

Most first MCP servers work in the demo and stall in the customer's vendor review, for five consistent reasons: API keys instead of authorization, token passthrough, unscoped tools, no usable audit, and trusted tool text.

Read more

OAuth 2.1 for MCP Servers

July 27, 2026 · Granthinge

'We support OAuth' and 'we implement the MCP authorization flow correctly' are different claims, and the gap between them is what a reviewer checks.

Read more