Two levels of server auth
Caylex supports two levels of authentication for each server:- User-level auth
- Project-level auth
Each end user provides their own credentials for the server. When the agent executes a tool on behalf of a user, the Navigator uses that user’s personal credentials.How it works:
- Each user authenticates individually via an Auth Link
- The Navigator stores each user’s credentials separately
- Tool calls use the credentials of the specific user identified by
x-user-email
- Personal data services (email, calendar, personal notes)
- Services where each user has their own account (GitHub, Slack)
- Scenarios requiring per-user data isolation and audit trails
Supported auth methods
Caylex supports the following authentication methods for connecting to external MCP servers:| Method | Description | Credential storage |
|---|---|---|
| OAuth | Standard OAuth 2.0 flow with PKCE support | Tokens managed by identity provider |
| Header | API keys or Bearer tokens sent as HTTP headers | Encrypted in AWS Parameter Store |
| Path | Credentials embedded in the URL path | Encrypted in AWS Parameter Store |
| Query | Credentials passed as URL query parameters | Encrypted in AWS Parameter Store |
| No Auth | No authentication required | N/A |
Caylex never stores raw secrets in its database. OAuth tokens are managed by the identity provider, and all other credentials are stored in AWS Parameter Store. The database only stores references (paths) to the encrypted values.
How auth flows at runtime
When your agent invokes a tool through the Caylex Navigator, the authentication flow happens automatically:- Your agent sends a tool invocation to the Navigator with the
x-api-keyandx-user-emailheaders - The Navigator identifies the navigator instance, project, and user
- The Navigator retrieves the user’s credentials for the target server
- Credentials are injected into the request (as headers, path parameters, query parameters, or OAuth tokens)
- The tool is executed on the external server and the result is returned to your agent
Next steps
Auth Links
Create shareable links to authenticate users with your servers.
Managing Users
View user auth status and manage access.