MCP server wrapping JetBrains' ReSharper CLI for headless C# inspection and code cleanup for coding agents. Unofficial, not affiliated with JetBrains.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add resharper-cli -- dnx Zphil.ReSharperCli --yes~/.codex/config.toml
[mcp_servers.resharper-cli]
command = "dnx"
args = ["Zphil.ReSharperCli", "--yes"]
# codex mcp add resharper-cli -- dnx Zphil.ReSharperCli --yes~/.cursor/mcp.json
{
"mcpServers": {
"resharper-cli": {
"command": "dnx",
"args": [
"Zphil.ReSharperCli",
"--yes"
]
}
}
}.vscode/mcp.json
{
"servers": {
"resharper-cli": {
"type": "stdio",
"command": "dnx",
"args": [
"Zphil.ReSharperCli",
"--yes"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"resharper-cli": {
"command": "dnx",
"args": [
"Zphil.ReSharperCli",
"--yes"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"resharper-cli": {
"command": "dnx",
"args": [
"Zphil.ReSharperCli",
"--yes"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"resharper-cli": {
"command": "dnx",
"args": [
"Zphil.ReSharperCli",
"--yes"
]
}
}
}