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

Struct MCPHTTPServerConfig

go/types.go:856–861  ·  view source on GitHub ↗

MCPHTTPServerConfig configures a remote MCP server (HTTP or SSE). See [MCPStdioServerConfig] for the semantics of the Tools field.

Source from the content-addressed store, hash-verified

854//
855// See [MCPStdioServerConfig] for the semantics of the Tools field.
856type MCPHTTPServerConfig struct {
857 Tools []string `json:"tools,omitzero"`
858 Timeout int `json:"timeout,omitempty"`
859 URL string `json:"url"`
860 Headers map[string]string `json:"headers,omitzero"`
861}
862
863func (MCPHTTPServerConfig) mcpServerConfig() {}
864

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected