McpStdioServerDefinition
McpStdioServerDefinition represents an MCP server available by running a local process and operating on its stdin and stdout streams. The process will be spawned as a child process of the extension host and by default will not run in a shell environment.
Constructors
Link copied to clipboard
constructor(label: String, command: String, args: ReadonlyArray<ERROR CLASS: Symbol not found for JsString> = definedExternally, env: ReadonlyRecord<ERROR CLASS: Symbol not found for JsString, ERROR CLASS: Symbol not found for JsString??> = definedExternally, version: String = definedExternally)
Properties
Link copied to clipboard
Additional command-line arguments passed to the server.
Link copied to clipboard
var env: ReadonlyRecord<ERROR CLASS: Symbol not found for JsString, ERROR CLASS: Symbol not found for JsString??>
Optional additional environment information for the server. Variables in this environment will overwrite or remove (if null) the default environment variables of the editor's extension host.