MCP.so
Sign In

MCP Sandbox: Your JavaScript Module in a Secure Environment 🛡️

@TrHung1910

About MCP Sandbox: Your JavaScript Module in a Secure Environment 🛡️

MCP Sandbox transforms JavaScript modules into secure MCP servers, enabling AI systems to access functions safely. With automatic reflection and type inference, it simplifies the integration process for developers. 🛠️💻

Basic information

Category

Reasoning

License

MIT license

Runtime

node

Transports

stdio

Publisher

TrHung1910

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Sandbox?

MCP Sandbox is a tool that converts any JavaScript module into a sandboxed Model Context Protocol (MCP) server, providing automatic reflection, type inference, and secure execution. It is designed for developers who need a safe, efficient environment to run JavaScript modules within the MCP framework.

How to use MCP Sandbox?

Clone the repository, install dependencies with npm install, and run npm start. Alternatively, download a release from the Releases section. Create a JavaScript module (e.g., myModule.js), then use createSandbox('myModule.js') to wrap it, set up a message event listener, and call sandbox.run(). Interact with the module by sending and receiving messages in real time.

Key features of MCP Sandbox

  • Sandboxed execution of JavaScript modules.
  • Automatic reflection for dynamic property/method access.

Comments

More Reasoning MCP servers