public final class MCPClientDescriptor

  1. Object
  2. MCPClientDescriptor
Describes the MCP server entry to register with a host: the stable server name it appears under and the command line that launches the application in stdio MCP mode.

Constructors

public MCPClientDescriptor(String serverName, String command, List<String> args)
public MCPClientDescriptor(String serverName, String command, List<String> args, Map<String, String> env)

Methods

public String getServerName()
public String getCommand()
public List<String> getArgs()
public Map<String, String> getEnv()

Inherited methods

Constructor details

MCPClientDescriptor

public MCPClientDescriptor(String serverName, String command, List<String> args)

MCPClientDescriptor

public MCPClientDescriptor(String serverName, String command, List<String> args, Map<String, String> env)

Method details

getServerName

public String getServerName()

getCommand

public String getCommand()

getArgs

public List<String> getArgs()

getEnv

public Map<String, String> getEnv()