MCP server to find, review and justify null-forgiving operators in large C# code bases.
Install
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>]
--root: the folder to scan; default is the working directory.--solution: restricts the scan to the projects of a.slnor.slnxfile.
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.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.