Skip to content

This release includes 1 breaking change for platform teams planning a safe upgrade.

Published 23d MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai claude-code code-analysis c# .net mcp
+2 more
roslyn semantic-analysis

Summary

AI summary

Added 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 partial
  • remove_unused_code, add_missing_imports — dead-code cleanup and compiler-accurate using directives
  • fix_all — apply a code fix to every instance of a diagnostic across a file, project, or solution
  • generate_test_stub — a compilable test skeleton for a method, framework auto-detected
  • diff_api_surface — public-API breaking-change report against a git ref
  • get_exception_flow, find_similar_code, resolve_stack_trace
  • check_architecture, find_unused_dependencies, find_dead_branches, find_naming_violations, find_async_issues
  • get_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 (extension blocks, the field keyword, null-conditional assignment)
  • Name-based (typeName/memberName) addressing on the refactoring tools; fuzzy search_symbols
  • find_references / find_callers / find_implementations surface references inside generated code, flagged inGeneratedCode
  • Tool names dropped the roslyn: prefix (kept as aliases for one release); readOnly/destructive tool annotations; per-call SHARPLENS_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 isError instead of a JSON-RPC -32603; initialize negotiates the client's protocol version
  • format_document_batch preserves 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

Track pzalutski-pixel/sharplens-mcp

Get notified when new releases ship.

Sign up free

About pzalutski-pixel/sharplens-mcp

58 semantic C#/.NET analysis tools via Roslyn. Navigation, refactoring, find usages, and code intelligence for AI agents.

All releases →

Related context

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]