MCPVault

commands

MCP tool from Node Code Sandbox MCP by alfonsograziano

(string[]): Array of shell commands to execute

How to use it

commands is exposed by the Node Code Sandbox MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the commands tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL NODE CODE SANDBOX MCP LISTING

Other tools in Node Code Sandbox MCP (21)

author

(string, optional): Filter by package author name

boostExact

(string, optional): Boost exact matches for this term in search results

code

(string, required): JavaScript source to execute.

container_id

(string): ID from sandboxinitialize

dependencies

(array of { name, version }, optional): NPM packages and versions to install (default: []).

image

(string, optional): Docker image to use (default: node:lts-slim).

is

(string, optional): Include only packages matching this criteria (e.g., "unstable")

keywords

(string, optional): Filter by package keywords

listenOnPort

(number, optional): If set, leaves the process running and exposes this port to the host (Detached Mode)

maintainer

(string, optional): Filter by package maintainer name

not

(string, optional): Exclude packages matching this criteria (e.g., "insecure")

port

(number, optional): If set, maps this container port to the host

qualifiers

(object, optional): Optional qualifiers to filter the search results:

run_js

Install npm dependencies and execute JavaScript code.

run_js_ephemeral

Run a one-off JS script in a brand-new disposable container.

sandbox_exec

Run shell commands inside the running sandbox.

sandbox_initialize

Start a fresh sandbox container.

sandbox_stop

Terminate and remove the sandbox container.

scope

(string, optional): Filter by npm scope (e.g., "@vue" for Vue.js packages)

search_npm_packages

Search for npm packages by a search term and get their name, description, and a README snippet.

searchTerm

(string, required): The term to search for in npm packages. Should contain all relevant context. Use plus signs (+) to combine related terms (e.g., "react+components" for React component libraries).