execute_js
Execute JavaScript code in an isolated environment
Run a JavaScript snippet in an isolated environment with a memory ceiling and a timeout, instead of pasting it into the project to find out what it returns.
LABSCO SUMMARY
execute_js takes memory and timeout alongside the code, so the ceiling belongs to the call and a client can run an untrusted snippet tighter than a trusted one without restarting anything. The set is exactly this one capability: no file access, no package installation and no session that persists between calls appear in the tool surface.
A single-tool execution server that evaluates JavaScript in an isolated environment under caller-set limits.
Nothing beyond the host the server runs on — the tool takes no account, key or external service, only the code and its limits.
One command — npx -y js-sandbox-mcp-server
USE CASES
Run the JavaScript in an isolated environment with a memory ceiling and a timeout set on the call itself, and read the result back.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
execute_jsExecute JavaScript code in an isolated environment
BEFORE YOU INSTALL
1 tool when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the one tool definition that rides along on every turn
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"js-sandbox-mcp-server": {
"command": "npx",
"args": [
"-y",
"js-sandbox-mcp-server"
]
}
}
}npx -y js-sandbox-mcp-server