# Add to your Claude Code skills
git clone https://github.com/sdcb/csharp-runnerGuides for using mcp servers skills like csharp-runner.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T16:36:51.658Z",
"npmAuditRan": true,
"pipAuditRan": true
}csharp-runner is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by sdcb. fast, secure c# runner. It has 109 GitHub stars.
Yes. csharp-runner passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/sdcb/csharp-runner" and add it to your Claude Code skills directory (see the Installation section above).
csharp-runner is primarily written in C#. It is open-source under sdcb on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh csharp-runner against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
English | 中文
C# Runner is a high-performance and secure platform for executing C# code online. It's built on a Host-Worker architecture that isolates code execution in Docker containers and supports dual protocols: HTTP and MCP (Model Context Protocol).
🔒 Secure & Reliable
⚡ High-Performance
🌐 Rich Functionality
Ctrl+Enter shortcut for execution.Prerequisites:
One-Click Deploy with Docker Compose:
# Download the docker-compose.yml file
curl -L https://raw.githubusercontent.com/sdcb/csharp-runner/refs/heads/master/docker-compose.yml -o docker-compose.yml
# Start the services in detached mode
docker compose up -d
For Windows:
# Download the docker-compose.yml file
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/sdcb/csharp-runner/refs/heads/master/docker-compose.yml" -OutFile "docker-compose.yml"
# Start the services in detached mode
docker compose -p csharp-runner up -d
Once deployed, open your browser to http://localhost:5050 to access the web UI.
The docker-compose.yml file defines the Host and Worker services. You can scale the number of Workers by changing deploy.replicas and configure Worker behavior via environment variables.
services:
host:
image: sdcb/csharp-runner-host:latest
container_name: csharp-runner-host
ports:
- "5050:8080"
restart: unless-stopped
worker:
image: sdcb/csharp-runner-worker:latest
environment:
- MaxRuns=2 # Max runs per worker (0=unlimited)
- Register=true # Auto-register to the Host
- RegisterHostUrl=http://host:8080
- WarmUp=false # Enable warm-up (recommended for standalone deployment)
restart: unless-stopped
depends_on:
- host
deploy:
replicas: 3
resources:
limits:
cpus: 0.50
memory: 256M
pids: 32
reservations:
cpus: 0.25
memory: 128M
| Parameter | Description | Default |
|---|---|---|
MaxRuns |
The maximum number of times a Worker can execute code (0=unlimited). | 0 |
Register |
Whether to auto-register to the Host service. | false |
RegisterHostUrl |
The registration URL of the Host service. | http://host |
ExposedUrl |
The externally exposed URL of the Worker (optional). | null |
WarmUp |
Whether to perform a warm-up on startup. | false |
MaxTimeout |
Maximum execution timeout in milliseconds. | 30000 |
Execute code by sending a POST request to /api/run. The response is streamed as Server-Sent Events (SSE).
Request
POST /api/run
Content-Type: application/json
{
"code": "Console.WriteLine(\"Hello, World!\"); return 42;",
"timeout": 30000
}
Response Stream
data: {"kind":"stdout","stdOutput":"Hello, World!"}
data: {"kind":"result","result":42}
data: {"kind":"end","elapsed":150,"stdOutput":"Hello, World!","stdError":""}
The MCP endpoint is at /mcp and supports the run_code tool.
Request Example
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "run_code",
"arguments": {
"code": "Console.WriteLine(\"Hello from MCP!\");"
}
},
"id": 1
}
src/
├── Sdcb.CSharpRunner.Host/ # Host Service (ASP.NET Core)
├── Sdcb.CSharpRunner.Worker/ # Worker Service (Console App)
└── Sdcb.CSharpRunner.Shared/ # Shared Library (DTOs, etc.)
Run the Host Service
cd src/Sdcb.CSharpRunner.Host
dotnet run
Run the Worker Service
cd src/Sdcb.CSharpRunner.Worker
dotnet run
# Build the Host image
dotnet publish ./src/Sdcb.CSharpRunner.Host/Sdcb.CSharpRunner.Host.csproj -c Release /t:PublishContainer /p:ContainerRepository=csharp-runner-host
# Build the Worker image
dotnet publish ./src/Sdcb.CSharpRunner.Worker/Sdcb.CSharpRunner.Worker.csproj -c Release /t:PublishContainer /p:ContainerRepository=csharp-runner-worker
Contributions via Issues and Pull Requests are welcome! Please follow these steps:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.
⭐ If you find this project helpful, please give it a star!