mcp-repl
v2.5.7
Published
MCP REPL with code execution, semantic code search, and comprehensive ast-grep integration
Maintainers
Readme
🚀 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 -s user repl -- "npx" "-y" "mcp-repl"
Cursor
{
"mcpServers": {
"mcp-repl": {
"command": "npx",
"args": [
"-y", "mcp-repl"
],
"env": {},
"disabled": false,
"autoApprove": [
"executenodejs",
"executedeno",
"executebash",
"retrieve_overflow",
"searchcode",
"astgrep_search",
"astgrep_replace",
"astgrep_lint",
"astgrep_analyze",
"astgrep_enhanced_search",
"astgrep_multi_pattern",
"astgrep_constraint_search",
"astgrep_project_init",
"astgrep_project_scan",
"astgrep_test",
"astgrep_validate_rules",
"astgrep_debug_rule",
"batch_execute",
"sequentialthinking"]
}
}
}github copilot
{
"mcpServers": {
"repl": {
"command": "npx",
"args": ["-y", "@anentrypoint/mcp-repl"],
"env": {},
"type": "local",
"tools": [
"executenodejs",
"executedeno",
"executebash",
"retrieve_overflow",
"searchcode",
"astgrep_search",
"astgrep_replace",
"astgrep_lint",
"astgrep_analyze",
"astgrep_enhanced_search",
"astgrep_multi_pattern",
"astgrep_constraint_search",
"astgrep_project_init",
"astgrep_project_scan",
"astgrep_test",
"astgrep_validate_rules",
"astgrep_debug_rule",
"batch_execute",
"sequentialthinking"
]
}
}
}vscode
{
"servers": {
"repl": {
"command": "node",
"args": [
"c:/dev/mcp-repl/src/direct-executor-server.js"
],
"env": {},
"type": "stdio"
}
},
"inputs": []
}