🚀 직접 Node.js REPL 실행기
🧙♂️ 간소화된 JavaScript 실행 환경
완벽한 지원을 통해 원활한 코드 실행을 가능하게 하는 간소화된 직접 Node.js 실행 환경:
ESM 모듈 - 기본 가져오기/내보내기 구문
동적 가져오기 - await import()에 대한 전체 지원
CommonJS 호환성 - createRequire를 통해 require()와 함께 작동합니다.
네이티브 Node.js API 액세스 - 모든 Node.js 기능에 직접 액세스
🧩 구성
커서의 경우 .cursor/mcp.json
구성을 업데이트하세요.
지엑스피1
✨ 특징
🚀 직접 Node.js 실행 : VM 샌드박싱 없이 Node.js에서 직접 코드를 실행합니다.
📦 전체 모듈 지원 : ESM 및 CommonJS 모듈에 대한 원활한 지원
⏱️ 실시간 피드백 : 코드 실행에서 즉각적인 결과를 얻으세요
🔍 향상된 디버깅 : 적절한 오류 처리를 통해 깔끔한 출력 제공
🧠 간단한 아키텍처 : 최소한의 복잡성으로 간소화된 구현
🔄 파일 시스템 액세스 : 실제 테스트를 위한 파일 시스템에 대한 전체 액세스
🛠️ 구현 세부 정보
이 구현은 다음과 같습니다.
각 실행에 대해 임시
.mjs
파일을 생성합니다.별도의 프로세스에서 Node.js로 직접 코드를 실행합니다.
모든 콘솔 출력 및 실행 결과를 캡처합니다.
임시 파일을 자동으로 정리합니다
MCP 클라이언트에 표준화된 결과를 반환합니다.
📝 사용 예시
local-only server
The server can only run on the client's local machine because it depends on local resources.
메모리 보호, 시간 초과 처리, 포괄적인 오류 보고 기능을 갖춘 샌드박스 환경에서 코드 조각을 실행할 수 있는 안전한 JavaScript REPL 서버입니다.
Related MCP Servers
- AsecurityFlicenseAqualityProvides a secure, isolated JavaScript execution environment with configurable time and memory limits for safely running code from Claude.Last updated -1225
- -securityFlicense-qualityA server that enables AI assistants to execute JavaScript code with persistent context through stateful REPL sessions, file operations, and package management features.Last updated -
- -securityFlicense-qualityA secure MCP server that provides controlled ShellJS access for LLMs, enabling AI systems to safely execute shell commands and interact with the filesystem within a configurable security sandbox.Last updated -
- -securityFlicense-qualityProvides secure execution of arbitrary JavaScript code within a sandboxed QuickJS WASM environment, allowing language models or other MCP clients to safely run JavaScript code snippets without compromising the host system.Last updated -4