Allow configurable session expiration for MCP server authentication #11832
TheophileDiot
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
|
While I do think the lifetime should be increased, I'm wondering in what way does this show up as disruptive? The MCP client should silently refresh the authentication token |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Hi team,
I’d like to propose a feature that would allow configuring the session expiration duration for the MCP server.
Currently, the session lifetime appears to be quite short, which leads to frequent reauthentication. This becomes disruptive, especially in workflows involving persistent or long-running interactions with the MCP server.
Proposed improvement:
Add a configurable setting for session expiration directly in the MCP settings page. This would make it easily accessible and manageable from the UI without requiring manual configuration changes.
Use case:
In development or controlled environments, longer-lived sessions would reduce friction and improve productivity by minimizing repeated authentication steps.
Additional considerations:
Question:
Is this something that could be supported, or is there an existing way to extend session duration?
Thanks for considering this!
Beta Was this translation helpful? Give feedback.
All reactions