Skip to content

Glossary: Agent Tools and MCP

Middleware

Code in a web app that runs on every request before the route handler. The shop's require_api_key middleware checks the key on /mcp.

Where the book teaches it

Related terms

FastAPIAPI key