Only fetch MCP capabilities if the server has defined it supports them #3350
                  
                    
                      mollux
                    
                  
                
                  started this conversation in
                1. Feature requests
              
            Replies: 1 comment 1 reply
-
| Thanks for bringing this up @mollux, maybe create the PR as proposal and link it here? :) | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    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.
Uh oh!
There was an error while loading. Please reload this page.
-
Somewhere between a bug and a feature:
Currently the possible tools, resources and resources templates are fetched in the
McpHub.connectToServermethod.Based on the spec, during
Initializationphase, the capabilities of both client and server must be negotiated.So it would make sense to ensure that e.g. resources are not fetched (or give an error while trying to fetch them) if the server already defined it doesn't support them.
If this makes sense, See #3357
cc @dennismeister93
Beta Was this translation helpful? Give feedback.
All reactions