Replies: 3 comments
-
|
Hi @xqdd, great question. Yes, a single JWT token can contain multiple teams in the {
"teams": ["team-alpha", "team-beta", "team-gamma"],
"is_admin": false,
"token_use": "api"
}
However, there are two important constraints:
For your use case (teams as roles): You need one virtual server URL per team. The user needs multiple MCP URLs but can use one token containing all their teams. The flow would be:
What's not possible today: A single virtual server that aggregates tools from multiple teams. Each server is scoped to one team (or
Would creating one virtual server per team (with one shared token) work for your use case, or do you specifically need a single-URL solution? |
Beta Was this translation helpful? Give feedback.
-
|
not sure about this one tbh. might be best to dive into the MCP docs or check with IBM support. |
Beta Was this translation helpful? Give feedback.
-
|
If your auth middleware checks the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For permission control, I treat a "team" as a "role" and assign multiple teams to a user. However, from the user's perspective, they have to configure multiple virtual MCP URLs and API tokens for agents such as Codex and Claude Code.
Is there any way to use a single MCP URL and a single token to access resources across multiple teams?
Beta Was this translation helpful? Give feedback.
All reactions