js-sandbox MCP 서버
안전한 JavaScript 실행 환경을 제공하는 모델 컨텍스트 프로토콜 서버입니다.
특징
도구
execute_js
- 격리된 환경에서 JavaScript 코드를 실행합니다.- 매개변수:
code
(필수): 실행할 JavaScript 코드timeout
(선택 사항): 최대 실행 시간(밀리초, 100~30000ms)memory
(선택 사항): 바이트 단위의 메모리 제한(1MB-100MB)
- 코드 실행 결과를 반환합니다.
- 매개변수:
보안
- 제어된 환경에서의 격리된 코드 실행
- 구성 가능한 실행 시간 및 메모리 제한
- 악성코드로부터 보호
개발
종속성 설치:
지엑스피1
서버를 빌드하세요:
자동 재구축이 가능한 개발 모드:
설치
Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
디버깅
MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 다음과 같은 MCP Inspector를 사용하는 것이 좋습니다.
검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Claude의 코드를 안전하게 실행하기 위한 구성 가능한 시간 및 메모리 제한을 갖춘 안전하고 격리된 JavaScript 실행 환경을 제공합니다.
Related Resources
Related MCP Servers
- -securityAlicense-qualityThe sessionless code interpreter. Securely run AI-generated code in stateful sandboxes that run forever.Last updated -65176RustMIT License
- -securityFlicense-qualityA TypeScript application that allows Claude to safely execute bash commands with security safeguards including whitelisted commands, directories, and comprehensive logging.Last updated -TypeScript
- -securityFlicense-qualityA TypeScript application that allows Claude to safely execute bash commands with security safeguards, providing a secure interface through the Model Context Protocol.Last updated -TypeScript
- AsecurityFlicenseAqualityA secure JavaScript REPL server that enables executing code snippets in a sandboxed environment with memory protection, timeout handling, and comprehensive error reporting.Last updated -21507JavaScript