Coding Standards
An MCP server for enforcing coding standards and best practices.
Coding Standards MCP Server
This MCP server provides tools for accessing coding style guidelines and best practices for various technologies (Java, Python, React).
Prerequisites
- Python 3.8 or higher
- MCP package (
pip install mcp) - UV package manager (recommended)
Quick Start
- Install the server in Claude:
mcp install server.py
- Run in development mode:
mcp dev server.py
The MCP inspector will start on port 3000.
Available Tools
Style Guides
Access language-specific coding style guidelines:
- Java: Clean code practices, naming conventions, code organization
- Python: PEP 8 based guidelines, Pythonic code practices
- React: Component structure, hooks usage, TypeScript integration
Best Practices
Access language-specific application best practices:
- Java: Project structure, architecture, testing, security
- Python: Project layout, dependency management, testing practices
- React: Component patterns, state management, performance optimization
API Reference
-
java_style_guide: Get Java coding style guidelines- Returns: Markdown formatted style guide
- Example:
nortal_coding_standards_java_style_guide()
-
java_best_practices: Get Java application best practices- Returns: Markdown formatted best practices
- Example:
nortal_coding_standards_java_best_practices()
-
python_style_guide: Get Python coding style guidelines- Returns: Markdown formatted style guide
- Example:
nortal_coding_standards_python_style_guide()
-
python_best_practices: Get Python application best practices- Returns: Markdown formatted best practices
- Example:
nortal_coding_standards_python_best_practices()
-
react_best_practices: Get React application best practices- Returns: Markdown formatted best practices
- Example:
nortal_coding_standards_react_best_practices()
Configuration
MCP Client Configuration
Add this to your MCP client configuration file (e.g., ~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"nortal_coding_standards": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/absolute/path/to/coding-standards-mcp/server.py"
]
}
}
}
Replace /absolute/path/to/coding-standards-mcp/server.py with your actual server path.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Anubis
Embeds intelligent guidance into AI workflows to organize development and ensure quality.
Docker MCP
A Ruby implementation of an MCP server for managing and using Docker
Swift MCP Server - JavaScript Version
Answers Swift and SwiftUI questions based on the '100 Days of SwiftUI' course using a local SQLite database.
Micromanage
A server for managing sequential development tasks with configurable rules using external .mdc files.
USolver
A server for solving combinatorial, convex, integer, and non-linear optimization problems.
Unstructured API MCP Server
Interact with the Unstructured API to manage data sources, destinations, workflows, and jobs.
OTP MCP Server
Generates secure One-Time Passwords (OTP) using TOTP and HOTP algorithms.
Bash MCP
Execute shell commands without permission prompts.
Crates MCP Server
Query Rust crates from crates.io and docs.rs. Search for crates, get info, versions, dependencies, and documentation.
Remote Terminal MCP for Cursor
A remote terminal tool for Cursor to manage and connect to remote servers via SSH, jump hosts, and Docker containers.