mcpbeat Sign in

Roslyn CodeLens MCP Server

local only

Roslyn CodeLens runs on your own machine — the client starts it, so there is no endpoint to ping. 90 installs a week from npm. Last commit 17 Sep 2026.

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

Installs per day peak 511 · avg 20
a month agotoday
90
Installs / week
npm · roslyn-codelens-mcp
51
Stars
1 open issues
17 Sep 2026
Last commit
0 releases in 90 days
MIT
License
C#

What the code does

We read the source, 17 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

File ships in the package but is absent from the source [пакет] bin/roslyn-codelens-mcp.js:1
этот файл ставится пользователю, но в репозитории его нет
  const candidate = path.join(dir, name);

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

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

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 roslyn-codelens -- npx -y roslyn-codelens-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "roslyn-codelens": {
      "args": [
        "-y",
        "roslyn-codelens-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.roslyn-codelens]
command = "npx"
args = ["-y", "roslyn-codelens-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "roslyn-codelens": {
      "args": [
        "-y",
        "roslyn-codelens-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "roslyn-codelens": {
      "args": [
        "-y",
        "roslyn-codelens-mcp"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Roslyn CodeLens

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

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

84 installs/wk local only
JavaLens
by pzalutski-pixel

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

204 installs/wk local only
Roslyn MCP
by darylmcd

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

local only
Flyto Indexer
by flytohub

Code intelligence MCP server — impact analysis, semantic search, dependency graphs

533 installs/wk local only
Flyto Indexer
by chesterhsu

Code intelligence MCP server: impact analysis, dependency graphs, dead code detection.

local only
Ckb
by simplyliz

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

274 installs/wk local only
Kai
by kailayerhq

Semantic code intelligence — call graphs, dependencies, impact analysis, and test coverage.

203 installs/wk local only
Godotiq
by salvo10f

Intelligent MCP server for Godot 4. Spatial intelligence, code analysis, 35 tools.

464 installs/wk local only

Roslyn CodeLens — questions

Answers built from our own checks of this server.

Why is there no uptime for Roslyn CodeLens?
Roslyn CodeLens 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 roslyn-codelens-mcp was installed 90 times last week.
How do I connect Roslyn CodeLens?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls roslyn-codelens-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Roslyn CodeLens?
The npm package roslyn-codelens-mcp was installed 90 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Roslyn CodeLens open source?
Yes — it is published under the MIT licence, written in C#, 51 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.