Skip to content

Offer the VectorCAST MCP servers to VS Code's chat - #357

Open
ThisCakeIsALie wants to merge 4 commits into
mainfrom
register-mcp-servers
Open

ThisCakeIsALie wants to merge 4 commits into
mainfrom
register-mcp-servers

Conversation

@ThisCakeIsALie

@ThisCakeIsALie ThisCakeIsALie commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

VectorCAST builds that ship vcast-mcp-server, reqs2x-mcp-server and docs-mcp-server next to clicast now appear in VS Code's chat in agent mode without an mcp.json entry. 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.

ThisCakeIsALie and others added 2 commits November 10, 2026 14:08
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

codecov Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a9e8010) to head (e164f56).
⚠️ Report is 4 commits behind head on main.

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           
Flag Coverage Δ
Unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…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>
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant