Skip to content

Reduce lint noise on real .NET servers - #17

Merged
ShmueLior merged 1 commit into
mainfrom
fix/lint-signal-quality
Nov 28, 2026
Merged

ShmueLior merged 1 commit into
mainfrom
fix/lint-signal-quality

Conversation

@ShmueLior

Copy link
Copy Markdown
Owner

Cuts lint noise found by running McpProbe on real .NET MCP servers (RoslynCodeLens, Azure MCP, Microsoft Learn, csharp-sdk samples).

  • MCPP010 no longer flags [T, "null"] unions, which the C# SDK emits for every T?. Real unions still fire, with a shorter message.
  • MCPP005/006 report nothing on a tie instead of picking a fake majority.
  • The "mixed" naming message now says what is mixed, e.g. mixed ('_' and '-').
  • MCPP002 also needs fewer than 4 words (LintOptions.MinToolDescriptionWords, 0 restores the old check), so "Delete a file share" is fine.
  • MCPP007 skips top-level value/data/payload on create/set/publish-style tools (LintOptions.PayloadContextTokens).

Before/after with --strict: RoslynCodeLens 63 -> 0, Microsoft Learn 4 -> 0, Azure MCP (407 tools) 173 -> 47.

MCPP010 skips [T, null] nullable unions. MCPP005/006 report nothing on a tie and name what is mixed. MCPP002 also needs fewer than 4 words. MCPP007 skips value/data on create/set/publish tools.
@ShmueLior
ShmueLior merged commit acaa384 into main Nov 28, 2026
3 checks passed
@ShmueLior ShmueLior mentioned this pull request Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant