A streamlined direct Node.js execution environment that enables seamless code execution with full support for:
- ESM Modules - Native import/export syntax
- Dynamic Imports - Full support for await import()
- CommonJS compatibility - Works with require() through createRequire
- Native Node.js API access - Direct access to all Node.js features
For Cursor, update your .cursor/mcp.json
configuration:
{
"mcpServers": {
"mcp-repl": {
"command": "npx",
"args": [
"-y", "mcp-repl", "path/to/your/project"
],
"env": {},
"disabled": false,
"autoApprove": ["executenode", "executedeno"]
}
}
}