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
{{ message }}
Repository navigation
How to filter list of tool based on JWT token? #740
I build a MCP Server. It should expose both types of Tools read and write. Authentication is configured. I would like to verify token claims and proceed with allowed list of tools for current user.
I use Spring AI MCP Framework, but as I see there is no way to override this behavior:
See io.modelcontextprotocol.server.McpAsyncServer#prepareRequestHandlers
Could you please advise how to approach to this question?
Activity
[-]How to add list of tool filtered based on JWT token?[/-][+]How to filter list of tool based on JWT token?[/+]chemicL commentedon Feb 20, 2026
I think it's ok to classify this as a duplicate of #578 and let's continue the discussion on that issue.
ResourceRepository,ToolsRepository, ... ) #578