roslyn-codelens-mcpCAUTION
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.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://mcptoplist.com/server/io.github.MarcelRoozekrans%2Froslyn-codelens)
[](https://www.nuget.org/packages/RoslynCodeLens.Mcp) [](https://www.nuget.org/packages/RoslynCodeLens.Mcp) [](https://www.npmjs.com/package/roslyn-codelens-mcp) [](https://github.com/MarcelRoozekrans/roslyn-codelens-mcp/actions) [](https://github.com/MarcelRoozekrans/roslyn-codelens-mcp/blob/main/LICENSE) [](https://marcelroozekrans.github.io/roslyn-codelens-mcp/) [](https://github.com/sponsors/MarcelRoozekrans)
A Roslyn-based MCP server that gives AI agents deep semantic understanding of .NET codebases — type hierarchies, call graphs, DI registrations, diagnostics, refactoring, and more.
Hosted deployment
A hosted deployment is available on [Fronteir AI](https://fronteir.ai/mcp/marcelroozekrans-roslyn-codelens-
a4393a26a42aOBSERVED · 2026-10-13Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add roslyn-codelens-mcp -- npx -y [email protected]
Trust audit
CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | WARN |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (7)
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.
.release-please-manifest.json
.nojekyll
roslyn-codelens-mcp /path/to/MySolution.sln --http # http://127.0.0.1:3001
"url": "http://127.0.0.1:3001"
@mdx-js/react, clsx, prism-react-renderer, react, react-dom, @types/react, typescript
Gates applied: no_behavioural_pass.
a4393a26a42afull audit observations/trust-audit/mcp-server/marcelroozekrans__roslyn-codelens-mcp.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-13 | a4393a26a42a | CAUTION | B | 89 | first audit |
Questions
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.