microsoft/vscode · error · Error
No server package found
Error message
No server package found
What it means
Error "No server package found" thrown in microsoft/vscode.
Source
Thrown at extensions/copilot/src/extension/mcp/vscode-node/nuget.ts:859
if (packageType === RegistryType.REMOTE && manifest.remotes?.length) {
const { inputs, variables } = this.processKeyValueInputs(manifest.remotes[0].headers ?? []);
return {
mcpServerConfiguration: {
config: {
type: McpServerType.REMOTE,
url: manifest.remotes[0].url,
headers: Object.keys(inputs).length ? inputs : undefined,
},
inputs: variables.length ? variables : undefined,
},
notices: [],
};
}
// local
const serverPackage = manifest.packages?.find(p => p.registryType === packageType) ?? manifest.packages?.[0];
if (!serverPackage) {
throw new Error(`No server package found`);
}
const args: string[] = [];
const inputs: IMcpServerVariable[] = [];
const env: Record<string, string> = {};
const notices: string[] = [];
if (serverPackage.registryType === RegistryType.DOCKER) {
args.push('run');
args.push('-i');
args.push('--rm');
}
if (serverPackage.runtimeArguments?.length) {
const result = this.processArguments(serverPackage.runtimeArguments ?? []);
args.push(...result.args);
inputs.push(...result.variables);
notices.push(...result.notices);View on GitHub (pinned to a94b963a32)
When it happens
Trigger: Thrown at extensions/copilot/src/extension/mcp/vscode-node/nuget.ts:859 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of microsoft/vscode@a94b963a32 (2026-08-12).
Data as JSON: /api/errors/e2b5d6b22e2f2318.
Report an issue: GitHub.