Class StdioServerParameters
java.lang.Object
com.google.adk.tools.mcp.StdioServerParameters
Parameters for establishing a MCP stdio connection.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract com.google.common.collect.ImmutableList<String> args()Optional arguments for the command.builder()Creates a new builder forStdioServerParameters.abstract Stringcommand()The command to execute for the stdio server.env()Optional environment variables.io.modelcontextprotocol.client.transport.ServerParametersConverts this to aServerParametersinstance.
-
Constructor Details
-
StdioServerParameters
public StdioServerParameters()
-
-
Method Details
-
command
The command to execute for the stdio server. -
args
Optional arguments for the command. -
env
-
builder
Creates a new builder forStdioServerParameters. -
toServerParameters
public io.modelcontextprotocol.client.transport.ServerParameters toServerParameters()Converts this to aServerParametersinstance.
-