refactor-mcp MCP Server

RefactorMCP exposes Roslyn-based refactoring tools for C over three entry points: a command line interface, a resident daemon that keeps a solution loaded, and a Model Context Protocol server.

Local serverstdio

What is the refactor-mcp Server?

refactor-mcp is an MCP project maintained in the dave-hillier/refactor-mcp repository. The maintainer describes its purpose as “RefactorMCP exposes Roslyn-based refactoring tools for C over three entry points: a command line interface, a resident daemon that keeps a solution loaded, and a…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using refactor-mcp. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the refactor-mcp Server

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

From the project documentation. Replace placeholders and example paths before connecting.