Runno Code Sandbox
@taybenlor
About Runno Code Sandbox
The @runno/mcp server provides a run_code tool that AI assistants can use to execute code snippets in various programming languages. It leverages the @runno/sandbox package, which uses WebAssembly to create isolated environments for code execution. The result of the code executio
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"runno": {
"command": "/usr/local/bin/npx",
"args": [
"@runno/mcp"
]
}
}
}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 Runno Code Sandbox?
Runno Code Sandbox helps you make runnable code examples that can be embedded in web pages. It uses a WASI (Web Assembly System Interface) runtime to emulate a file system and operating system inside the browser, allowing programs to run without modification. It is primarily designed for programming education, enabling learners to run code without installing complex tools and creators to embed interactive examples without a server.
How to use Runno Code Sandbox?
Install the @runno/runtime npm package, import it in your entrypoint file, and set the HTTP headers Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp to create a cross-origin isolated context. Then use the <runno-run> element with a supported runtime (e.g., runtime="python") and your code as its content. For running WASI binaries directly, use <runno-wasi>.
Key features of Runno Code Sandbox
- Runs code in the browser using WebAssembly and WASI.
- Provides a sandboxed, in-memory file system.
- Supports multiple runtimes: Python, Ruby, QuickJS, SQLite, Clang, Clang++, PHP-CGI.
- Offers both web components (
@runno/runtime) and a headless WASI runtime (@runno/wasi). - Code executes in a Web Worker with terminal emulation via XTerm.js.
- No server-side execution required—all processing happens on the client.
Use cases of Runno Code Sandbox
- Creating interactive programming tutorials or documentation with live code examples.
- Allowing new programmers to run code without installing compilers or interpreters.
- Testing simple programs for correctness inside a client-side sandbox.
- Embedding runnable code snippets in blog posts or educational websites.
- Compiling and running C/C++ code directly in the browser using Clang runtimes.
FAQ from Runno Code Sandbox
How does Runno run code in the browser?
Runno fetches the WebAssembly binary for the chosen language from WAPM (Web Assembly Package Manager), then runs it in a Web Worker inside a sandbox with an in-memory file system. STDIN/STDOUT are connected to a terminal emulator.
What programming languages are supported?
Supported runtimes include Python, Ruby, QuickJS (JavaScript), SQLite, Clang (C), Clang++ (C++), and PHP-CGI. Availability depends on what has been compiled to WASI and uploaded to WAPM.
What security measures does Runno have?
Two sandboxing layers are used: the WebAssembly layer controls system resource access, and embedding within a cross-origin iframe isolates the code from the hosting page’s cookies and API calls. However, resource hogging (e.g., infinite loops) remains possible.
What are the limitations of Runno?
Not all programming languages are available; only those compiled to WASI. There is no full Linux environment, so system-level interfaces often won’t work. Importing packages or modules is difficult; code must be provided inline. It is best suited for small examples using STDIN/STDOUT.
What HTTP headers are required for Runno to work?
You must set Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp to enable SharedArrayBuffer, which is needed for STDIN support.
More Reasoning MCP servers
Agenticstore — The Open Source Standard For Local Mcp Tooling
agenticstoreAgenticStore: The secure toolkit for AI agents. Instantly equip Claude Desktop, Cursor, and Windsurf with 27+ MCP tools, persistent memory, and SearXNG search, all protected by a built-in PII prompt firewall to protect your data from being exposed to AI agents.
n8n Workflow Builder MCP
ifmelateMCP server that allow LLM in agent mode builds n8n workflows for you
n8n Workflow Builder MCP Server
salacosteAI-powered n8n workflow automation through natural language. MCP server enabling Claude AI & Cursor IDE to create, manage, and monitor workflows via Model Context Protocol. Multi-instance support, 17 tools, comprehensive docs. Build workflows conversationally without manual JSON
AWorld: Advancing Agentic AI
inclusionAISearch, understand, reproduce, and improve an idea with ease
MCP Advanced Reasoning Server for Cursor AI
AzDeltaQQThis is a very basic implementation of an Mcp-Reasoning-Server for Cursor AI .
Comments