JavaScript Sandbox
Provides a secure JavaScript execution environment for running code snippets.
js-sandbox MCP Server
A Model Context Protocol server that provides a secure JavaScript execution environment.
Features
Tools
execute_js- Executes JavaScript code in an isolated environment- Parameters:
code(required): JavaScript code to executetimeout(optional): Maximum execution time in milliseconds (100-30000ms)memory(optional): Memory limit in bytes (1MB-100MB)
- Returns the result of code execution
- Parameters:
Security
- Isolated code execution in a controlled environment
- Configurable execution time and memory limits
- Protection against malicious code
Development
Install dependencies:
npm install
Build the server:
npm run build
Development mode with auto-rebuild:
npm run watch
Installation
Installing via Smithery
To install JavaScript Sandbox Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @garc33/js-sandbox-mcp-server --client claude
To use with Claude Desktop, add the server configuration:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"js-sandbox": {
"command": "/path/to/js-sandbox/build/index.js"
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using MCP Inspector, which is available as:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Server Terkait
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
YepCode
Execute any LLM-generated code in the YepCode secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages
Model Context Protocol servers
A collection of reference implementations for the Model Context Protocol (MCP), showcasing servers implemented with TypeScript and Python SDKs.
Unified MCP Client Library
A TypeScript library for integrating MCP with tools like LangChain and Zod, providing helpers for schema conversion and event streaming.
Remote MCP Server on Cloudflare
An example of a remote MCP server deployable on Cloudflare Workers, featuring customizable tools and no authentication.
AgentPM
A planning and orchestration system for AI-driven software development.
Unison MCP Server
An MCP server for the Unison language, allowing AI assistants to interact with the Unison Codebase Manager (UCM).
Hackle
Query A/B test data using the Hackle API.
hanabi-cli
A terminal AI chat interface for any LLM model, with file context, MCP, and deployment support.
Apifox
A TypeScript MCP server to access Apifox API data via Stdio.
BoostSecurity
BoostSecurity MCP acts as a safeguard preventing agents from adding vulnerable packages into projects. It analyzes every package an AI agent introduces, flags unsafe dependencies, and recommends secure, maintained alternatives to keep projects protected.
