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.

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
MCP Toolbox for Databases is an open source MCP server for databases.

Model Context Protocol Servers
不止于 CSS
评论