Repository navigation
Apply the MCP Apps opt-out before publishing skills - #2
Draft
cursor[bot] wants to merge 15 commits into
Draft
cursor[bot] wants to merge 15 commits into
cursor[bot] wants to merge 15 commits into
Conversation
…ithub#3937) The GitHub Advisory Database has a Swift ecosystem and the REST API accepts ecosystem=swift, but the tool's ecosystem enum left it out. The server validates arguments against that enum, so every call with ecosystem "swift" failed with a validation error before reaching the API. Add "swift" to the enum and refresh the tool snapshot.
) * Add list_code_quality_findings tool to code_quality toolset Add a read-only tool that lists code quality findings for a repository via GET /repos/{owner}/{repo}/code-quality/findings. It supports the endpoint's filters: state (open or dismissed, defaulting to open), direction (asc or desc), and cursor pagination (perPage, after). The tool follows the list_dependabot_alerts pattern: cursor pagination schema, defaults stripped from the validation schema, a typed output with findings and pageInfo, and the same scopes as get_code_quality_finding. Like get_code_quality_finding, it attaches no IFC label. Includes unit tests, the tool snapshot, and regenerated README docs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Clarify direction description for list_code_quality_findings The endpoint sorts findings by creation date only, so describe the direction values in those terms. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Cover list_code_quality_findings in repository-health-review skill Every tool must be covered by a bundled skill or explicitly exempted. Add list_code_quality_findings as an optional tool of the repository-health-review skill, next to the code scanning and Dependabot alert tools, and mention it in the outstanding-risk step. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Attach IFC label to list_code_quality_findings results Label successful results with ifc.LabelSecurityAlert() (private, untrusted) when the ifc_labels feature flag is enabled, the same label the code scanning, Dependabot and secret scanning tools use. Findings embed file paths and messages derived from repository code, and without a label, clients that enforce IFC have no classification for this data. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: carogalvin <223556219+Copilot@users.noreply.github.com>
Bumps [@modelcontextprotocol/ext-apps](https://github.com/modelcontextprotocol/ext-apps) from 2.0.3 to 2.0.4. - [Release notes](https://github.com/modelcontextprotocol/ext-apps/releases) - [Changelog](https://github.com/modelcontextprotocol/ext-apps/blob/main/RELEASES.md) - [Commits](modelcontextprotocol/ext-apps@v2.0.3...v2.0.4) --- updated-dependencies: - dependency-name: "@modelcontextprotocol/ext-apps" dependency-version: 2.0.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix PR triage activation and skip prior assessments * Recognize the configured PR triage writer
…github#3971) Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 6.1.2 to 6.3.0. - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.3.0/packages/plugin-react) --- updated-dependencies: - dependency-name: "@vitejs/plugin-react" dependency-version: 6.3.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JoannaaKL <joannaakl@github.com>
Bumps [zod](https://github.com/colinhacks/zod) from 4.6.6 to 4.6.7. - [Release notes](https://github.com/colinhacks/zod/releases) - [Commits](colinhacks/zod@v4.6.6...v4.6.7) --- updated-dependencies: - dependency-name: zod dependency-version: 4.6.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JoannaaKL <joannaakl@github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 7.0.0 to 7.1.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@b7ad1da...d8cbb80) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JoannaaKL <joannaakl@github.com>
…tes (github#3999) Bumps the minor-npm-dependencies group in /ui with 6 updates: | Package | From | To | | --- | --- | --- | | [@modelcontextprotocol/client](https://github.com/modelcontextprotocol/typescript-sdk) | `2.3.1` | `2.4.0` | | [@primer/octicons-react](https://github.com/primer/octicons) | `19.40.0` | `19.43.0` | | [@primer/react](https://github.com/primer/react) | `38.40.1` | `38.47.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.5` | `26.6.11` | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.3.0` | `19.3.3` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.5` | `8.4.0` | Updates `@modelcontextprotocol/client` from 2.3.1 to 2.4.0 - [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases) - [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/@modelcontextprotocol/client@2.3.1...@modelcontextprotocol/client@2.4.0) Updates `@primer/octicons-react` from 19.40.0 to 19.43.0 - [Release notes](https://github.com/primer/octicons/releases) - [Changelog](https://github.com/primer/octicons/blob/main/CHANGELOG.md) - [Commits](https://github.com/primer/octicons/compare/@primer/octicons-react@19.40.0...@primer/octicons-react@19.43.0) Updates `@primer/react` from 38.40.1 to 38.47.0 - [Release notes](https://github.com/primer/react/releases) - [Commits](https://github.com/primer/react/compare/@primer/react@38.40.1...@primer/react@38.47.0) Updates `@types/node` from 26.6.5 to 26.6.11 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/react` from 19.3.0 to 19.3.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `vite` from 8.3.5 to 8.4.0 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.4.0/packages/vite) --- updated-dependencies: - dependency-name: "@modelcontextprotocol/client" dependency-version: 2.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-npm-dependencies - dependency-name: "@primer/octicons-react" dependency-version: 19.43.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-npm-dependencies - dependency-name: "@primer/react" dependency-version: 38.47.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-npm-dependencies - dependency-name: "@types/node" dependency-version: 26.6.11 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-npm-dependencies - dependency-name: "@types/react" dependency-version: 19.3.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-npm-dependencies - dependency-name: vite dependency-version: 8.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-npm-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…github#4000) * build(deps): bump the minor-actions-dependencies group with 6 updates Bumps the minor-actions-dependencies group with 6 updates: | Package | From | To | | --- | --- | --- | | [github/codeql-action/init](https://github.com/github/codeql-action) | `4.39.3` | `4.39.4` | | [github/codeql-action/start-proxy](https://github.com/github/codeql-action) | `4.39.3` | `4.39.4` | | [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.39.3` | `4.39.4` | | [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.39.3` | `4.39.4` | | [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) | `4.1.2` | `4.1.3` | | [github/gh-aw-actions/setup](https://github.com/github/gh-aw-actions) | `1.0.1` | `1.4.0` | Updates `github/codeql-action/init` from 4.39.3 to 4.39.4 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@33d7b85...1bd86f2) Updates `github/codeql-action/start-proxy` from 4.39.3 to 4.39.4 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@33d7b85...1bd86f2) Updates `github/codeql-action/autobuild` from 4.39.3 to 4.39.4 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@33d7b85...1bd86f2) Updates `github/codeql-action/analyze` from 4.39.3 to 4.39.4 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@33d7b85...1bd86f2) Updates `sigstore/cosign-installer` from 4.1.2 to 4.1.3 - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](sigstore/cosign-installer@6f9f177...756fe2d) Updates `github/gh-aw-actions/setup` from 1.0.1 to 1.4.0 - [Release notes](https://github.com/github/gh-aw-actions/releases) - [Changelog](https://github.com/github/gh-aw-actions/blob/main/CHANGELOG.md) - [Commits](github/gh-aw-actions@221ba4f...b907753) --- updated-dependencies: - dependency-name: github/codeql-action/init dependency-version: 4.39.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-actions-dependencies - dependency-name: github/codeql-action/start-proxy dependency-version: 4.39.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-actions-dependencies - dependency-name: github/codeql-action/autobuild dependency-version: 4.39.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-actions-dependencies - dependency-name: github/codeql-action/analyze dependency-version: 4.39.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-actions-dependencies - dependency-name: sigstore/cosign-installer dependency-version: 4.1.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-actions-dependencies - dependency-name: github/gh-aw-actions/setup dependency-version: 1.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Sync gh-aw action lock metadata Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Update cosign-release version to v3.1.4 Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JoannaaKL <joannaakl@github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ithub#3998) * build(deps): bump the minor-gomod-dependencies group with 2 updates Bumps the minor-gomod-dependencies group with 2 updates: [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) and [golang.org/x/net](https://github.com/golang/net). Updates `github.com/modelcontextprotocol/go-sdk` from 1.8.0 to 1.9.0 - [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases) - [Commits](modelcontextprotocol/go-sdk@v1.8.0...v1.9.0) Updates `golang.org/x/net` from 0.61.0 to 0.63.0 - [Commits](golang/net@v0.61.0...v0.63.0) --- updated-dependencies: - dependency-name: github.com/modelcontextprotocol/go-sdk dependency-version: 1.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-gomod-dependencies - dependency-name: golang.org/x/net dependency-version: 0.63.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-gomod-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * chore: regenerate license files Auto-generated by license-check workflow * chore: regenerate license files Auto-generated by license-check workflow * chore: regenerate license files Auto-generated by license-check workflow * Fix SDK upgrade compatibility Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: JoannaaKL <joannaakl@github.com> Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* Add pull request auto-merge tool Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Clarify when to enable pull request auto-merge Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Expose pull request auto-merge state Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Address auto-merge tool review feedback Use consistent snake_case inputs for the new tool, title-case its metadata, and clarify auto-merge defaults and repository requirements without changing the existing merge tool API. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Operators sharing one image across clients need a single switch that removes UI metadata, UI resources, and form deferral while leaving the default enabled. Co-authored-by: Cursor <cursoragent@cursor.com>
skillsPublisher filters on the tools the server will register. Setting the disable flag first keeps a skill from requiring an app-only tool that registration then omits. The README example now includes the stdio subcommand. Co-authored-by: ango <nanami7777777@users.noreply.github.com>
nanami7777777
force-pushed
the
feat/disable-mcp-apps
branch
from
December 3, 2026 09:00
6beb34b to
1d3c2fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up on github#3912 (same branch). The server-wide MCP Apps opt-out is applied before skills are published, and the README example includes the
stdiosubcommand.Why
Fixes the two open Copilot notes on github#3912.
skillsPublisherfilters skills fromConfiguredTools. That view omits app-only tools only afterDisableMCPAppsis stored on the context. Publishing first could advertise a skill whose required tool is then left unregistered. The README command./github-mcp-server --mcp-apps=falsenever starts a server, because the root command has no run handler.What changed
skillsPublisherinNewMCPServer../github-mcp-server stdio --mcp-apps=false.TestDisableMCPAppsWithholdsSkillsThatNeedAppOnlyTools.MCP impact
No new tool and no schema change. With MCP Apps disabled, a skill that requires an app-only tool is no longer published. The default remains MCP Apps enabled.
Prompts tested (tool changes only)
go test ./pkg/github/ -run 'TestDisableMCPAppsWithholdsSkillsThatNeedAppOnlyTools|TestNewMCPServer_DisableMCPAppsOmitsUISurface|TestSkillsFeatureAndInstructions|TestSkillsAvailabilityAcrossRequestNarrowing'passed.Security / limits
The opt-out still only removes UI metadata, UI resources, and app-only tools. It does not change token scope or repository access.
Tool renaming
deprecated_tool_aliases.goLint & tests
./script/lint./script/testRan the targeted
go test ./pkg/github/cases above, not the full./script/testsuite.Docs
Skills
No bundled skill text changed. Server construction now withholds a skill whose required tool is app-only when MCP Apps are disabled.
What is next
Re-review the two Copilot threads on github#3912. The manual client check in that PR (start with
GITHUB_MCP_APPS=falseand confirmissue_writeis inline) is still open.