You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was good to kick off the concept of authorization for MCP servers, however, the implementation could still be enhanced.
The Discovery part of the MCP protocol shouldn't be explicitly guarded (tools/list). Instead, everyone with some access should be allowed to call it. Then, we should apply the authorization policy on the result. Only outputting the tools that the user is allowed to leverage.
The same requirement applies to listing resources and prompts.
This requires more in-depth integration with the MCP protocol, but will lead to a smoother integration and even context optimizations, since the context won't be polluted.
Activity
feat: implement authorization-based filtering for MCP list operations
feat: implement authorization-based filtering for MCP list operations
Ignore flaky tools-call-sampling in conformance CI (#5888)