Short-term solution for multi-user MCP servers: Whitelist users? #7431
Unanswered
Joshfindit
asked this question in
Q&A
Replies: 1 comment 8 replies
-
I wrote on this here: #7444 (comment) tl;dr, there is a long-term solution for this planned. For now, it's better at the MCP server level, and we can have a short-term solution to pass more user info values soon. |
Beta Was this translation helpful? Give feedback.
8 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.
-
Background:
I've read through some of the upcoming changes around proper auth for MCP servers and a shift towards streamable. It's inevitable as the community at large needs to solve MCP auth regardless.
But:
My intuition is that a good short-term solution is to add an 'allowed_users' section to the yaml definition.
When populated it becomes a whitelist where only those user IDs are given access to the MCP.
Example:
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions