microsoft / microsoft/vscode

Some comments removed during MCP migration

Open
#335,813 0 comments 1 reaction 2 assignees Claimed by @vritant24 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Testing #335626

Write the following to `.vscode/mcp.json`:
```jsonc
{
"servers": {

// This is the migrate-me server
"migrate-me": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-everything"
]
},

// This is the leave-me server
"leave-me": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-everything"
]
},
}
}
```

Then migrate the `migrate-me` server. Afterwards `.vscode/mcp.json` becomes:
```jsonc
{
"servers": {
"leave-me": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-everything"
]
},
}
}
```

Notice that the comment on `leave-me` is lost.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.