Cover image
Try Now
2025-01-19

Mirror ofhttps://github.com/garc33/js-sandbox-mcp-server

3 years

Works with Finder

0

Github Watches

1

Github Forks

0

Github Stars

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 execute
      • timeout (optional): Maximum execution time in milliseconds (100-30000ms)
      • memory (optional): Memory limit in bytes (1MB-100MB)
    • Returns the result of code execution

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

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.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • momi
  • Provides initial medical assessments and advice.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

  • KasarLabs
  • Build powerful and secure AI Agents powered by Starknet.

    Reviews

    3 (1)
    Avatar
    user_xbGIR2V2
    2025-04-15

    MLflow MCP Server: Natural Language Interface for MLflow by iRahulPandey is a game-changer for machine learning enthusiasts. This innovative product makes managing MLflow models incredibly intuitive with its natural language interface. Highly recommend it for anyone looking to streamline their ML workflows. Check it out at https://mcp.so/server/mlflowMCPServer/iRahulPandey.