Bug Description
Running npx -y @gleanwork/local-mcp-server fails with npm error EUNSUPPORTEDPROTOCOL and message “Unsupported URL Type 'workspace:': workspace:*
npx -y @gleanwork/local-mcp-server
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:*
Self-Service Checklist
Steps to Reproduce
- run
npx -y @gleanwork/local-mcp-server
Expected Behavior
Package should be installed sucessfully.
Actual Behavior
Getting an error.
Environment Information
- Node.js version: v23.11.0
- NPM/PNPM/Yarn version: npm 10.9.2
- MCP server version: N/A
- Operating System: macOS 15.7.3 (Build 24G419), Darwin 24.6.0, arm64
- MCP client (if applicable): Cursor
Additional Context
MCP Client Configuration
{
"mcpServers": {
"glean": {
"command": "npx",
"args": ["-y", "@gleanwork/local-mcp-server"],
"env": {
"GLEAN_INSTANCE": "<redacted>",
"GLEAN_API_TOKEN": "<redacted>"
}
}
}
}
Bug Description
Running npx -y @gleanwork/local-mcp-server fails with npm error EUNSUPPORTEDPROTOCOL and message “Unsupported URL Type 'workspace:': workspace:*
npx -y @gleanwork/local-mcp-serverSelf-Service Checklist
GLEAN_INSTANCEis set to my Glean instance (note:GLEAN_SUBDOMAINis still supported for backwards compatibility)GLEAN_API_TOKENis a valid, non-expired API tokenGLEAN_ACT_ASis correctly set if using impersonationpnpm inspectorand confirmed the issue occurs there as wellSteps to Reproduce
npx -y @gleanwork/local-mcp-serverExpected Behavior
Package should be installed sucessfully.
Actual Behavior
Getting an error.
Environment Information
Additional Context
MCP Client Configuration
{ "mcpServers": { "glean": { "command": "npx", "args": ["-y", "@gleanwork/local-mcp-server"], "env": { "GLEAN_INSTANCE": "<redacted>", "GLEAN_API_TOKEN": "<redacted>" } } } }