mcpbeat Sign in

SharpLens MCP Server

local only

SharpLens runs on your own machine — the client starts it, so there is no endpoint to ping. 97 installs a week from npm. Last commit 18 Oct 2026.

67 semantic C#/.NET analysis tools via Roslyn: navigation, refactoring, codegen, audit.

Installs per day peak 29 · avg 10 · -36% w/w
a month agotoday
97
Installs / week
npm · sharplens-mcp
40
Stars
0 open issues
18 Oct 2026
Last commit
4 releases in 90 days
MIT
License
C#

What the code does

We read the source, 1 d ago · rules 995398eba69f

In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Runs an external command src/RoslynService.ApiSurface.cs:506
        using var process = Process.Start(startInfo)

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

Nothing serious here today

Today is the operative word: we check SharpLens every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add sharplens -- npx -y sharplens-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "sharplens": {
      "command": "npx",
      "args": [
        "-y",
        "sharplens-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.sharplens]
command = "npx"
args = ["-y", "sharplens-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "sharplens": {
      "command": "npx",
      "args": [
        "-y",
        "sharplens-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "sharplens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sharplens-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: DOTNET_SOLUTION_PATH (Path to .sln or .slnx file to auto-load on startup), ROSLYN_LOG_LEVEL (Logging verbosity: Trace, Debug, Information, Warning, Error), ROSLYN_TIMEOUT_SECONDS (Timeout for long-running operations).

Alternatives to SharpLens

same job, measured the same way
JavaLens
by pzalutski-pixel

75 semantic Java analysis tools via Eclipse JDT: navigation, refactoring, code intelligence.

270 installs/wk local only
Roslyn CodeLens
by marcelroozekrans

Roslyn MCP server: semantic .NET/C# intelligence - analysis, refactoring, tests, IL inspection.

156 installs/wk local only
Roslyn MCP
by darylmcd

Local-first MCP server for semantic C# analysis & refactoring via Roslyn & MSBuildWorkspace.

local only
Gopls MCP
by xieyuschen

Semantic code analysis for Go using gopls - language-aware navigation, definitions, references

local only
Roz MCP
by andypgray

Roslyn-powered C# code navigation, blast-radius analysis, and verified edits for coding agents.

local only
Ckb
by simplyliz

Code intelligence MCP server — 80+ tools for navigation, impact analysis, and architecture

78 installs/wk local only
Squiggles
by carldaws

Let your coding agent see the squiggles — LSP diagnostics, navigation, refactoring, and extras

65 installs/wk local only
R
Ruchy MCP
by noahgift

MCP server for Ruchy: code analysis, scoring, linting, formatting, and transpilation tools

local only

SharpLens — questions

Answers built from our own checks of this server.

Why is there no uptime for SharpLens?
SharpLens runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package sharplens-mcp was installed 97 times last week.
How do I connect SharpLens?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls sharplens-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use SharpLens?
The npm package sharplens-mcp was installed 97 times in the last week. Week over week that is -36%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is SharpLens open source?
Yes — it is published under the MIT licence, written in C# and 40 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.