CSharpMCP

li-zhixin/CSharpMCP

3.2

If you are the rightful owner of CSharpMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The CSharpMCP is a model context protocol server designed for executing C# code using the Roslyn compiler.

Tools

Functions exposed to the LLM to take actions

RunAsync

Execute the provided C# code, and the state (like variables) will be preserved each time.

CleanExecuteContext

Clean the code execution context, all states will be cleared.

GetHistoryCode

Get the history code.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources