Built by Metorial, the integration platform for agentic AI.

Learn More

AnEntrypoint/mcp-repl

Simple JavaScript REPL

    Server Summary

    • Execute JavaScript code

    • Support ESM modules

    • Perform dynamic imports

    • Utilize Node.js native APIs

    • Handle errors and memory management

πŸš€ MCP REPL Executor

Version Node License

πŸ§™β€β™‚οΈ Simplified JavaScript Execution Environment

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

🧩 Configuration

For Claude Code: claude mcp add repl -- "npx" "-y" "mcp-repl" "path/to/your/project"

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"]
    }
  }
}