Skip to content

[BUG] npx @gleanwork/local-mcp-server fails with EUNSUPPORTEDPROTOCOL for workspace:* #345

@madilkhan002

Description

@madilkhan002

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

  • I have verified my environment variables are correctly set
    • GLEAN_INSTANCE is set to my Glean instance (note: GLEAN_SUBDOMAIN is still supported for backwards compatibility)
    • GLEAN_API_TOKEN is a valid, non-expired API token
    • (Optional) GLEAN_ACT_AS is correctly set if using impersonation
  • I have tested the MCP server locally using pnpm inspector and confirmed the issue occurs there as well
  • I have checked for similar issues in the issue tracker
  • I have updated to the latest version of the MCP server

Steps to Reproduce

  1. 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>"
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions