runno MCP
@runno/mcp is a server designed for executing code securely within AI interactions using WebAssembly. It supports multiple languages and offers a sandboxed environment to ensure safe and isolated code execution. The server is compliant with the Model Context Protocol, making it easy to integrate with AI models.
Overview
@runno/mcp
is a Model Context Protocol (MCP) server that provides a secure code execution environment for AI assistants. It supports multiple programming languages through WebAssembly in a sandboxed environment. Key features include a simple CLI tool, standard I/O communication, and MCP compliance for seamless integration with AI models.
Features
- Secure sandboxed environment
- Multiple language support: Python, JavaScript, C, C++, Ruby, PHP
- MCP compliant
- Simple CLI tool
- Standard I/O communication
How It Works
The server uses WebAssembly and the @runno/sandbox
package to provide isolated code execution. The run_code
tool takes parameters for runtime and code string, providing execution status and results.
Limitations
- No filesystem access
- No network access
- No system command execution
- No external package imports
Running the Server
Run the server using npx with simple integration configurations for MCP clients like Claude.
Security Considerations
WebAssembly provides strong isolation, but resource consumption should be carefully monitored in production setups.