Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

roslyn-codelens-mcp

by marcelroozekrans/roslyn-codelens-mcpMIT licenceAudited 13 Oct 2026 · source a4393a26a42a

npm roslyn-codelens-mcp 2.18.2stdio★ 61
!CAUTIONGrade B · 89/100 · 13 Oct 2026 · a4393a2
61GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). The tool list is built at runtime, so we cannot read it from the source. The audit recorded 7 findings (0 critical, 0 high, 1 medium, 6 low). Maintainer's description: Roslyn-based MCP server giving AI agents deep semantic understanding of .NET/C# codebases — 67 tools for navigation, call graphs, diagnostics & code fixes, safe refactoring, code-quality auditing, test intelligence, DI graphs, and IL/external-assembly inspection.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “roslyn-codelens-mcp (MarcelRoozekrans/roslyn-codelens-mcp)”. Retrieved 13 Oct 2026. https://modelsatlas.com/mcp/marcelroozekrans/roslyn-codelens-mcp

Trust audit

Audit 0.4.1 · full source read 13 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high1 medium6 low0 info

7 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkNone observedNothing seen in the source
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 3 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsWARN 1 finding
L3 InventoryDeclared tools match the sourcePASS 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner marcelroozekransUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmroslyn-codelens-mcp at version 2.18.2
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit reada4393a26a42aThe audit covers exactly this commit, read on 13 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventoryBuilt at runtimeThe source declares no tools; the server lists them when a client connects, so we cannot read them.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (7)

Sorted by severity

MEDIUMPrompt injectionreview.instruction_override · plugins/roslyn-codelens/skills/roslyn-codelens/SKILL.md
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
If the user asked for *a grep* specifically, ask if they actually want semantic results. If they asked for *information about the code* and suggested grep, use the semantic tool and tell them why.
Why
The skill instructs the agent to override the user's explicit request for a grep and substitute a different tool.
Fix
rewrite it so the instruction says plainly what it does, and asks the user before it acts
LOWInventory / provenanceinv.hidden_file · .release-please-manifest.json
F-13 Inventory / provenanceCWE-1104Layer L0
.release-please-manifest.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · docs/site/static/.nojekyll
F-13 Inventory / provenanceCWE-1104Layer L0
.nojekyll
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWNetwork egressnet.raw_ip · README.md:275
F-04 Network egressCWE-200 · CWE-319Layer L1
roslyn-codelens-mcp /path/to/MySolution.sln --http            # http://127.0.0.1:3001
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:284
F-04 Network egressCWE-200 · CWE-319Layer L1
"url": "http://127.0.0.1:3001"
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · docs/site/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@mdx-js/react, clsx, prism-react-renderer, react, react-dom, @types/react, typescript
Why
7 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWInventory / provenancemcp.no_tools_extracted · server.json
F-13 Inventory / provenanceCWE-1104Layer L3
Why
the tool list is enumerated at runtime by tools/list, not declared in source
Fix
the page says so rather than showing an empty table

Tools it exposes

None declared in source

The tool list is built at runtime, so we cannot read it from the source.

Install

Package version 2.18.2 · audited commit a4393a2

Read the findings first. The most severe is Prompt injection (medium) at plugins/roslyn-codelens/skills/roslyn-codelens/SKILL.md.

claude mcp add roslyn-codelens-mcp -- npx -y [email protected]

The command pins the package version recorded in the source (2.18.2); the audit covers commit a4393a26a42a. Transport: stdio. No environment variables required.

Audit history

  1. !CAUTION B 89 / 100

    First audit · a4393a26a42a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/marcelroozekrans/roslyn-codelens-mcp/badge.svg)](https://modelsatlas.com/mcp/marcelroozekrans/roslyn-codelens-mcp/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about roslyn-codelens-mcp

What is the roslyn-codelens-mcp MCP server?
Roslyn-based MCP server giving AI agents deep semantic understanding of .NET/C# codebases — 67 tools for navigation, call graphs, diagnostics & code fixes, safe refactoring, code-quality auditing, test intelligence, DI graphs, and IL/external-assembly inspection.
Is roslyn-codelens-mcp safe to connect to an agent?
With care. The audit graded it B (89/100) and found 7 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does roslyn-codelens-mcp need?
No credential environment variables were found in its source, so it appears to need none.
How does roslyn-codelens-mcp run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as roslyn-codelens-mcp at 2.18.2.
How current is this page?
The grade is for one exact copy of the source (a4393a26a42a), read on 2026-10-13. The repository is watched and re-audited when it changes.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.