MCPcopy Index your code
hub / github.com/github/copilot-sdk / MCPStdioServerConfig

Struct MCPStdioServerConfig

go/types.go:830–837  ·  view source on GitHub ↗

MCPStdioServerConfig configures a local/stdio MCP server. The Tools field controls which tools from the server are exposed: - nil (omitted from the wire): all tools (CLI default) - []string{"*"}: explicit "all tools" - []string{}: no tools - []string{"foo","bar"}: only those tools

Source from the content-addressed store, hash-verified

828// - []string{}: no tools
829// - []string{"foo","bar"}: only those tools
830type MCPStdioServerConfig struct {
831 Tools []string `json:"tools,omitzero"`
832 Timeout int `json:"timeout,omitempty"`
833 Command string `json:"command"`
834 Args []string `json:"args,omitzero"`
835 Env map[string]string `json:"env,omitzero"`
836 WorkingDirectory string `json:"cwd,omitempty"`
837}
838
839func (MCPStdioServerConfig) mcpServerConfig() {}
840

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected