McpServerConfig class sealed
One configured MCP server. Sealed: either a stdio process (McpStdioServerConfig) or a remote HTTP endpoint (McpHttpServerConfig).
- Implementers
Constructors
- McpServerConfig.fromYaml(String name, Object? node)
-
Parses one
mcp.servers.<name>entry: a map with eithercommand(stdio) orurl(remote). Having both or neither is a schema error.factory
Properties
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 -
The equality operator.
inherited