MCPcopy Create free account
hub / github.com/github/copilot-sdk / MCPServerConfigStdio

Struct MCPServerConfigStdio

go/rpc/zrpc.go:3436–3462  ·  view source on GitHub ↗

Stdio MCP server configuration launched as a child process. Experimental: MCPServerConfigStdio is part of an experimental API and may change or be removed.

Source from the content-addressed store, hash-verified

3434// Experimental: MCPServerConfigStdio is part of an experimental API and may change or be
3435// removed.
3436type MCPServerConfigStdio struct {
3437 // Command-line arguments passed to the Stdio MCP server process.
3438 Args []string `json:"args,omitzero"`
3439 // Set to `true` to use defaults, or provide an object with additional auth or OIDC settings.
3440 Auth MCPServerAuthConfig `json:"auth,omitempty"`
3441 // Executable command used to start the Stdio MCP server process.
3442 Command string `json:"command"`
3443 // Working directory for the Stdio MCP server process.
3444 Cwd *string `json:"cwd,omitempty"`
3445 // Controls if tools provided by this server can be loaded on demand via tool search (auto)
3446 // or always included in the initial tool list (never)
3447 DeferTools *MCPServerConfigDeferTools `json:"deferTools,omitempty"`
3448 // Environment variables to pass to the Stdio MCP server process.
3449 Env map[string]string `json:"env,omitzero"`
3450 // Content filtering mode to apply to all tools, or a map of tool name to content filtering
3451 // mode.
3452 FilterMapping FilterMapping `json:"filterMapping,omitempty"`
3453 // Whether this server is a built-in fallback used when the user has not configured their
3454 // own server.
3455 IsDefaultServer *bool `json:"isDefaultServer,omitempty"`
3456 // Set to `true` to use defaults, or provide an object with additional auth or OIDC settings.
3457 Oidc MCPServerAuthConfig `json:"oidc,omitempty"`
3458 // Timeout in milliseconds for tool calls to this server.
3459 Timeout *int64 `json:"timeout,omitempty"`
3460 // Tools to include. Defaults to all tools if not specified.
3461 Tools []string `json:"tools,omitzero"`
3462}
3463
3464func (MCPServerConfigStdio) mcpServerConfig() {}
3465

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected