VS Code MCP Bridge Diagnostics
The companion extension exports read-only VS Code Problems diagnostics for each open workspace folder to:
%APPDATA%\\VSCodeMCPBridge\\diagnostics\\<project-folder>.json
The local MCP server reads these snapshots through the vscode_diagnostics and vscode_diagnostic_summary tools.
Install
After publication, search the Visual Studio Marketplace in VS Code for VS Code MCP Bridge Diagnostics (publisher: foxynoxy) and install it.
The extension is a companion to the local VS Code MCP Bridge server; installing it alone does not create an MCP connection. The bridge manager/server must also be configured and running.
Use
- Open a project folder in VS Code.
- The extension exports diagnostics automatically when VS Code reports changes and every 30 seconds.
- To force an update, open the Command Palette and run VS Code MCP Bridge: Refresh Diagnostics Snapshot.
- Ask your connected MCP client to call
vscode_diagnostics or vscode_diagnostic_summary for the project.
Test locally
- Open this repository's
vscode-extension folder in VS Code.
- Press
F5 to launch an Extension Development Host.
- In that new VS Code window, open a project located directly inside your configured
Documents\\Coding folder.
- Use the refresh command to force a snapshot update.
Publish
Publishing is automated from GitHub Actions using Marketplace Trusted Publishing (OIDC), so no long-lived Marketplace token is stored in the repository.
One-time publisher setup:
- Open the Visual Studio Marketplace publisher management page.
- Select publisher
foxynoxy and open Trusted Publishing.
- Create a policy with:
- Policy name:
VS Code MCP Bridge release workflow
- Repository owner:
F0xyN0xy
- Repository:
VSCode-MCP-Bridge
- Workflow:
publish-vscode-extension.yml
- Environment: leave empty
- Create a GitHub Release after the workflow is on the default branch. The release workflow packages and publishes the version in this folder's
package.json.
For a private GitHub repository, the first successful OIDC token exchange must happen within 48 hours after creating the Trusted Publishing policy. If the policy is not activated in time, recreate it and run the workflow promptly.
Before the first public release, test the extension in an Extension Development Host and review the package contents. Do not publish a version until the extension has been smoke-tested in VS Code.
Behavior and privacy
- Read-only: it does not edit source files, run tasks, or execute commands.
- Exports file-based diagnostics from open workspace folders only.
- Messages are capped at 2,000 characters and 2,000 diagnostics per workspace.
- Snapshots are written atomically to the current Windows user's AppData directory.
- The MCP server checks that a snapshot belongs to the selected project and marks snapshots older than 15 minutes as stale.
- Diagnostic messages can contain local paths or source snippets. Snapshots remain local in your Windows user profile and are made available through your configured MCP tunnel.