readyorai
ReadyOrAI
ローカルコード検査のためのゼロコストMCPサーバー。クリーンコードの実践、ベストプラクティスについてコードを分析し、実行可能な推奨事項を提供します。コードを変更したり、API呼び出しを行ったりすることはありません。
特徴
9つのアナライザー: 複雑度、命名、構造、パターン、インポート、ドキュメント、セキュリティ、重複、AI生成コード検出
マルチ言語: JS/TS、Python、Go、Rust(詳細分析)+ Java、C#、Ruby、PHPなど(正規表現ベース)
ゼロコスト: すべての分析はローカルで実行 — APIキー不要、外部呼び出しなし
MCPサーバー: stdioトランスポートを介してClaude Desktop、Claude Code、VS Codeで動作
CLIツール: スタンドアロン使用のための
ready @filenameおよびAIターミナルコマンドSARIF出力: GitHub Code Scanning統合のための結果エクスポート
ウォッチモード: ファイル変更時の継続的な再分析
ベースライン/差分モード: 段階的な導入を追跡 — 新しい問題のみを表示
設定ファイル: 共有設定のためのプロジェクトレベルの
.readyorai.jsonインライン抑制:
// readyorai-ignoreコメントで特定の検出結果を非表示
Related MCP server: Risk Audit MCP
インストール
MCPサーバーとして
Claude Desktop(claude_desktop_config.json):
{
"mcpServers": {
"readyorai": {
"command": "npx",
"args": ["-y", "readyorai"]
}
}
}Claude Code:
claude mcp add readyorai -- npx -y readyoraiVS Code(.vscode/mcp.json):
{
"servers": {
"readyorai": {
"command": "npx",
"args": ["-y", "readyorai"]
}
}
}CLIツールとして
npm install -g readyoraiCLIの使用方法
ready @src/index.ts # Inspect a single file
ready @src/ # Inspect a directory
ready @src/index.ts --checks security,naming # Run specific checks
ready @src/index.ts --json # JSON output
ready @src/index.ts --sarif # SARIF output (GitHub Code Scanning)
ready @src/index.ts --severity warning # Only warnings and errors
ready @src/index.ts --watch # Re-analyze on file changes
ready @src/ --baseline baseline.json # Compare against saved baseline
ready @src/ --save-baseline baseline.json # Save current results as baseline
AI # Inspect current directory
AI @src/utils.ts # Alias with file target終了コード
コード | 意味 |
| 問題なし |
| 警告あり |
| エラーあり |
| 実行時エラー |
設定
プロジェクトのルートに.readyorai.jsonを作成します:
{
"checks": ["complexity", "naming", "security"],
"severity": "warning",
"exclude": ["dist/**", "node_modules/**"]
}インライン抑制
特定の行の検出結果を非表示にする:
eval(code); // readyorai-ignoreMCPツール
ツール | 説明 |
| コード品質の問題について単一ファイルを分析 |
| ディレクトリ内のすべてのソースファイルの一括分析 |
| 定量的メトリクス(LOC、複雑度、関数数)を取得 |
| 2つのファイルバージョンを比較し、修正済み、新規導入、または変更なしの検出結果を表示 |
| 各検出結果に対するコンテキスト付きの実行可能な修正提案を取得 |
MCPプロンプト
プロンプト | 説明 |
| オプションの焦点領域付きの構造化コードレビュー |
| プロジェクトレベルの健全性評価 |
チェック
チェック | 検出内容 |
| 循環的/認知的複雑度、深いネスト |
| 命名規則違反、一文字変数、ブール接頭辞 |
| 長いファイル/関数、パラメータ数过多、長い行 |
| console.log、空のcatch、マジックナンバー、ネストされた三項演算子、TODO |
| 未使用インポート、ワイルドカードインポート、散在するインポート |
| JSDoc/docstringの欠落、低いコメント比率 |
| ハードコードされたシークレット、eval()、SQLインジェクション、XSSパターン |
| 重複コードブロック、繰り返されるマジック文字列 |
| AI生成コードに共通するパターンを検出 |
言語サポート
ティア | 言語 | 分析 |
1 | JavaScript、TypeScript、Python、Go、Rust | 完全なASTベースの分析 |
2 | Java、C#、Ruby、PHP、Swift、Kotlin、C、C++ | 正規表現 + ヒューリスティック分析 |
3 | 任意のテキストファイル | 行ベースのチェック(長さ、TODO、シークレット、重複) |
開発
git clone https://github.com/TedoNeObichaJavaScript/ReadyOrAI.git
cd ReadyOrAI
npm install
npm run build
npm testサポート
ReadyOrAIが役立つと感じたら、プロジェクトへのサポートを検討してください:
Borko — 5ユーロ
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables comprehensive code analysis including quality assessment, security vulnerability detection, refactoring suggestions, complexity calculations, and automatic documentation generation for multiple programming languages.510MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables security scanning of code projects to identify common vulnerabilities like XSS, injections, SSRF, and path traversal issues. Provides local, offline scanning with severity-grouped results and actionable fix suggestions for improving code security.38
- AlicenseNot gradedqualityCmaintenanceEnables AI-powered code safety analysis including risk detection, secret scanning, dependency checking, and code snapshot management. Works offline for basic features with optional cloud integration for advanced ML analysis and team collaboration.91Apache 2.0
- AlicenseAqualityAmaintenanceEnables AI assistants and developers to analyze code for language-specific best practices and idiomatic patterns across programming languages, CI automation, and configuration formats.162MIT
Related MCP Connectors
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TedoNeObichaJavaScript/ReadyOrAI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server