- CSharpMCP
CSharpMCP
Overview
What is CSharpMCP?
CSharpMCP is a Roslyn-based MCP server designed for dynamically executing C# code snippets on the local machine.
How to use CSharpMCP?
To use CSharpMCP, compile your existing C# project and provide the path of the compiled DLL as the startup parameter. You can then execute C# code snippets using the available tools.
Key features of CSharpMCP?
- RunAsync: Execute provided C# code while preserving the state (like variables) across executions.
- CleanExecuteContext: Clear the execution context and reset all states.
- GetHistoryCode: Retrieve previously executed code snippets.
Use cases of CSharpMCP?
- Testing and executing C# code snippets in a controlled environment.
- Preserving state between code executions for iterative development.
- Retrieving and reviewing historical code executions for debugging purposes.
FAQ from CSharpMCP?
- Is it safe to execute code with CSharpMCP?
Caution is advised as this will execute code on the local machine. Ensure you trust the code being executed.
- Can I use CSharpMCP for any C# project?
Yes, as long as you compile the project and provide the correct DLL path, CSharpMCP can execute it.
Project Info
Created At
a year agoUpdated At
a year agoAuthor Name
li-zhixinStar
0Language
C#License
-Category
developer-tools
Recommend Servers
View AllSerper MCP Server
@garymengcom
A Serper MCP Server
Python
a year ago
Memory
@modelcontextprotocol
a year ago
虎嗅嗅 Ai行业参谋
an hour ago
Amap Maps
@amap
高德地图官方 MCP Server
a year ago
Playwright Mcp
@microsoft
Playwright MCP server
TypeScript
10 months ago
Mcp Server Chatsum
@chatmcp
summarize chat message
typescript
a year ago
Test
@modelcontextprotocol
test
6 months ago