Skip to content

Unable to add MCP server in Eclipse -> Copilot -> Edit Preferences #31

@nagarjunkatta-glitch

Description

@nagarjunkatta-glitch

Hi

I have Eclipse IDE with Github Copilot license. Now i tried to copy the extension and add it in the Copilot Preferences. I get the below error. Can you please help?

Image

eclipse.buildId=4.36.0.20250605-1300
java.version=21.0.7
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

org.eclipse.lsp4e
Error
Fri Aug 22 15:31:51 IST 2025
[Error] [CopilotMCP] Error initializing MCP server mcpServers: TypeError: The "path" argument must be of type string. Received undefined
at Object.normalize (node:path:338:5)
at parseNonShell (C:\snapshot\copilot-client\node_modules\cross-spawn\lib\parse.js:49:31)
at parse (C:\snapshot\copilot-client\node_modules\cross-spawn\lib\parse.js:88:37)
at spawn (C:\snapshot\copilot-client\node_modules\cross-spawn\index.js:9:20)
at C:\snapshot\copilot-client\node_modules@modelcontextprotocol\sdk\src\client\stdio.ts:120:23
at new Promise ()
at HY.start (C:\snapshot\copilot-client\node_modules@modelcontextprotocol\sdk\src\client\stdio.ts:119:12)
at NY.connect (C:\snapshot\copilot-client\node_modules@modelcontextprotocol\sdk\src\shared\protocol.ts:302:27)
at NY.connect (C:\snapshot\copilot-client\node_modules@modelcontextprotocol\sdk\src\client\index.ts:128:17)
at jY.connect (C:\snapshot\copilot-client\lib\src\mcp\mcpBaseServer.ts:56:28) {
code: 'ERR_INVALID_ARG_TYPE'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions