Package io.micronaut.mcp.conf
Interface McpServerConfiguration
public interface McpServerConfiguration
MCP Server Configuration.
- Since:
- 1.0.0
-
Field Summary
Fields -
Method Summary
-
Field Details
-
PREFIX
- See Also:
-
PROPERTY_TRANSPORT
- See Also:
-
PROPERTY_REACTIVE
- See Also:
-
DEFAULT_ENDPOINT
- See Also:
-
PROPERTY_ENDPOINT
- See Also:
-
TRANSPORT_STDIO
- See Also:
-
TRANSPORT_HTTP
- See Also:
-
DEFAULT_REACTIVE
static final boolean DEFAULT_REACTIVE- See Also:
-
DEFAULT_TRANSPORT
-
-
Method Details
-
getEndpoint
- Returns:
- MCP Server endpoint. It applies to MCP Servers using HTTP transport. It defaults to "/mcp".
-
getTransport
- Returns:
- The MCP Transport.
-
isReactive
default boolean isReactive()- Returns:
- Whether you want to define MCP Primitive handlers using reactive code.
-