Skip to main content
Any Framework

MCP server to find, review and justify null-forgiving operators in large C# code bases.

Published
Oct 26, 2026
17d ago
Total Downloads
452
452

Install

dotnet add package Nullable.Extended.Mcp --version 1.18.1

No framework information available.

README

Nullable.Extended.Mcp

An MCP server that finds the null-forgiving operators (!) in a C# code base, and shows which of them have no justification yet.

It scans the sources syntactically, so it needs no restore, build or SDK, and is fast even for solutions with many projects.

See the documentation for details.

Usage

nullable-extended-mcp [--root <folder>] [--solution <file>]

Both arguments are optional. Normally the server asks the client for the open workspace folder (MCP roots), and falls back to its working directory.

  • --root: overrides the folder to scan.
  • --solution: restricts the scan to the projects of a .sln or .slnx file.

Tools

  • get_summary: counts by project, folder, status and context.
  • list_null_forgiving: the occurrences, paged and filtered.
  • get_code_context: the source around an occurrence, and where a justification comment belongs.

All tools accept a scope (project, path, changedSince), so only a part of the solution is scanned.

Skill

A skill that teaches the AI assistant the workflow (fix the code first, justify only as the last resort) is not part of this package; install it from the repository, into your project or user profile:

gh skill install tom-englert/Nullable.Extended nullable-extended
npx skills add tom-englert/Nullable.Extended

Without the skill, the server sends a short version of the workflow to the client when it connects.

Changes from Previous Version

No structural changes between v1.18.0 and v1.18.1.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.