# Class MCPClientDescriptor

java.lang.Object
com.codename1.mcp.MCPClientDescriptor

public final class MCPClientDescriptor extends Object
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.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MCPClientDescriptor(String serverName, String command, List<String> args)`
  `MCPClientDescriptor(String serverName, String command, List<String> args, Map<String,String> env)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getArgs()`
  `String`
  `getCommand()`
  `Map<String,String>`
  `getEnv()`
  `String`
  `getServerName()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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()