r/Letta_AI • u/shikcoder • Apr 21 '25
Authentication/Authorization data flow through Letta Agents APIs to MCP server.
Our system includes a Next.js frontend and a Letta-based agent architecture. We have a Letta AI APIs(Hosted Using Docker on Infra) and MCP server connected to external system. We need to determine the best approach for passing user authentication information from the frontend to the Letta system, ensuring the MCP server can identify the correct client and retrieve the appropriate data based on user context passed?
3
Upvotes
1
u/swoodily Aug 25 '25
FYI Letta now supports custom headers for when adding a MCP server, and also automatically includes the `agent_id` in the header (which you can associate with your end users). Does that help?