- Step1: Clone or download the CSharpMCP repository from GitHub
- Step2: Compile the project to generate the executable
- Step3: Run the MCP server locally or on a dedicated machine
- Step4: Use supported tools like RunAsync to execute C# code snippets
- Step5: Use CleanExecuteContext to reset the environment when needed
- Step6: Retrieve code history using GetHistoryCode for reference