Cover image
Try Now
2025-03-30

A Roslyn-based mcp server for dynamically executing C# code snippets

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

CSharpMCP

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

Warning: This will execute code on the local machine. Use with caution.

Available Tools

  • 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.

How to reference existing projects

  1. Compile the existing project
  2. Use the path of the compiled dll as the startup parameter of CSharpMCP (references will be added automatically)

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

  • HiveNexus
  • An AI chat bot for small and medium-sized teams, supporting models such as Deepseek, Open AI, Claude, and Gemini. 专为中小团队设计的 AI 聊天应用,支持 Deepseek、Open AI、Claude、Gemini 等模型。

  • ravitemer
  • A powerful Neovim plugin for managing MCP (Model Context Protocol) servers

  • patruff
  • Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools

    Reviews

    5 (1)
    Avatar
    user_pfkmXP3Z
    2025-04-16

    CSharpMCP by li-zhixin is an outstanding application for C# enthusiasts. The seamless integration and intuitive interface make it a pleasure to use. It greatly enhances productivity and simplifies complex tasks, providing a much-needed boost to any developer's workflow. Highly recommended for anyone working with C#. Check it out on GitHub!