package.json exports resolver (which file Node loads) for Cursor
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:Cursor
transport:stdio
runtime:oci
Install package.json exports resolver (which file Node loads) in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"package-exports": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/lawatch/package-exports:1.0.0"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs