Js Sandbox MCP Server

A Model Context Protocol server

Local serverstdio

What is the Js Sandbox MCP Server?

A Model Context Protocol server

What you get

A Model Context Protocol server that provides a secure JavaScript execution environment.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
execute_jsExecutes JavaScript code in an isolated environment
Parameters:code (required): JavaScript code to execute
timeoutoptional): Maximum execution time in milliseconds (100-30000ms)
memoryoptional): Memory limit in bytes (1MB-100MB)

How to install the Js Sandbox MCP Server

{
  "mcpServers": {
    "js-sandbox": {
      "command": "/path/to/js-sandbox/build/index.js"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Js Sandbox to execute js.”
  • “Use Js Sandbox to Parameters.”
  • “Use Js Sandbox to Tools.”

Frequently asked questions

A Model Context Protocol server Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.