ErrLookup › github/github-mcp-server
github/github-mcp-server
GitHub's official MCP Server · Go · 133 source files
Analyzed at 0ea1f775a7 on 2026-08-15. 291 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| App not connected | exception | error | oauth, authentication, http, mcp, middleware |
| authentication required: set GITHUB_PERSONAL_ACCESS_TOKEN, c | validation | error | oauth, configuration, metadata, http, ghes |
| GitHub App authentication and GITHUB_PERSONAL_ACCESS_TOKEN a | validation | warning | go, json, serialization, defensive |
| GitHub App authentication and OAuth login (--oauth-client-id | validation | error | go, github, authentication, configuration |
| GitHub App authentication requires a private key: set GITHUB | validation | warning | go, network, io, transient |
| GitHub App ID or client ID is required (GITHUB_APP_ID) | validation | warning | go, json, serialization, defensive |
| GitHub App installation ID is required (GITHUB_APP_INSTALLAT | validation | error | go, github, authentication, configuration |
| GitHub App private key is required (GITHUB_APP_PRIVATE_KEY_P | validation | warning | go, network, io, transient |
| GitHub App REST base URL is required | validation | error | go, github, authentication, configuration |
| no PEM block found in private key | exception | warning | go, network, io, transient |
| installation token response did not contain a token | exception | error | go, pagination, base64, validation |
| installation token response did not contain an expiry | exception | error | go, pagination, validation, cursor-format |
| OAuth callback listener could not bind | exception | error | go, pagination, validation, cursor-format |
| authorization prompt has expired | exception | error | go, validation, user-input, blame |
| authorization did not complete | exception | error | go, validation, user-input, blame |
| provide either 'visible_fields' or 'visible_field_names', no | validation | error | go, validation, path-traversal, blame |
| response did not include the deleted project view | exception | error | go, validation, user-input, blame |
| owner is required | validation | error | go, graphql, authentication, configuration |
| repo is required | validation | warning | go, json, serialization, defensive |
| owner not specified | validation | error | go, github, authentication, configuration |
| failed to get repositories | exception | warning | github-api, search, completions, mcp, rate-limit |
| owner or repo not specified | validation | warning | completions, mcp, validation, argument-resolution |
| failed to get file tree | exception | warning | completions, mcp, git-tree, large-repos, github-api |
| bad request | error_code | error | http, authentication, authorization-header, token, sentinel-error |
| unknown tools specified in WithTools | validation | error | configuration, tool-names, builder, validation, inventory |
| failed to read docs file: %w | console | warning | codegen, docs, file-io, ci |
| failed to generate docs for %s: %w | console | warning | codegen, docs, ci, automation |
| failed to read README.md: %w | console | warning | codegen, docs, readme, file-io |
| failed to write README.md: %w | console | warning | codegen, docs, readme, file-io, permissions |
| failed to read docs file: %w | console | warning | codegen, docs, file-io, remote-server |
| markers not found: %s / %s | console | warning | codegen, docs, markers, markdown, ci |
| failed to write deprecated aliases docs: %w | console | warning | codegen, docs, file-io, permissions, tool-renaming |
| failed to unmarshal toolsets: %w | validation | error | configuration, viper, cli, type-mismatch, startup |
| failed to unmarshal tools: %w | validation | error | configuration, viper, cli, type-mismatch, startup |
| failed to build inventory: %w | validation | error | configuration, tool-names, inventory, cli, startup |
| failed to unmarshal toolsets: %w | validation | error | |
| failed to unmarshal tools: %w | validation | error | |
| failed to unmarshal exclude-tools: %w | validation | error | |
| failed to unmarshal features: %w | validation | error | |
| failed to unmarshal oauth-scopes: %w | validation | error | |
| failed to parse host for GitHub App authentication: %w | validation | error | |
| failed to resolve REST URL for GitHub App authentication: %w | validation | error | |
| failed to configure GitHub App authentication: %w | validation | error | |
| reading GitHub App private key file: %w | validation | error | |
| --stdio-server-cmd is required | validation | error | |
| failed to build JSON-RPC request: %w | console | error | |
| error executing server command: %w | console | error | |
| %s must be one of: %s | validation | error | |
| error parsing JSON for %s: %w | validation | error | |
| failed to generate random ID: %w | console | error | |
| github authorization failed: %w | exception | error | |
| failed to get base REST URL: %w | exception | error | |
| failed to get upload URL: %w | exception | error | |
| failed to get GraphQL URL: %w | exception | error | |
| failed to get Raw URL: %w | exception | error | |
| failed to create REST client: %w | exception | error | |
| failed to create raw client: %w | exception | error | |
| failed to parse API host: %w | exception | error | |
| failed to classify API host: %w | exception | error | |
| failed to create GitHub clients: %w | exception | error | |
| failed to create observability exporters: %w | exception | error | |
| failed to build inventory: %w | exception | error | |
| failed to create GitHub MCP server: %w | exception | error | |
| choose exactly one authentication mode: a static Token, OAut | validation | error | |
| failed to open log file: %w | exception | error | |
| failed to create MCP server: %w | exception | error | |
| error running server: %w | exception | error | |
| parsing private key (want PKCS#1 or PKCS#8 RSA): %w | validation | error | |
| private key is %T, want an RSA key | validation | error | crypto, rsa, github-app, configuration, startup |
| signing JWT: %w | exception | error | crypto, jwt, rsa, environment, rare |
| building installation token URL: %w | exception | error | configuration, url, github-enterprise, startup |
| creating installation token request: %w | exception | error | configuration, url, validation, startup |
| requesting installation token: %w | http | error | network, proxy, tls, timeout, github-enterprise |
| installation token request failed: %s (reading response: %w) | http | error | network, proxy, http, truncated-response, rare |
| installation token request failed: %s: %s | http | error | github-api, authentication, configuration, http-status |
| decoding installation token response: %w | http | error | proxy, json, network, github-enterprise, http |
| invalid GitHub App private key: %w | validation | error | configuration, pem, github-app, startup, secrets |
| starting callback listener on %s: %w | exception | error | network, port, configuration, startup, oauth |
| callback server: %w | exception | error | http-server, network, file-descriptors, rare, oauth |
| authorization failed: %s | http | warning | oauth, authorization, user-action, github-api |
| state mismatch (possible CSRF) | validation | error | oauth, csrf, security, state, user-action |
| no authorization code in callback | validation | warning | oauth, callback, user-action, http |
| unsupported platform: %s | validation | warning | platform, browser, oauth, portability |
| OAuth callback port %d is not available; another process may | validation | error | oauth, port, security, configuration, startup |
| %w: %w | exception | warning | oauth, port, fallback, network, internals |
| exchanging authorization code: %w | http | error | oauth, pkce, token-exchange, configuration, user-action |
| requesting device code: %w | http | error | oauth, device-flow, network, configuration, github-enterprise |
| awaiting device authorization: %w | http | error | oauth, device-flow, user-action, timeout, token-exchange |
| failed to read log content: %w | http | error | network, streaming, io, ring-buffer, go |
| %s: %w | http | error | github-api, rest, error-wrapping, auth, go |
| unexpected status %d: %s | http | error | http-status, github-api, proxy, go |
| failed to marshal response: %w | exception | error | json, serialization, github-actions, logs, go |
| failed to get job logs for job %d: %w | exception | error | github-actions, logs, permissions, rate-limit, go |
| failed to download log content for job %d: %w | exception | error | network, download, signed-url, logs, go |
| failed to download logs: %w | exception | error | network, http, proxy, tls, go |
| failed to download logs: HTTP %d | http | error | http-status, signed-url, expiry, logs, go |
| failed to process log content: %w | exception | error | io, streaming, retry, logs, go |
| failed to get GitHub client: %w | exception | error | configuration, auth, token, ghes, go |
| failed to marshal workflow: %w | exception | error | json, serialization, workflow, go |
| failed to marshal workflow run: %w | exception | error | json, serialization, workflow-run, go |
| failed to marshal workflow job: %w | exception | error | json, serialization, workflow-job, go |
| failed to marshal workflows: %w | exception | error | json, serialization, workflow, pagination, go |
| failed to marshal workflow runs: %w | exception | error | go, json, serialization, github-actions, workflow-runs |
| failed to marshal workflow jobs: %w | exception | error | go, json, serialization, github-actions, workflow-jobs |
| failed to get GitHub client: %w | exception | error | go, authentication, graphql, copilot, configuration |
| failed to update issue with agent assignment: %w | exception | error | graphql, copilot, permissions, issues, github-api |
| failed to unmarshal JSON text: %w | exception | error | go, json, csv, output-format, encoding |
| failed to write CSV header: %w | exception | info | go, csv, encoding, defensive-code, memory |
| failed to write CSV row: %w | exception | info | go, csv, encoding, defensive-code, memory |
| failed to flush CSV: %w | exception | info | go, csv, encoding, defensive-code, memory |
| no token info in context | exception | critical | go, authentication, context, configuration, server-setup |
| failed to get base REST URL: %w | exception | error | go, configuration, dependency-injection, github-api, url-parsing |
| failed to get upload URL: %w | exception | error | go, configuration, dependency-injection, uploads, github-api |
| failed to create REST client: %w | exception | error | go, url-parsing, go-github, client-construction |
| failed to get GraphQL URL: %w | exception | error | go, configuration, graphql, dependency-injection |
| failed to get Raw URL: %w | exception | error | go, configuration, raw-content, dependency-injection |
| failed to create raw client: %w | exception | error | go, url-parsing, raw-content, client-construction |
| failed to marshal discussions: %w | exception | warning | go, json-marshal, defensive-code, discussions |
| failed to marshal discussion: %w | exception | warning | go, json-marshal, defensive-code, discussions |
| failed to marshal comments: %w | exception | warning | go, json-marshal, defensive-code, discussions |
| failed to marshal comment: %w | exception | warning | go, json-marshal, defensive-code, discussions, mutations |
| commentNodeID cannot be blank | validation | warning | go, input-validation, discussions, tool-parameters |
| failed to marshal discussion categories: %w | exception | warning | go, json-marshal, defensive-code, discussions |
| failed to marshal response: %w | exception | warning | go, json-marshal, defensive-code, git, trees |
| failed to read response body: %w | exception | error | go, network, http, transient, issue-dependencies |
| failed to get issue ID: %w | exception | error | go, graphql, github-api, auth, rate-limit |
| each issue_fields item must be an object | validation | error | go, validation, issue-fields, mcp |
| issue_fields must be an array | validation | error | go, validation, issue-fields, mcp |
| field_name is required for each issue_fields item | validation | error | go, validation, issue-fields, mcp |
| value cannot be null for field %q | validation | error | go, validation, issue-fields, json, mcp |
| issue field %q cannot specify 'delete' together with 'value' | validation | error | go, validation, issue-fields, mcp |
| issue field %q cannot specify both value and field_option_na | validation | error | go, validation, issue-fields, mcp |
| issue field %q must specify either value or field_option_nam | validation | error | go, validation, issue-fields, mcp |
| failed to query issue fields metadata: %w | exception | error | go, graphql, issue-fields, auth, rate-limit |
| issue field %q was not found in %s/%s | validation | error | go, graphql, issue-fields, validation |
| issue field %q is missing fullDatabaseId | exception | error | go, graphql, issue-fields, schema-drift |
| issue field %q is %q, so field_option_name cannot be used | validation | error | go, graphql, issue-fields, validation |
| issue field option %q was not found for field %q | validation | error | go, graphql, issue-fields, validation |
| failed to fetch existing issue field values: %w | exception | error | go, graphql, issue-fields, rate-limit |
| failed to get repo access cache: %w | exception | error | go, lockdown-mode, auth, configuration |
| failed to get issue: %w | exception | error | go, github-api, auth, rate-limit, network |
| failed to read response body: %w | exception | error | network, http, response-body, issues |
| failed to get issue comments: %w | exception | error | api, auth, network, issues, comments |
| lockdown cache is not configured | exception | error | config, lockdown, internal, fail-fast |
| failed to marshal response: %w | exception | warning | serialization, json, sub-issues, unreachable |
| invalid issue URL %q: %w | validation | error | validation, url-parsing, comments, issues |
| duplicate_of must be provided when state_reason is 'duplicat | validation | error | validation, issues, duplicate, update-issue |
| each field_filters entry must be an object | validation | error | validation, field-filters, issues, input-shape |
| field_filters must be an array | validation | error | validation, field-filters, issues, input-shape |
| field_filters entry: %s | validation | error | validation, field-filters, required-param, issues |
| field_filters entry %q: %s | validation | error | validation, field-filters, required-param, issues |
| field_filters: unknown field %q. Known fields: %s | validation | error | validation, field-filters, issues, unknown-field |
| field_filters: %q is not a valid option for %q. Valid option | validation | error | validation, field-filters, single-select, issues |
| field_filters: %q is not a valid date for %q (expected YYYY- | validation | error | validation, field-filters, date, issues |
| field_filters: %q is not a valid number for %q: %s | validation | error | validation, field-filters, number, issues |
| field_filters: field %q has unsupported data_type %q | validation | error | validation, field-filters, unsupported-type, issues |
| empty timestamp | validation | error | validation, timestamp, issues, empty-value |
| invalid ISO 8601 timestamp: %s (supported formats: YYYY-MM-D | validation | error | validation, timestamp, iso8601, issues |
| failed to get GitHub client: %w | exception | error | auth, configuration, graphql-client, labels |
| failed to marshal label: %w | exception | info | json, serialization, labels, defensive |
| failed to marshal labels: %w | exception | info | json, serialization, labels, defensive |
| label '%s' not found in %s/%s | validation | error | labels, not-found, case-sensitivity, graphql |
| lockdown cache is not configured | exception | critical | lockdown, configuration, security, fail-closed, server-setup |
| invalid detail %q: must be one of "none", "stats", "full_pat | validation | error | validation, enum, commits, mcp-tool, argument-parsing |
| parameter %s is not of type %T, is %T | validation | error | validation, type-mismatch, argument-parsing, json, mcp-tool |
| parameter %s is not of type string or null, is %T | validation | error | validation, type-mismatch, nullable, argument-parsing, mcp-tool |
| parameter %s must not be empty | validation | error | validation, empty-string, nullable, argument-parsing, mcp-tool |
| invalid numeric value: %s | validation | error | validation, numeric, string-parsing, argument-parsing, mcp-tool |
| expected number, got %T | validation | error | validation, type-mismatch, numeric, argument-parsing, mcp-tool |
| non-finite numeric value | validation | error | validation, numeric, non-finite, argument-parsing, mcp-tool |
| non-integer numeric value: %v | validation | error | validation, numeric, fractional, argument-parsing, mcp-tool |
| numeric value out of int range: %v | validation | error | validation, numeric, overflow, argument-parsing, mcp-tool |
| numeric value %v is too large to fit in int64 | validation | error | validation, numeric, precision-loss, bigint, json |
| missing required parameter: %s | validation | error | validation, missing-parameter, argument-parsing, mcp-tool |
| parameter %s is not of type %T | validation | error | validation, type-mismatch, argument-parsing, mcp-tool |
| parameter %s is not a valid number: %w | validation | error | validation, numeric, argument-parsing, wrapped-error, mcp-tool |
| parameter %s is not of type string, is %T | validation | error | go, mcp, type-assertion, arrays, parameter-validation |
| parameter %s could not be coerced to []string, is %T | validation | error | go, mcp, arrays, shape-mismatch, parameter-validation |
| failed to convert element %d (%s) to int64: %w | validation | error | go, mcp, type-conversion, arrays, strconv |
| failed to convert string %s to int64: %w | validation | error | go, strconv, type-conversion, parameter-validation |
| parameter %s: failed to convert element %d (%s) to int64: %w | validation | error | go, mcp, arrays, strconv, type-conversion |
| parameter %s could not be coerced to []int64, is %T | validation | error | go, mcp, arrays, shape-mismatch, parameter-validation |
| perPage value %d exceeds maximum of 100 | validation | error | go, github-api, graphql, pagination, validation |
| perPage value %d cannot be negative | validation | error | go, github-api, graphql, pagination, validation |
| failed to marshal response: %w | exception | info | go, json, internal, unreachable-in-practice |
| failed to read response body: %w | exception | warning | go, network, github-api, response-body, transient |
| failed to resolve project ID: %w | exception | error | |
| invalid %s %q: must be YYYY-MM-DD format | validation | error | |
| invalid layout %q: must be \"table\", \"board\", or \"roadma | validation | error | |
| project field database ID %d was not found on project %s#%d | validation | error | |
| project field %q is included more than once | validation | error | projects, validation, duplicates, graphql |
mutation_unconfirmed mutation response did not include every item | exception | error | github-api, graphql, batch-mutation, ambiguous-state, retry |
| each item requires exactly one of node_id, item_id, or item_ | validation | error | github-projects, batch, input-validation, items |
| each item must set exactly one of node_id, item_id, or item_ | validation | error | github-projects, batch, input-validation, conflicting-input |
| node_id must be a non-empty string | validation | error | github-projects, batch, input-validation, type-mismatch, node-id |
| item_id: %w | validation | error | github-projects, batch, input-validation, type-mismatch, item-id |
| item_owner, item_repo, and issue_number must all be provided | validation | error | github-projects, batch, input-validation, issue-ref |
| missing %s | validation | error | github-projects, batch, input-validation, issue-ref, missing-key |
| %s must be a non-empty string | validation | error | github-projects, batch, input-validation, type-mismatch, issue-ref |
| %s must be a positive integer: %w | validation | error | github-projects, batch, input-validation, type-mismatch, issue-ref |
| %s exceeds the GraphQL Int maximum of %d | validation | error | github-projects, batch, input-validation, range, issue-ref |
| value must be greater than zero (got %d) | validation | error | github-projects, batch, input-validation, positive-int |
| updated_field must be an object | validation | error | github-projects, batch, input-validation, updated-field |
| updated_field.value is required | validation | error | github-projects, batch, input-validation, updated-field, missing-key |
| updated_field must set either id or name, not both | validation | error | github-projects, batch, input-validation, conflicting-input, updated-field |
| updated_field requires either id or name | validation | error | github-projects, batch, input-validation, missing-key, updated-field |
| updated_field.id: %w | validation | error | github-projects, batch, input-validation, type-mismatch, updated-field |
| updated_field.name must be a non-empty string | validation | error | github-projects, batch, input-validation, type-mismatch, updated-field |
| field %q is TEXT; value must be a string | validation | error | github-projects, batch, input-validation, type-mismatch, field-value |
| field %q is NUMBER; value must be a number | validation | error | github-projects, batch, input-validation, type-mismatch, field-value, number |
| field %q is DATE; value must be a YYYY-MM-DD string | validation | error | |
| field %q is DATE; value %q is not in YYYY-MM-DD format: %w | validation | error | |
| field %q is SINGLE_SELECT; value must be a non-empty string | validation | error | |
| field %q is ITERATION; value must be a non-empty iteration I | validation | error | |
| field %q has unsupported data type %q for update_project_ite | validation | error | |
| project item %d: %w | exception | error | |
| project item %d: response did not include a node id | exception | error | |
| failed to list project fields: %w | exception | error | |
| field name must not be empty | validation | error | |
| failed to query project Issue Field metadata: %w | exception | error | |
| failed to resolve project item for %s/%s#%d: %w | exception | error | |
| project item ID %q is not an integer: %w | exception | error | |
| update_project_item requires either item_id, or item_owner + | validation | error | |
| resolved field %q has non-numeric ID %q; pass it via '%s' in | validation | error | |
| failed to get repo access cache: %w | exception | error | |
| failed to read response body: %w | exception | error | |
| failed to marshal response: %w | exception | warning | go, json, mcp, serialization, defensive-code |
| lockdown cache is not configured | exception | error | go, mcp, lockdown-mode, configuration, feature-flags |
| failed to check lockdown mode: %w | exception | error | go, mcp, lockdown-mode, graphql, authentication, network |
| failed to get GitHub client: %w | exception | error | go, github-api, mcp, authentication, configuration, ghes |
| failed to read response body: %w | exception | error | go, github-api, mcp, network, io, commits |
| failed to marshal response: %w | exception | warning | go, json, mcp, serialization, defensive-code |
| failed to get branch reference: %w | exception | error | github-mcp-server, go, git-refs, github-api |
| failed to list releases: %w | exception | error | go, github-api, http, rate-limit, releases |
| failed to get latest release: %w | exception | error | go, github-api, releases, http, not-found |
| failed to marshal starred repositories: %w | exception | error | |
| after cursor is invalid | validation | error | |
| path must not be empty | validation | error | |
| path must be relative to the repository root (no leading '/' | validation | error | |
| path must not contain '..' segments | validation | error | |
| path must not contain control characters | validation | error | |
| failed to get GitHub GraphQL client: %w | exception | error | |
| failed to read file content: %w | exception | error | go, mcp, github-api, network, io, resource |
| failed to base64 encode content: %w | exception | info | go, base64, resource, dead-code |
| failed to close base64 encoder: %w | exception | info | go, base64, resource, dead-code |
| failed to read response body: %w | exception | error | go, mcp, network, io, resource, http |
| failed to fetch raw content: %s | http | error | go, mcp, github-api, auth, rate-limit, resource, http |
| failed to get GitHub client: %w | exception | error | go, mcp, auth, configuration, secret-scanning |
| failed to read response body: %w | exception | error | go, mcp, network, io, secret-scanning, http |
| failed to marshal alert: %w | exception | info | go, json, secret-scanning, dead-code |
| failed to marshal alerts: %w | exception | info | go, json, secret-scanning, dead-code |
| failed to get GitHub client: %w | exception | error | go, mcp, auth, configuration, security-advisory |
| failed to list global security advisories: %w | exception | error | go, mcp, github-api, rate-limit, security-advisory, validation |
| failed to read response body: %w | exception | error | go, mcp, network, io, security-advisory, http |
| failed to marshal advisories: %w | exception | info | go, json, security-advisory, dead-code |
| failed to list repository security advisories: %w | exception | error | go, mcp, github-api, not-found, rate-limit, security-advisory |
| failed to get advisory: %w | exception | error | github-api, network, security-advisory, mcp-tool |
| failed to marshal advisory: %w | exception | warning | json, serialization, security-advisory |
| failed to list organization repository security advisories: | exception | error | github-api, security-advisory, authorization, mcp-tool |
| missing required parameter: ref | validation | warning | mcp, protocol, validation |
| unsupported resource URI: %s | validation | info | mcp, resources, validation |
| unsupported ref type: %s | validation | info | mcp, protocol, type-guard |
| failed to get GitHub client: %w | exception | error | authentication, graphql, configuration |
| failed to marshal labels: %w | exception | warning | json, serialization, graphql |
| failed to create default API host: %w | exception | warning | configuration, oauth, url-parsing |
| failed to open log file: %w | exception | error | filesystem, configuration, logging |
| failed to parse API host: %w | exception | error | configuration, url-parsing |
| failed to classify API host: %w | exception | error | configuration, url-parsing |
| failed to create observability exporters: %w | exception | warning | observability, validation, configuration |
| failed to initialize tool scope map: %w | exception | error | tooling, validation, startup |
| failed to create OAuth handler: %w | exception | warning | oauth, configuration, startup |
| HTTP server error: %w | exception | critical | network, startup, configuration |
| failed to build inventory for tool scope map: %w | exception | critical | go, startup, inventory, host-type, configuration |
| unknown tools specified in WithTools: %s | http | error | go, inventory, validation, toolsets, configuration |
| failed to query viewer login: %w | exception | error | go, graphql, lockdown, authentication, network |
| viewer login returned empty | exception | error | go, graphql, lockdown, github-app, authentication |
| failed to query repository metadata: %w | exception | error | go, graphql, lockdown, github-api, not-found |
| failed to get user permission level: %w | exception | error | go, rest, lockdown, github-api, permissions |
| error creating file: %v | exception | error | go, filesystem, translations, containers, shutdown |
| error writing to file: %v | exception | error | go, filesystem, disk-full, translations |
| could not parse host as URL: %s | validation | error | go, configuration, url, validation, docker |
| host must have a scheme (http or https): %s | validation | error | go, configuration, ghes, url, host |
| host must use https to avoid sending credentials over cleart | validation | error | go, security, tls, ghes, configuration |
| %w: missing required Authorization header | validation | error | http, authentication, mcp, middleware, oauth |
| %w: Authorization header is badly formatted | validation | error | http, authentication, token, middleware, configuration |
| internal error | http | warning | go, oauth, html-template, http, client-disconnect |
| Forbidden: insufficient scopes | http | error | http, oauth, scopes, authorization, mcp |
| bad request: Authorization header is badly formatted | http | error | http, authentication, token, middleware, configuration |
| bad request: unsupported Authorization header | http | error | http, authentication, token, middleware, scheme |
| Unauthorized | http | error | |
| failed to resolve authorization server URL: %v | http | error |