(r *http.Request, deps github.ToolDependencies, inventory *inventory.Inventory, cfg *github.MCPServerConfig)
| 238 | } |
| 239 | |
| 240 | func DefaultGitHubMCPServerFactory(r *http.Request, deps github.ToolDependencies, inventory *inventory.Inventory, cfg *github.MCPServerConfig) (*mcp.Server, error) { |
| 241 | return github.NewMCPServer(r.Context(), cfg, deps, inventory) |
| 242 | } |
| 243 | |
| 244 | // DefaultInventoryFactory creates the default inventory factory for HTTP mode. |
| 245 | // When the ServerConfig includes static flags (--toolsets, --read-only, etc.), |
nothing calls this directly
no test coverage detected