| 25 | type GitHubMCPServerFactoryFunc func(r *http.Request, deps github.ToolDependencies, inventory *inventory.Inventory, cfg *github.MCPServerConfig) (*mcp.Server, error) |
| 26 | |
| 27 | type Handler struct { |
| 28 | ctx context.Context |
| 29 | config *ServerConfig |
| 30 | deps github.ToolDependencies |
| 31 | logger *slog.Logger |
| 32 | apiHosts utils.APIHostResolver |
| 33 | t translations.TranslationHelperFunc |
| 34 | githubMcpServerFactory GitHubMCPServerFactoryFunc |
| 35 | inventoryFactoryFunc InventoryFactoryFunc |
| 36 | oauthCfg *oauth.Config |
| 37 | scopeFetcher scopes.FetcherInterface |
| 38 | schemaCache *mcp.SchemaCache |
| 39 | } |
| 40 | |
| 41 | type HandlerOptions struct { |
| 42 | GitHubMcpServerFactory GitHubMCPServerFactoryFunc |
nothing calls this directly
no outgoing calls
no test coverage detected