Add a new MCP server to the Letta MCP server config
Configuration for an MCP server using SSE
Authentication can be provided in multiple ways:
Using auth_header + auth_token: Will add a specific header with the token Example: auth_header="Authorization", auth_token="Bearer abc123"
Using the custom_headers dict: For more complex authentication scenarios Example: custom_headers={"X-API-Key": "abc123", "X-Custom-Header": "value"}
Configuration for an MCP server using Streamable HTTP
Successful Response