MCPcopy
hub / github.com/github/github-mcp-server / WithGitHubMCPServerFactory

Function WithGitHubMCPServerFactory

pkg/http/handler.go:57–61  ·  view source on GitHub ↗
(f GitHubMCPServerFactoryFunc)

Source from the content-addressed store, hash-verified

55}
56
57func WithGitHubMCPServerFactory(f GitHubMCPServerFactoryFunc) HandlerOption {
58 return func(o *HandlerOptions) {
59 o.GitHubMcpServerFactory = f
60 }
61}
62
63func WithInventoryFactory(f InventoryFactoryFunc) HandlerOption {
64 return func(o *HandlerOptions) {

Callers 4

TestHTTPHandlerRoutesFunction · 0.85
TestContentTypeHandlingFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestHTTPHandlerRoutesFunction · 0.68
TestContentTypeHandlingFunction · 0.68