McpStdioServerConfig class final

A stdio MCP server: a spawned process speaking newline-delimited JSON-RPC over stdin/stdout.

Inheritance

Constructors

McpStdioServerConfig({required String name, required String command, List<String> args = const [], Map<String, String> env = const {}})
Creates a stdio server config.
const

Properties

args → List<String>
Arguments for command.
final
command → String
The executable to spawn.
final
env → Map<String, String>
Extra environment variables (merged over the inherited environment).
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
The server name (the mcp.servers key).
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
Value equality: the settings flow's live reload diffs sections by comparing server entries (issue #396) — a byte-equal entry keeps its live connection, a changed one reconnects.
override