Localized tool definitions #4492
              
                Unanswered
              
          
                  
                    
                      marshalhayes
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    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.
-
Is there a way to register localized tool definitions on a per-request basis when using the webmvc transport?
For example, if I registered a tool with parameterized names and descriptions:
And then defined a
MessageSource,LocaleResolver, and some message properties:How would I then replace the tool definition properties when the client lists them?
This is what I'm hoping to accomplish from a client standpoint:
{ "servers": { "my-mcp-server": { "url": "http://localhost:8080/mcp", "type": "http", "headers": { "Accept-Language": "en" } } } }Beta Was this translation helpful? Give feedback.
All reactions