Package io.micronaut.mcp.conf.client
Interface McpClientHttpConfiguration
- All Superinterfaces:
io.micronaut.core.naming.Named
public interface McpClientHttpConfiguration
extends io.micronaut.core.naming.Named
MCP Client HTTP Configuration.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@Nullable Duration
@NonNull URI
getUrl()
boolean
boolean
static @NonNull McpClientHttpConfiguration
Methods inherited from interface io.micronaut.core.naming.Named
getName
-
Field Details
-
PREFIX
- See Also:
-
-
Method Details
-
getUrl
- Returns:
- The URL of the MCP Server
-
getTimeout
- Returns:
- Sets the duration to wait for server responses before timing out requests.
-
isLogRequests
boolean isLogRequests()- Returns:
- Whether to log requests
-
isLogResponses
boolean isLogResponses()- Returns:
- Whether to log responses
-
of
@NonNull static @NonNull McpClientHttpConfiguration of(@NonNull @NonNull String name, @NonNull @NonNull URI url)
-