csharp-mcp
Verified Safeby InfinityFlowApp
Overview
This server allows AI assistants to dynamically evaluate and execute C# scripts using Roslyn.
Installation
docker run -it ghcr.io/infinityflowapp/csharp-mcp:latestEnvironment Variables
- CSX_ALLOWED_PATH
Security Notes
The core function of this server is to execute arbitrary C# scripts provided by the user or an AI assistant. This inherently carries significant security risks, as untrusted code can potentially access sensitive files, make network requests, or exploit system vulnerabilities. Mitigations include: - Console output capture. - Configurable script execution timeout. - File access can be restricted via the `CSX_ALLOWED_PATH` environment variable, but this feature is explicitly **disabled inside Docker containers**, relying solely on Docker's volume mounting for isolation. Users must configure Docker mounts very carefully to restrict script access. - Docker containers run as a non-root user. - Only .csx files are allowed for execution. Despite these mitigations, running untrusted C# code is extremely dangerous. This server should only be used with thoroughly vetted scripts from trusted sources, and in isolated environments (e.g., dedicated Docker containers with minimal volume mounts).
Similar Servers
rmcp
The RMCP server acts as a statistical analysis backend, enabling AI assistants like Claude to perform sophisticated econometric modeling, machine learning, and data science tasks through natural language conversations with R integration.
ls-mcp
A command-line tool for discovering, analyzing, and reporting on Model Context Protocol (MCP) server configurations in a local development environment, including their status, versioning, and potential credential exposures.
nanobanana-mcp-server
Provides AI-powered image generation and editing capabilities using Google Gemini models with intelligent model selection, accessible via Model Context Protocol (MCP) clients.
dokku-mcp
Manages a Dokku PaaS instance through the Model Context Protocol (MCP), enabling Large Language Models (LLMs) to interact with and automate Dokku operations.