OAuth (recommended)
The MCP server uses OAuth 2.1 for user authentication. When you connect through supported clients, you’re prompted to authorize access via your browser.API key authentication
For programmatic access or service-to-service authentication, you can use your Kernel API key instead of OAuth. Add your API key to the MCP configuration:- Automated workflows and CI/CD pipelines
- Server-to-server integrations
- Environments where OAuth flows are not practical
API keys bypass the OAuth flow but still require valid Kernel credentials. Keep your API key secure and don’t expose it in client-side code.