csharp-code-sandbox-mcp

csharp-code-sandbox-mcp

3.1

If you are the rightful owner of csharp-code-sandbox-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A C#–based Model Context Protocol (MCP) server that executes arbitrary C# scripts.

The C# Code Sandbox MCP is a server designed to execute arbitrary C# scripts using the Model Context Protocol (MCP). It leverages the dotnet-script tool to interpret and run C# code dynamically, making it a versatile tool for developers who need to test or execute C# scripts in a controlled environment. The server is built to integrate seamlessly with AI agents, allowing for the execution of scripts via a standardized protocol. This setup is particularly useful for applications that require dynamic code execution, such as educational platforms, automated testing environments, or any system that benefits from executing C# code on-the-fly. The project is inspired by the node-code-sandbox-mcp and is licensed under the MIT License, ensuring it is open for modification and distribution.

Features

  • Dynamic C# Script Execution: Allows for the execution of arbitrary C# scripts in a controlled environment.
  • Integration with AI Agents: Configurable to work with AI agents using the Model Context Protocol.
  • Based on dotnet-script: Utilizes the dotnet-script tool for script execution, ensuring compatibility with C# standards.
  • Open Source: Licensed under the MIT License, allowing for community contributions and modifications.
  • Inspired by Node Code Sandbox: Built on the concepts of node-code-sandbox-mcp, providing a familiar setup for users of that system.