Endpoint and transport
| Setting | Value |
|---|---|
| Endpoint URL | https://proxy.caylex.ai/mcp |
| Transport | Streamable HTTP (MCP standard) |
| Protocol | Model Context Protocol (MCP) |
Required headers
Every request to the Caylex Navigator must include two authentication headers:x-api-key
Your Navigator Instance’s API key. This tells Caylex which navigator and project the request belongs to.
- Format:
ck_{id}.{secret} - Generated on the Navigator Instance page in the Caylex dashboard
- See Navigators & Permissions for how to create API keys
x-user-email
The email address of the end user currently interacting with your agent. This tells Caylex which user’s credentials to use when executing tools.
- Must match the email the user used when authenticating via an Auth Link
- Determines which credentials the Navigator injects when calling external MCP servers
- Used for per-user analytics and access control
How it works at runtime
When your agent connects and makes tool calls, here is what happens:Agent connects to the Navigator
Your agent opens an MCP connection to
https://proxy.caylex.ai/mcp with the x-api-key and x-user-email headers.Navigator identifies context
The Navigator validates the API key and resolves:
- Which Navigator Instance the key belongs to
- Which Project the navigator is deployed in
- Which user the email corresponds to
- Which tool restrictions and Navigator capabilities are configured
Agent discovers tools
The Navigator returns the available MCP tools based on the navigator’s configuration:
suggest_tools(if Dynamic Suggestions is enabled)get_tool_schemasinvoke_toolsget_context_map(if Context Maps is enabled)get_authentication_link(if In-Chat Authentication is enabled)
Integration examples
Choose your agent framework for a complete integration guide:OpenAI Agents SDK
Python integration using the OpenAI Agents SDK.
LangChain
Python integration using LangChain MCP Adapters.
Claude Agent SDK
Python integration using the Claude Agent SDK.
Claude Desktop
JSON configuration for the Claude Desktop app.
Environment variables
We recommend storing your credentials as environment variables rather than hardcoding them:Any MCP-compatible framework
Caylex works with any framework that supports the MCP Streamable HTTP transport. The connection pattern is always the same:- Point at
https://proxy.caylex.ai/mcp - Set the
x-api-keyandx-user-emailheaders - Let the framework handle MCP tool discovery and invocation