C# Runner

•
111
•

Execute C# code online securely with container isolation and high-performance features.

C# Runner provides a robust and secure platform for online C# code execution, leveraging a Host-Worker architecture where untrusted code runs within isolated Docker containers. It ensures host safety through resource limits, network isolation, and automatic worker recycling. Designed for performance, it includes features like worker warm-up, load balancing, and connection pooling. The platform supports both HTTP REST API and MCP protocols, offering real-time output streaming via Server-Sent Events and a user-friendly web interface for easy deployment and interaction.

主要功能

01Dual protocol support: HTTP REST API and Model Context Protocol (MCP)
02High-performance execution with worker warm-up and load balancing
03Configurable resource limits (CPU, memory, timeout) and network isolation
0438 GitHub stars
05Real-time streaming of code output, results, and errors via Server-Sent Events (SSE)
06Secure container isolation for untrusted code execution

使用案例

01Securely executing untrusted C# code snippets in a sandbox environment
02Providing an online interactive C# code editor and execution service
03Automating C# script execution programmatically via HTTP or MCP APIs