Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
A Cursor extension that hosts an HTTP MCP Server and registers it via registerServer stays stuck at 0 tools enabled, if installed as a built .vsix package.
The same extension works after a restart (so still .vsix) OR if launched directly from cursor (running code directly).
Steps to Reproduce
In the supplied project folder:
npm install
npm package
and install the .vsix in cursor
Expected Behavior
In: Preferences > Cursor settings > Customize > MCPs,
extension-random-number shows: 1 tool is enabled
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Version: 3.15.19 (user setup)
VS Code Extension API: 1.128.0
Commit: de07bee81cefe43461ebf4f40c3d2d78d15052a0
Date: 2026-08-11T05:22:54.627Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
No - Cursor works, but with this issue
