Description
I was testing the registerMcpServerDefinitionProvider
API in my server and registered a new server. It showed up as expected in the tools list when running in the dev extension host.
I then removed the code from my extension that calls registerMcpServerDefinitionProvider
and re-launched the dev extension host. The previous tools still show up (and the name of the MCP server), even though they're no longer being registered. VS Code appears to be able to launch the server and call tools, despite there being no definition in the .vscode/
folder or coming from the server.
I've tried running the MCP: Reset Cached Tools but it continues to show up.
I presume the server info was cached somewhere, but I can't figure out where. There are options to start/stop the server, but nothing to remove it.