Backend and security engineers wiring agents to internal MCP tools use this template to configure authorization so tool calls can run without handing long-lived credentials to the agent.
Putting API keys into agent configuration or environment variables, relying on manual key rotation and after-the-fact log review.
Handing credentials directly to an agent means a prompt injection or misuse exposes every authorized system, and it is hard to trace afterwards which call exceeded its scope.