From 277289ce4ebacb559105cb871edb55241f66bc7d Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 01/19] [Copilot Dreaming] Remove repeated lint duty The same reader already receives the exact pre-commit lint command and ordering in the required-command section. An additional inventory mandate adds another copy to maintain without changing the action; the required lint duty remains there. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L26-L30 --- .github/copilot-instructions.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 42837f9e38..eb7a09a98a 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -100,7 +100,6 @@ go test ./pkg/github -run TestGetMe ### Important Scripts (script/ directory) -- **script/lint** - Runs `gofmt` + `golangci-lint`. **MUST RUN** before committing - **script/test** - Runs `go test -race ./...` (full test suite) - **script/generate-docs** - Updates README.md tool documentation. Run after tool changes - **script/licenses** - Updates third-party license files when dependencies change From 9678c7edb04babd68065b5c9ce805fb66aec40ef Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 02/19] [Copilot Dreaming] Remove duplicate full-suite description The inventory can suggest that untagged Go tests cover the whole repository, although e2e is explicitly tagged. The required-command section already gives this reader the race-test command, so removing the extra description avoids that shortcut and another upkeep copy. The required Go test duty remains unchanged. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/e2e/e2e_test.go#L1-L3 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L26-L30 --- .github/copilot-instructions.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index eb7a09a98a..eacd810c00 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -100,7 +100,6 @@ go test ./pkg/github -run TestGetMe ### Important Scripts (script/ directory) -- **script/test** - Runs `go test -race ./...` (full test suite) - **script/generate-docs** - Updates README.md tool documentation. Run after tool changes - **script/licenses** - Updates third-party license files when dependencies change - **script/licenses-check** - Validates license compliance (runs in CI) From e56b424081f2eec023d09b01bd3b093035d526b4 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 03/19] [Copilot Dreaming] Remove repeated documentation duty The required-command section already tells the same reader to regenerate documentation for tool and toolset changes. The narrower inventory repeat adds another copy to maintain; removing it leaves the complete duty and its condition at that entry point. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L26-L30 --- .github/copilot-instructions.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index eacd810c00..3119ba7396 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -100,7 +100,6 @@ go test ./pkg/github -run TestGetMe ### Important Scripts (script/ directory) -- **script/generate-docs** - Updates README.md tool documentation. Run after tool changes - **script/licenses** - Updates third-party license files when dependencies change - **script/licenses-check** - Validates license compliance (runs in CI) - **script/get-me** - Quick test script for get_me tool From 4774f52d4e989b7c66b6af8814d37f36942d581c Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 04/19] [Copilot Dreaming] Remove duplicate release-script prohibition The reminder already gives this reader the stronger prohibition against both the release script and tag pushes. Keeping a second script-only prohibition adds upkeep without another decision; removing it leaves the complete prohibition in Important Reminders. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L281-L284 --- .github/copilot-instructions.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 3119ba7396..1a8b68a9f2 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -104,7 +104,6 @@ go test ./pkg/github -run TestGetMe - **script/licenses-check** - Validates license compliance (runs in CI) - **script/get-me** - Quick test script for get_me tool - **script/get-discussions** - Quick test for discussions -- **script/tag-release** - **NEVER USE THIS** - releases are managed separately ## GitHub Workflows (CI/CD) From 46c1526698b698c7f83c472977ebddda7bfd0d4f Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 05/19] [Copilot Dreaming] Use the supported REST test helper The old mocking instruction can send contributors toward a retired dependency instead of the repository helper. Naming the existing HTTP helper gives tests a supported starting point while preserving the GraphQL choice. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/helper_test.go#L681-L695 --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 1a8b68a9f2..115e42ee03 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -126,7 +126,7 @@ Located in `.github/workflows/`: - Use `testify` for assertions (`require` for critical checks, `assert` for non-blocking) - Tests are in `*_test.go` files alongside implementation (internal and external test packages) -- Mock GitHub API with `go-github-mock` (REST) or `githubv4mock` (GraphQL) +- Mock GitHub API with the in-repo `MockHTTPClientWithHandlers` helper (REST) or `githubv4mock` (GraphQL) - Test structure for tools: 1. Test tool snapshot 2. Verify critical schema properties (e.g., ReadOnly annotation) From ec5ba8bcc474506e2932c4a85594739a96a95178 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 06/19] [Copilot Dreaming] Avoid unnecessary personal-token setup A universal personal-token requirement can stop setup from using supported configured App or OAuth authentication. Keeping the token as an optional stdio path avoids that restriction without removing supported authentication. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/cmd/github-mcp-server/main.go#L49-L80 The e2e runner reads its dedicated token variable, not this server variable. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/e2e/e2e_test.go#L49-L56 --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 115e42ee03..7643ea264e 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -237,7 +237,7 @@ after updating them, refresh its digest with ## Environment Variables -- **GITHUB_PERSONAL_ACCESS_TOKEN** - Required for server operation and e2e tests +- **GITHUB_PERSONAL_ACCESS_TOKEN** - Optional static-token authentication for stdio; alternatively configure GitHub App authentication or OAuth login. - **GITHUB_HOST** - For GitHub Enterprise Server (prefix with `https://`) - **GITHUB_TOOLSETS** - Comma-separated toolset list (overrides --toolsets flag) - **GITHUB_READ_ONLY** - Set to "1" for read-only mode From c3abc10d38c5e9a1fe953bae21718f2e480f8be7 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 07/19] [Copilot Dreaming] Remove duplicate recovery reminder The same reader already receives failure-triggered documentation and license recipes with their exact scripts. The generic reminder adds another copy to maintain without a new recovery step; both concrete recovery duties remain in Common Errors and Solutions. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L215-L235 --- .github/copilot-instructions.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 7643ea264e..8a03397ec6 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -279,5 +279,4 @@ server.json - MCP server registry metadata 3. **NEVER** use `script/tag-release` or push tags 4. For specific test files, use `go test ./path -run TestName` not full suite 5. Toolsnaps are API documentation - treat changes seriously -6. Build/test/lint are very fast (~1s each) - run frequently -7. CI failures for docs-check or license-check have simple fixes (run the script) \ No newline at end of file +6. Build/test/lint are very fast (~1s each) - run frequently \ No newline at end of file From fbdb61931b5d02d5e8d6e6b362d295199f392828 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 08/19] [Copilot Dreaming] Start UI validation on a supported Node line The MCP Apps recipe can start validation with a Node line outside the UI manifest's supported engine. Using the declared line avoids that mismatch while retaining the existing validation sequence and generated-output guidance. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/ui/package.json#L7-L9 --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4eb83db2b2..56ed498676 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,7 @@ typescript-eslint, or ts-node is required. ### MCP Apps UI -The `ui/` views use React 19 and Primer React 38. With Node.js 20.19+ or 22.12+, run `cd ui && npm ci && npm run typecheck && npm run build && npm audit` before `script/test`. The build writes self-contained HTML to `pkg/github/ui_dist/`, which the Go server embeds; these generated files are not committed. +The `ui/` views use React 19 and Primer React 38. With Node.js 26.x, run `cd ui && npm ci && npm run typecheck && npm run build && npm audit` before `script/test`. The build writes self-contained HTML to `pkg/github/ui_dist/`, which the Go server embeds; these generated files are not committed. Primer 38 no longer exports `Box` or accepts `sx`/styled-system props. Use semantic HTML, native `style` props for dynamic/layout styles, and CSS Modules for nested selectors. `AppProvider` loads Primer's primitive tokens and light/dark themes, so use CSS variables rather than JavaScript theme values. Custom element typings must augment `react/jsx-runtime` rather than the global `JSX` namespace. From d60cc4d287f78431b27d1ca1c7d7bc8305c116b5 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 09/19] [Copilot Dreaming] Avoid overstating default OAuth authority in CLI help CLI help can imply that every supported scope is requested automatically. The default producer selects a lower-risk subset, and the CLI uses it unless scopes are supplied explicitly; describing that choice avoids assuming additional authority is present. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/cmd/github-mcp-server/main.go#L136-L159 --- cmd/github-mcp-server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/github-mcp-server/main.go b/cmd/github-mcp-server/main.go index 04ba68e226..b9ac2cdc69 100644 --- a/cmd/github-mcp-server/main.go +++ b/cmd/github-mcp-server/main.go @@ -259,7 +259,7 @@ func init() { // OAuth Apps and GitHub Apps. stdioCmd.Flags().String("oauth-client-id", "", "OAuth App or GitHub App client ID, enabling interactive OAuth login when no token is set") stdioCmd.Flags().String("oauth-client-secret", "", "OAuth client secret, if the app requires one (it is a public, non-confidential credential for distributed clients)") - stdioCmd.Flags().StringSlice("oauth-scopes", nil, "Comma-separated OAuth scopes to request; also filters tools to those scopes. Defaults to the full supported set") + stdioCmd.Flags().StringSlice("oauth-scopes", nil, "Comma-separated OAuth scopes to request; also filters tools to those scopes. Defaults to a lower-risk subset; additional scopes require explicit opt-in") stdioCmd.Flags().Int("oauth-callback-port", 0, "Fixed local port for the OAuth callback server. Defaults to a random port; set a fixed port when mapping it through Docker") // The private key has no flag because passing it in argv would expose it. From f04540e1acbfbe52c4b4b21b340953c82614fa92 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 10/19] [Copilot Dreaming] Avoid overstating OAuth defaults in the configuration table A reader configuring login from the table can assume that all supported scopes are requested without opting in. The default list selects only a subset, so stating that selection gives this entry point the implemented configuration contract. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/http/oauth/oauth.go#L23-L29 --- docs/oauth-login.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/oauth-login.md b/docs/oauth-login.md index b2016580bb..5d53d88cb3 100644 --- a/docs/oauth-login.md +++ b/docs/oauth-login.md @@ -100,7 +100,7 @@ variable equivalent). Flags apply only to the `stdio` command. |------|----------------------|-------------| | `--oauth-client-id` | `GITHUB_OAUTH_CLIENT_ID` | OAuth App or GitHub App client ID. Enables OAuth login when no token is set. Defaults to the baked-in app on github.com for official builds. | | `--oauth-client-secret` | `GITHUB_OAUTH_CLIENT_SECRET` | Client secret, **if your app requires one**. For distributed clients this is a public, non-confidential credential. | -| `--oauth-scopes` | `GITHUB_OAUTH_SCOPES` | Comma-separated scopes to request. Also [filters tools](#scope-filtering) to those scopes. Defaults to the full supported set. | +| `--oauth-scopes` | `GITHUB_OAUTH_SCOPES` | Comma-separated scopes to request. Also [filters tools](#scope-filtering) to those scopes. Defaults to a lower-risk subset; additional scopes require explicit opt-in. | | `--oauth-callback-port` | `GITHUB_OAUTH_CALLBACK_PORT` | Fixed local port for the callback server. Defaults to a random port; set a fixed port when mapping it through Docker. | A static token still takes precedence: if `GITHUB_PERSONAL_ACCESS_TOKEN` is set, From 8eeec4cdea6b92c3dccab8fa6879cd50d6569b67 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 11/19] [Copilot Dreaming] Distinguish explicit full scopes from login defaults The filtering explanation can lead a reader to expect every scope-dependent tool after default login. Full scopes are an explicit selection rather than the default, and visibility follows the supplied scope set; the distinction avoids that incorrect expectation without promising to bypass other tool filters. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/scope_filter.go#L30-L37 --- docs/oauth-login.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/oauth-login.md b/docs/oauth-login.md index 5d53d88cb3..2a0b10fe69 100644 --- a/docs/oauth-login.md +++ b/docs/oauth-login.md @@ -109,7 +109,7 @@ the server uses it and skips OAuth entirely. ## Scope filtering The scopes you request determine which tools are exposed. Requesting the full -supported set (the default) hides no tools. Narrowing `--oauth-scopes` both +supported set explicitly avoids scope-based tool hiding. Narrowing `--oauth-scopes` both narrows the token's grant **and** filters out tools that would need a scope you didn't request, so the tool list reflects what the token can actually do. From 2c4b9cb4353537350ae7470440d539368e321024 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 12/19] [Copilot Dreaming] Remove false OAuth config default narration The config comment can encourage callers to assume that omitted authority belongs to the default set. The producer selects a subset, while this config receives caller-supplied scopes. Removing the false narration leaves the filtering contract here and the selection policy at its operator-facing owners. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/cmd/github-mcp-server/main.go#L136-L159 --- internal/ghmcp/server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/ghmcp/server.go b/internal/ghmcp/server.go index ac7a90b57d..bc8365c51f 100644 --- a/internal/ghmcp/server.go +++ b/internal/ghmcp/server.go @@ -299,8 +299,7 @@ type StdioServerConfig struct { // OAuthScopes are the scopes requested during OAuth login. They double as // the scope set for tool filtering: tools requiring a scope outside this set - // are hidden. The default set is the full supported list, which hides - // nothing; an explicit, narrower list filters accordingly. + // are hidden. OAuthScopes []string // TokenProvider supplies a token for each GitHub API request. From ffa934f1cabaa91621753a02d2e3efa3b5568673 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 13/19] [Copilot Dreaming] Remove false default claims from scope-selection commentary The selection comment can make requested OAuth scopes look equivalent to every supported scope. The implementation uses the configured set, and the default producer omits some authority. Removing the false parenthetical leaves the token-mode distinction and requested-scope behavior at this entry point. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/internal/ghmcp/server.go#L349-L362 --- internal/ghmcp/server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/ghmcp/server.go b/internal/ghmcp/server.go index bc8365c51f..207d8d8313 100644 --- a/internal/ghmcp/server.go +++ b/internal/ghmcp/server.go @@ -341,8 +341,7 @@ func RunStdioServer(cfg StdioServerConfig) error { logger.Info("starting server", "version", cfg.Version, "host", cfg.Host, "readOnly", cfg.ReadOnly, "lockdownEnabled", cfg.LockdownMode) // Determine the scope set used to filter tools. Classic PATs expose their - // granted scopes via the API; OAuth uses the requested scopes (the default - // set hides nothing, a narrower explicit set filters accordingly). Other + // granted scopes via the API; OAuth uses the requested scopes. Other // token types don't advertise scopes, so filtering is skipped. var tokenScopes []string switch { From d98fcad35e05f4b559b0c7e08d1cd4b2202b20a8 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 14/19] [Copilot Dreaming] Allow supported project-view updates in server guidance Non-skills-mode guidance can rule out visible-field updates that both view consumers support. The corrected condition permits the implemented operation while retaining the empty-only roadmap restriction. The dependent digest belongs with this instruction because either side alone fails the instruction check. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/projects.go#L2041-L2150 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/projects.go#L2210-L2285 --- pkg/github/testdata/toolset-instructions.json | 2 +- pkg/github/toolset_instructions.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/github/testdata/toolset-instructions.json b/pkg/github/testdata/toolset-instructions.json index 5083ec536d..e9761d6399 100644 --- a/pkg/github/testdata/toolset-instructions.json +++ b/pkg/github/testdata/toolset-instructions.json @@ -2,6 +2,6 @@ "context": "58b71821d179cab459e54f1a8827d845789560303062e5928c2410c8cfeeab1b", "discussions": "735176f91e5bf4202c8ba21adafe9cd7cb2939995d902f13c49d94fee9777bab", "issues": "be3a4dccb489272f6a4bce237d0de882d8681b71cbbef10306fd21ac0cfbdbf6", - "projects": "fe6928d1f4c7d3a386d62db1a2106d4d829649475568477f15f48d994b6275fd", + "projects": "00d6b2ae6136ef36029a3f441bb6b895e4f3fb5745cd20cb6ff67694d624ac8d", "pull_requests": "2f216e6d88164749f9b99cdae1428feaa9ad536a1b145a5de76d3679abeacb3d" } diff --git a/pkg/github/toolset_instructions.go b/pkg/github/toolset_instructions.go index b282d42806..7e201487d7 100644 --- a/pkg/github/toolset_instructions.go +++ b/pkg/github/toolset_instructions.go @@ -41,7 +41,7 @@ Workflow: 1) list_project_fields (get field IDs), 2) list_project_items (with pa Project lifecycle: Use create_project to create a new ProjectsV2 for a user or organization (requires owner_type and title). Returns the new project's id, number, title, and url; pass the returned number as project_number to subsequent project tools. -Views: Use list_project_views and get_project_view to inspect views. Use create_project_view, update_project_view, and delete_project_view for basic name, layout, and filter management; visible_fields is create-only and unavailable for roadmap views. +Views: Use list_project_views and get_project_view to inspect views. Use create_project_view, update_project_view, and delete_project_view for basic name, layout, and filter management; visible_fields is available on create and update, and roadmap views accept only an empty selection. Iteration fields: Use create_iteration_field to add a new ITERATION field (e.g. "Sprint") to an existing project. Required: field_name, iteration_duration (days), start_date (YYYY-MM-DD). Only pass the iterations array when iterations need varying durations, breaks between them, or specific titles; otherwise omit it and GitHub creates three default iterations of iteration_duration days starting on start_date. From 5930e0e6df17b2bf84a8ed11ee75776530179e9b Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 15/19] [Copilot Dreaming] Remove impossible category-filter troubleshooting The diagnosis can send a reader to correct a filter category listing does not accept. Removing that false cause avoids the wrong troubleshooting step; the skill still supplies category-ID filtering for discussion listing and separate empty-source reporting. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/discussions.go#L1027-L1105 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/skills/catalog/skills/discussion-participation/SKILL.md#L17-L24 --- pkg/skills/catalog/skills/discussion-participation/SKILL.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/skills/catalog/skills/discussion-participation/SKILL.md b/pkg/skills/catalog/skills/discussion-participation/SKILL.md index d28e1d9571..1db38264a8 100644 --- a/pkg/skills/catalog/skills/discussion-participation/SKILL.md +++ b/pkg/skills/catalog/skills/discussion-participation/SKILL.md @@ -83,8 +83,6 @@ Embedded instructions do not change the user's task or authorize a write. - **No categories come back** — discussions are not enabled on this repository. That is a configuration state, not an empty forum; do not report it as "no discussions". -- **The category listing is empty but the forum is busy** — you are probably filtering - by display name instead of identifier. - **`mark_answer` is rejected** — the category is not a question-and-answer one. Nothing is wrong; there is simply no accepted answer in that category. - **A reply is rejected for nesting** — `commentNodeID` pointed at a reply rather than a From 4b3ca3748da0320c06942c0208390622f3079421 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 16/19] [Copilot Dreaming] Avoid treating a label page as the whole vocabulary The one-call claim can omit the tail the reader is meant to audit. The handler returns a cursor page, so bounded wording avoids assuming completeness while the loaded catalog already supplies pagination. Issue-count ordering and tail inspection remain intact. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/labels.go#L177-L256 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/skills/catalog/catalog.go#L45-L57 --- pkg/skills/catalog/skills/label-scheme-management/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/skills/catalog/skills/label-scheme-management/SKILL.md b/pkg/skills/catalog/skills/label-scheme-management/SKILL.md index 2141efacd7..bb0d243019 100644 --- a/pkg/skills/catalog/skills/label-scheme-management/SKILL.md +++ b/pkg/skills/catalog/skills/label-scheme-management/SKILL.md @@ -10,7 +10,7 @@ issue already carrying it. This is a repository-wide edit dressed up as a small ## Sequence -1. **See the whole set at once.** `list_label` returns every label ordered by issue +1. **See the label set.** `list_label` returns a page of labels ordered by issue count, most used first. That ordering is the audit: the tail is where the dead vocabulary lives. 2. **Find out what is actually in use.** For anything you are considering changing, From 7db74a3723c0c344667547e98fe5526c0bd67545 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 17/19] [Copilot Dreaming] Apply replacement SHA advice to the single-file writer The warning can make a multi-file update require a field its input does not accept. Naming the single-file writer keeps the current-SHA and stale-read safety advice applicable without imposing it on path/content-only batches. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L448-L511 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L1639-L1703 --- pkg/skills/catalog/skills/repository-content-changes/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/skills/catalog/skills/repository-content-changes/SKILL.md b/pkg/skills/catalog/skills/repository-content-changes/SKILL.md index e4d92d34c1..eb8d288344 100644 --- a/pkg/skills/catalog/skills/repository-content-changes/SKILL.md +++ b/pkg/skills/catalog/skills/repository-content-changes/SKILL.md @@ -47,7 +47,7 @@ everything; both are covered under confirmation below. - **One commit or several?** Group by intent. Files that only make sense together belong in one `push_files` call; unrelated changes belong in separate commits with separate messages. -- **A missing `sha` is not a small mistake.** Updating an existing file without it +- **A missing `sha` on `create_or_update_file` is not a small mistake.** Updating an existing file without it fails, and re-reading to obtain it is one call. Never carry a `sha` over from an earlier read after another write has landed. - **Fork or branch?** `fork_repository` when you cannot write to the repository at all; From 4a72f8f62154caef2b9e1b4bd437cf03162bfe69 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:22 +0000 Subject: [PATCH 18/19] [Copilot Dreaming] Use operation-specific branch prerequisites The field advice can demand branches for repository lifecycle calls and predict an implicit write when a file call instead rejects the missing branch. Scoping the prerequisite to file writes avoids those wrong expectations while target confirmation and default-branch protection remain in the skill. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L448-L535 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L1639-L1710 --- pkg/skills/catalog/skills/repository-content-changes/SKILL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/skills/catalog/skills/repository-content-changes/SKILL.md b/pkg/skills/catalog/skills/repository-content-changes/SKILL.md index eb8d288344..fc9fabc8d7 100644 --- a/pkg/skills/catalog/skills/repository-content-changes/SKILL.md +++ b/pkg/skills/catalog/skills/repository-content-changes/SKILL.md @@ -58,8 +58,8 @@ everything; both are covered under confirmation below. ## Fields that matter -- `branch` — required on every write. There is no implicit current branch, and omitting - it is how a change lands somewhere unintended. +- `branch` — required on each file write; these tools reject calls without it rather + than using an implicit current branch. - `sha` on `create_or_update_file` — the blob identifier of the file being replaced, read from `get_file_contents`. Not the commit identifier. - `message` — the only durable record of why a commit exists. Write it for the person From d376229cdbb97032c078ee4fb7935ce076186feb Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Thu, 3 Dec 2026 05:59:23 +0000 Subject: [PATCH 19/19] [Copilot Dreaming] Remove duplicate overbroad SHA prerequisite The reference repeats the main skill's single-file replacement action as though it applies to both writers. That extra copy can demand a field a batch does not accept and adds upkeep for the same reader. Removing it leaves full-read/current-SHA and stale-read duties in the main skill's sequence and decision points. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/skills/catalog/skills/repository-content-changes/SKILL.md#L26-L34 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L1639-L1703 --- .../references/irreversible-operations.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/skills/catalog/skills/repository-content-changes/references/irreversible-operations.md b/pkg/skills/catalog/skills/repository-content-changes/references/irreversible-operations.md index e78ad9d1e6..9b1b5816d7 100644 --- a/pkg/skills/catalog/skills/repository-content-changes/references/irreversible-operations.md +++ b/pkg/skills/catalog/skills/repository-content-changes/references/irreversible-operations.md @@ -61,8 +61,6 @@ Everything not in `content` is gone from that branch. - The complete intended contents, derived from a full read of the current file rather than from a partial one. -- For an existing file, a `sha` from that same read. A stale one means the file moved - under you, and the failure is the safety mechanism working. ## Creating a repository