McpServerSpec class
Properties
-
args
→ List<String>
-
Process args (stdio transport). Ignored for HTTP / SSE.
final
-
command
→ String?
-
Process command (stdio transport). Ignored for HTTP / SSE.
final
-
env
→ Map<String, String>
-
Environment overrides handed to the child process (stdio
transport).
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
Auth / context headers attached to the HTTP / SSE request.
final
-
name
→ String
-
Logical name. Becomes the key under
mcpServers in the
generated --mcp-config file.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
transport
→ McpServerTransport
-
final
-
url
→ String?
-
Endpoint URL (HTTP / SSE transport). Ignored for stdio.
final