coding-standards — Claude Code MCP server: standards
This MCP server gives coding agents shared architecture, testing, and quality rules. Use it to check implementation before review or handoff.
claude mcp add coding-standards -- npx -y @corbat-tech/coding-standards-mcpWhat coding-standards does
coding-standards supplies project rules before an agent writes code and exposes checks during the development cycle. Its guidance covers dependency interfaces, separation between domain and infrastructure, SOLID principles, input validation, naming, and error handling. Testing is part of the expected implementation shape.
The server detects the stack and returns matching standards. You can adjust rules through .corbat.json. Its registration example separates the repository behind an interface, hashes passwords, uses a custom exception, and includes tests. The 20-line method limit and 200-line class limit are strict review constraints, so existing oversized units will need to be split.
What it helps with
- check implementation before code review
- give an agent explicit SOLID and layering rules
- separate dependencies behind interfaces
- require tests alongside a new use case
- inspect input validation and error handling
Example prompts for the agent
- Review this service with
coding-standardsand list architecture violations. - Refactor this module into layers, add dependency interfaces, and include tests under the project standards.
- Check the error paths and boundary validation in this implementation before handoff.
How to install coding-standards
Platform CLI
claude mcp add coding-standards -- npx -y @corbat-tech/coding-standards-mcpPlatform CLI
codex mcp add coding-standards -- npx -y @corbat-tech/coding-standards-mcpConfig file
{
"mcpServers": {
"coding-standards": {
"command": "npx",
"args": [
"-y",
"@corbat-tech/coding-standards-mcp"
]
}
}
}Config file
{
"servers": {
"coding-standards": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@corbat-tech/coding-standards-mcp"
]
}
}
}Platform CLI
gemini mcp add coding-standards npx -y @corbat-tech/coding-standards-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about coding-standards
How do I install coding-standards in Claude Code?
Run claude mcp add coding-standards -- npx -y @corbat-tech/coding-standards-mcp. The MCP server will then be available in Claude Code.
What does coding-standards do?
It gives coding agents shared quality and architecture rules, then supports checks during iteration. The guidance covers layered design, dependency interfaces, custom exceptions, input validation, and tests.
Can I change the coding-standards rules?
Yes. Override the rules in .corbat.json.