Skip to content

Fix push_files schema missing AdditionalProperties for Visual Studio 2026#2168

Open
04cb wants to merge 1 commit intogithub:mainfrom
04cb:fix/additionalproperties-push-files
Open

Fix push_files schema missing AdditionalProperties for Visual Studio 2026#2168
04cb wants to merge 1 commit intogithub:mainfrom
04cb:fix/additionalproperties-push-files

Conversation

@04cb
Copy link

@04cb 04cb commented Mar 7, 2026

Fixes #2011. Visual Studio 2026 requires array item schemas to explicitly set additionalProperties to false. The push_files tool's files array was missing this, causing HTTP 400 errors when the tool was invoked from VS 2026 Insiders.

This adds AdditionalProperties: false to the files array items schema to indicate only path and content properties are allowed.

…2026

Visual Studio 2026 requires array item schemas to explicitly set
additionalProperties to false. The push_files tool's files array
was missing this, causing HTTP 400 errors when the tool was invoked.

This adds AdditionalProperties: false to the files array items schema
to indicate only path and content properties are allowed.
@04cb 04cb requested a review from a team as a code owner March 7, 2026 04:42
Copy link
Collaborator

@SamMorrowDrums SamMorrowDrums left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I had meant to address this weeks ago but it slipped past me.

@SamMorrowDrums
Copy link
Collaborator

@04cb you will need to update the toolsnaps before merge however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub MCP Server fails in Visual Studio 2026 Insiders due to invalid github_push_files schema

2 participants