Skip to content
MCP server
Registry

Roslyn CodeLens MCP Server

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

Roslyn CodeLens scores 75 (Good), licensed MIT and written in C#. It installs as a local process. It declares 11 tools. Filed under Developer tools. GitHub shows 78 stars. Package registries report about 422 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by marcelroozekransMITC#78 stars
Trust score
75Good
Trust score 75 of 100, Good

Good trust

75 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
  • License: Grade A

    MIT is a permissive open source license.

    How license is graded
  • Quality: Grade C

    68/100 for listing completeness. Lost points: no README, 1 of 11 tools barely described, short summary.

    How quality is graded
  • Maintenance: Grade B

    Last commit or release today. Down one letter for 24 open issues against 78 stars.

    How maintenance is graded
Trust breakdown

Where the 75 comes from

22 + 20 + 10 + 10 + 10 + 3 = 75. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity10 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 10 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "marcelroozekrans-roslyn-codelens-mcp": {      "command": "npx",      "args": [        "-y",        "roslyn-codelens-mcp@2.22.4"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools11Tool docs quality grade D

All capabilities
  • setactivesolution / unloadsolution matched multiple solutions; details.matches lists them.

  • file path or baseline doesn't exist (or isn't in any loaded project).

  • caller-supplied input was malformed, unsupported, or out of range.

  • solution name didn't match any loaded solution.

  • getdiagnostics or getcodefixes requested analyzers but the solution hasn't been authorized via trustsolution.

  • type / method / property could not be resolved.

  • { byRule: {...} }

  • { byProject: { name: count }, byKind: { kind: count } }

  • { byKind, filteredOut: { testMethod, testContainer, mcpTool, generated, composition, interop } }

  • { max, avg, overThreshold, maxCognitive } (the first three describe the selected metric)

  • { error, warning, info, hidden } counts

About

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

Frequently asked questions

What is Roslyn CodeLens MCP Server?

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

How do I install Roslyn CodeLens MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Roslyn CodeLens MCP Server runs locally from the npm package roslyn-codelens-mcp with the command npx -y roslyn-codelens-mcp@2.22.4.

Is Roslyn CodeLens MCP Server free and open source?

Yes. Roslyn CodeLens MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Roslyn CodeLens MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Roslyn CodeLens MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Roslyn CodeLens MCP Server provide?

Roslyn CodeLens MCP Server provides 11 tools, including AmbiguousMatch, FileNotFound, InvalidArgument, and ProjectNotFound. See the full tool list for descriptions and parameters.

How is Roslyn CodeLens MCP Server's trust score calculated?

Roslyn CodeLens MCP Server scores 75 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server