What does RunAsync do?
RunAsync executes the provided C# code and preserves the state (variables) between calls, allowing incremental code execution.
@li-zhixin
基本信息
A Roslyn-based mcp server for dynamically executing C# code snippets
Execute the provided C# code, and the state (like variables) will be preserved each time.
Clean the code execution context, all states will be cleared.
Get the history code.
CSharpMCP is a Model Context Protocol (MCP) server for executing C# code using the Roslyn compiler. It is intended for developers who need to run C# snippets programmatically, with state persistence across executions.
To use CSharpMCP, configure it as an MCP server in your MCP client application. To reference existing projects, compile the project and pass the path of the resulting DLL as a startup parameter; the server will add those assemblies as references. Invoke the provided tools (RunAsync, CleanExecuteContext, GetHistoryCode) from your MCP client.
RunAsync executes the provided C# code and preserves the state (variables) between calls, allowing incremental code execution.
Use the CleanExecuteContext tool to clear all state and reset the execution context.
Yes. Compile the project to a DLL, then pass that DLL path as a startup parameter when launching CSharpMCP.
This server executes arbitrary C# code on the local machine. Use with caution and only in trusted environments.
Use the GetHistoryCode tool to retrieve the full history of code that has been executed.

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
评论