Annotation Interface McpClientName


@Target({TYPE,METHOD,FIELD,PARAMETER}) @Retention(RUNTIME) @Documented @Qualifier @Repeatable(McpClientNames.class) public @interface McpClientName
This annotation has two uses: - On an injection point of type McpClient, this can be used as a qualifier to pick a particular MCP client by its name. - When applied on a bean that implements McpClientAuthProvider, it indicates that this provider is associated with the named MCP client. In this case, it's allowed to add multiple McpClientName annotations to say that the provider should be used for multiple MCP clients.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details