コーディング標準 MCP サーバー
この MCP サーバーは、さまざまなテクノロジー (Java、Python、React) のコーディング スタイル ガイドラインとベスト プラクティスにアクセスするためのツールを提供します。
前提条件
Python 3.8以上
MCP パッケージ (
pip install mcp
)UV パッケージ マネージャー (推奨)
クイックスタート
Claude にサーバーをインストールします。
開発モードで実行:
MCP インスペクターはポート 3000 で起動します。
利用可能なツール
スタイルガイド
言語固有のコーディング スタイル ガイドラインにアクセスします。
Java: クリーンなコードの実践、命名規則、コードの構成
Python: PEP 8 ベースのガイドライン、Python のコードプラクティス
React: コンポーネント構造、フックの使用、TypeScript の統合
ベストプラクティス
言語固有のアプリケーションのベスト プラクティスにアクセスします。
Java: プロジェクト構造、アーキテクチャ、テスト、セキュリティ
Python: プロジェクトのレイアウト、依存関係の管理、テストの実践
React: コンポーネントパターン、状態管理、パフォーマンス最適化
APIリファレンス
java_style_guide
: Javaコーディングスタイルガイドラインを入手する戻り値: Markdown形式のスタイルガイド
例:
nortal_coding_standards_java_style_guide()
java_best_practices
: Javaアプリケーションのベストプラクティスを入手する戻り値: Markdown形式のベストプラクティス
例:
nortal_coding_standards_java_best_practices()
python_style_guide
: Pythonコーディングスタイルガイドラインを入手する戻り値: Markdown形式のスタイルガイド
例:
nortal_coding_standards_python_style_guide()
python_best_practices
: Pythonアプリケーションのベストプラクティスを入手する戻り値: Markdown形式のベストプラクティス
例:
nortal_coding_standards_python_best_practices()
react_best_practices
: Reactアプリケーションのベストプラクティスを入手する戻り値: Markdown形式のベストプラクティス
例:
nortal_coding_standards_react_best_practices()
構成
MCP クライアント構成
これを MCP クライアント構成ファイル (例: ~/.codeium/windsurf/mcp_config.json
) に追加します。
/absolute/path/to/coding-standards-mcp/server.py
を実際のサーバー パスに置き換えます。
Java、Python、React などのさまざまなテクノロジーのコーディング スタイル ガイドラインとベスト プラクティスにアクセスするためのツールを提供します。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityProvides tools for collecting and documenting code from directories.Last updated -47315MIT License
- AsecurityAlicenseAqualityFacilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.Last updated -639AGPL 3.0
- AsecurityAlicenseAqualityProvides up-to-date documentation for 9000+ libraries directly in your AI code editor, enabling accurate code suggestions and eliminating outdated information.Last updated -1329158MIT License
- -securityFlicense-qualityA server that automatically reviews code style and suggests improvements, with special focus on Flutter/Dart projects and general programming styles.Last updated -