Basic API Key Authorization
MCPX supports basic API key authorization for new connections to MCPX.
To enable it, add the following to your app.yaml
:
auth:
enabled: true
At startup, MCPX will read the expected API key from the AUTH_KEY
environment variable.
To authorize, clients must include the key in their request headers:
x-lunar-api-key: YOUR_API_KEY