Skip to content

Add linters to enforce clean code standards in the MCP repository #2530

@anannya03

Description

@anannya03

Introduce linting checks into the MCP repository to improve code quality, enforce consistency, and reduce manual review overhead.

  • Rosalyn Analyzer
  • Parameter Generation Linter (Code as Source of Truth) - Add a linter that generates optional and required parameters directly from code definitions, allowing code to act as the authoritative source of truth. (similar to the metadata generation)
  • All class files should contain a namespace and copyright statements.

Will add more linters in this list as we think of it.

Metadata

Metadata

Labels

needs-team-attentionWorkflow: This issue needs attention from Azure service team or MCP team.server-Azure.McpAzure.Mcp.Servertools-CoreAZMCP Core functionality that all other tools build on top of

Type

No type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions