CSharpMCP

The CSharpMCP is a mcp server designed for executing C code base roslyn.

Local server

What is the CSharpMCP MCP Server?

CSharpMCP is an MCP project maintained in the li-zhixin/csharpmcp repository. The maintainer describes its purpose as “The CSharpMCP is a mcp server designed for executing C code base roslyn”. Read the project documentation for the complete scope.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
RunAsyncExecute the provided C code, and the state (like variables) will be preserved each time.
CleanExecuteContextClean the code execution context, all states will be cleared.
GetHistoryCodeGet the history code.