Package com.google.genkit.plugins.mcp
Class MCPServerOptions.Builder
java.lang.Object
com.google.genkit.plugins.mcp.MCPServerOptions.Builder
- Enclosing class:
MCPServerOptions
Builder for MCPServerOptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the MCPServerOptions.Sets the server name.Sets the server version.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the server name.- Parameters:
name- the server name- Returns:
- this builder
-
version
Sets the server version.- Parameters:
version- the server version- Returns:
- this builder
-
build
Builds the MCPServerOptions.- Returns:
- the built options
-