Skip to content
Windsurf

package.json exports resolver (which file Node loads) for Windsurf

io.github.lawatch/package-exports

Which file Node loads for import or require of pkg/sub, and why: package.json exports, same as Node.

client:Windsurf transport:stdio runtime:oci

Install package.json exports resolver (which file Node loads) in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

{
  "mcpServers": {
    "package-exports": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/package-exports:1.0.0"
      ]
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

package.json exports resolver (which file Node loads) in other clients