MCP Server
MCP-REPL
A secure JavaScript REPL server that enables executing code snippets in a sandboxed environment with memory protection, timeout handling, and comprehensive error reporting.
11
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "mcp-repl",
3 "command": "npx",
4 "args": [
5 "-y",
6 "mcp-repl"
7 ],
8 "env": {},
9 "disabled": false,
10 "autoApprove": [
11 "executenode",
12 "executedeno"
13 ]
14}
JSON14 lines
README Documentation
🚀 MCP REPL Executor
🧙♂️ 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"
For Cursor, update your .cursor/mcp.json
configuration:
{
"mcpServers": {
"mcp-repl": {
"command": "npx",
"args": [
"-y", "mcp-repl"
],
"env": {},
"disabled": false,
"autoApprove": ["executenode", "executedeno"]
}
}
}
Quick Install
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source