Repository navigation
Offer the VectorCAST MCP servers to VS Code's chat - #357
Open
ThisCakeIsALie wants to merge 4 commits into
Open
ThisCakeIsALie wants to merge 4 commits into
ThisCakeIsALie wants to merge 4 commits into
Conversation
When the VectorCAST installation ships vcast-mcp-server, reqs2x-mcp-server and docs-mcp-server, register them through VS Code's MCP server definition API, so agent mode can use them without a hand-written mcp.json. They follow the installation-location setting, and the tool version marks a different build, which makes VS Code replace the running servers. The API needs VS Code 1.101, so the minimum version goes up from 1.79. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Code has the API The MCP server API is the only part of the extension that needs VS Code 1.101, so the minimum goes back to 1.79 and the servers are registered only when VS Code provides the API. The extension compiles against @types/vscode 1.79.0, pinned, so any newer API used without a check is a compile error. The few MCP types it uses are declared in vscodeMcpApi.d.ts as possibly missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #357 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 12
Lines 2349 2349
Branches 329 329
=========================================
Hits 2349 2349
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…servers On a VS Code without the MCP server API, if the VectorCAST installation includes any of the servers, show a one-time message that updating VS Code to 1.101 or newer makes them available in chat. Whether it was shown is kept in the extension's global state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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.



VectorCAST builds that ship
vcast-mcp-server,reqs2x-mcp-serveranddocs-mcp-servernext to clicast now appear in VS Code's chat in agent mode without anmcp.jsonentry. The extension offers them through VS Code's MCP server definition provider API, from the installation it already uses, and updates them when the Vectorcast Installation Location option changes. That API exists since VS Code 1.101; older VS Code versions, back to the current minimum of 1.79, run the extension as before, just without the servers. On WSL with a VC27 build that ships the servers, a Copilot Chat agent used them to build a tutorial environment and write tests; Windows is untested, and switching installations was only tried with a stub provider. On those older versions, if the installation includes the servers, the extension says once that updating VS Code makes them available. Loaded in VS Code 1.79.2, the extension activates normally and shows that message; in VS Code 1.146 it offers all three servers.