JR

joshuaramirez/roslynmcpserver

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

31 stars 12 forks 품질 73 트렌드 31MIT

Roslyn-powered를 위한 모형 Context 의정서 서버 C# 재공장

개요

Claude와 같은 AI 조수가 Visual Studio를 구동하는 동일한 Roslyn 컴파일러 플랫폼을 사용하여 C# codebase를 안전하게 재구성합니다. Roslyn MCP Server는 AI 조수 및 기타 MCP 클라이언트에 노출되는 모델 Context Protocol (MCP) 서버입니다. 그것은 37개의 재공장 가동, 5개의 부호 항법 공구, 6개의 분석 및 미터 공구, 5개의 부호 발생 공구 및 13의 부호 변환 공구를 결합합니다 -- 당신의 AI 깊은 부호 인텔리전스, 포괄적인 refactoring 및 가득 차있는 해결책 넓은 참고 추적 및 시사 지원을 가진 현대 C# 구문 변환. - -- refactoring, 탐색, 분석, 생성 및 변환 도구, 사용할 수있는 가장 포괄적 인 Roslyn MCP 서버 -- 적용하기 전에 어떤 변경 사항이 정확하게 볼 -- 어떤 파일이 실패하면, 모든 변경은 거꾸로 -- 이름과 이동 propagate 전체 솔루션 -- dotnet 도구 설치 -g RoslynMcp. Server, repo 복제 필요 없음 - - Windows, Linux 및 macOS에서 작동합니다. .mcp를 만듭니다.

개요(AI 번역)

Claude와 같은 AI 조수가 Visual Studio를 구동하는 동일한 Roslyn 컴파일러 플랫폼을 사용하여 C# codebase를 안전하게 재구성합니다.

Roslyn MCP Server는 66 Roslyn-powered tools를 AI 조수 및 기타 MCP 클라이언트에 노출하는 모델 Context Protocol (MCP) 서버입니다. 그것은 37개의 재공장 가동, 5개의 부호 항법 공구, 6개의 분석 및 미터 공구, 5개의 부호 발생 공구 및 13의 부호 변환 공구를 결합합니다 – 당신의 AI 깊은 부호 인텔리전스, 포괄적인 refactoring 및 가득 차있는 해결책 넓은 참고 추적 및 시사 지원을 가진 현대 C# 구문 변환.


내용 표

  • 왜 RoslynMcpServer?
  • 필수
  • 빠른 시작
  • 독립 CLI
  • 구성
  • 사용 가능한 도구
  • 미리보기 모드
  • 문제 해결
  • NuGet 라이브러리
  • 기여
  • 라이센스

왜 RoslynMcpServer?

  • 66 도구 – 재공장, 네비게이션, 분석, 생성 및 변환 도구, 가장 포괄적 인 Roslyn MCP 서버 가능
  • **모든 작동 모드 ** - - 적용하기 전에 정확히 무엇을 변경 -Atomic file writes with rollback – 어떤 파일이 실패한 경우, 모든 변경은 복제

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Roslyn MCP Server

Let AI assistants like Claude safely refactor your C# codebase using the same Roslyn compiler platform that powers Visual Studio.

Roslyn MCP Server is a Model Context Protocol (MCP) server that exposes 66 Roslyn-powered tools to AI assistants and other MCP clients. It combines 37 refactoring operations, 5 code navigation tools, 6 analysis and metrics tools, 5 code generation tools, and 13 code conversion tools – giving your AI deep code intelligence, comprehensive refactoring, and modern C# syntax transformations with full solution-wide reference tracking and preview support.


Table of Contents


Why RoslynMcpServer?

  • 66 tools – refactoring, navigation, analysis, generation, and conversion tools, the most comprehensive Roslyn MCP server available
  • Preview mode on every operation – see exactly what will change before applying
  • Atomic file writes with rollback – if any file write fails, all changes are reverted
  • Solution-wide reference updates – renames and moves propagate across your entire solution
  • Single command install – dotnet tool install -g RoslynMcp.Server, no repo cloning needed
  • Cross-platform – works on Windows, Linux, and macOS

Prerequisites

Before installing, make sure you have:

  1. .NET 9.0 SDK or later – Download here
  2. A C# solution (.sln or .slnx) or project (.csproj) to work with

Verify your .NET SDK version:

dotnet --version

The output should be 9.0.x or higher.


Quick Start

1. Install

dotnet tool install -g RoslynMcp.Server

2. Configure

Create a .mcp.json file in your project root (for Claude Code):

{
  "mcpServers": {
    "roslyn-refactor": {
      "type": "stdio",
      "command": "roslyn-mcp",
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "roslyn-refactor": { "type": "stdio", "command": "roslyn-mcp", "args": [] } } }