This release includes 1 breaking change for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+2 more
Summary
AI summaryAdded 24 new analysis and refactoring tools to the MCP server.
Full changelog
MCP server for .NET/C# — 91 semantic analysis, navigation, refactoring, and code-generation tools built on Microsoft Roslyn 5.3.
Added — 24 new tools (67 → 91)
move_type_to_file,split_type— move a type into its own file, or split members into a new partialremove_unused_code,add_missing_imports— dead-code cleanup and compiler-accurateusingdirectivesfix_all— apply a code fix to every instance of a diagnostic across a file, project, or solutiongenerate_test_stub— a compilable test skeleton for a method, framework auto-detecteddiff_api_surface— public-API breaking-change report against a git refget_exception_flow,find_similar_code,resolve_stack_tracecheck_architecture,find_unused_dependencies,find_dead_branches,find_naming_violations,find_async_issuesget_super_method,get_extension_methods,get_documentation,find_interceptors,find_tests- fine-grained type searches:
find_type_instantiations,find_pattern_usages,find_throw_sites,find_catch_blocks
Changed
- Upgraded Microsoft.CodeAnalysis to 5.3.0 with C# 14 readiness (
extensionblocks, thefieldkeyword, null-conditional assignment) - Name-based (
typeName/memberName) addressing on the refactoring tools; fuzzysearch_symbols find_references/find_callers/find_implementationssurface references inside generated code, flaggedinGeneratedCode- Tool names dropped the
roslyn:prefix (kept as aliases for one release); readOnly/destructive tool annotations; per-callSHARPLENS_TIMEOUT_SECONDS; code generation builds syntax instead of concatenating strings
Fixed
- Unified atomic apply path (a rejected apply leaves files and in-memory state untouched; refactors need no follow-up
sync_documents) - Tool-handler exceptions surface in-band with
isErrorinstead of a JSON-RPC-32603;initializenegotiates the client's protocol version format_document_batchpreserves the author's structure by default; plus a broad set of per-tool correctness fixes across diagnostics, references, refactorings, and code generation
Full detail in CHANGELOG.md.
Breaking Changes
- Dropped `roslyn:` prefix from tool names (kept as aliases for one release)
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About pzalutski-pixel/sharplens-mcp
58 semantic C#/.NET analysis tools via Roslyn. Navigation, refactoring, find usages, and code intelligence for AI agents.
Related context
Related tools
Earlier breaking changes
- v1.5.3 `health_check` response now uses `{success, data, meta}` envelope; callers must read `data.status` instead of `status`.
Beta — feedback welcome: [email protected]