mcp-eval
MCPエージェント評価ハーネス
Model Context Protocolツールを使用するコーディングエージェントを評価するためのコンパクトな参考プロジェクトです。このハーネスは、エージェントに制御されたリポジトリアクセスを提供し、再現可能なチェックを実行し、繰り返し実行を比較して、構造化された検証レポートを返します。
このプロジェクトが示すもの
リポジトリの一覧表示、読み取り、検索、検証ツールを備えたMCPサーバー
パストラバーサルを防止するルート限定のファイルアクセス
ロケール、タイムゾーン、Pythonハッシュシードを固定した決定的なコマンド実行
必須コードパターンと禁止コードパターンのチェック
非決定性を検出するための繰り返し実行の比較
再現可能なバグ修正タスクのためのゴールデンリファレンス資料
標準ライブラリのユニットテストと継続的インテグレーションワークフロー
Related MCP server: phionyx-pipeline-mcp
アーキテクチャ
MCP client or coding agent
|
v
Repository MCP tools
|
v
SafeWorkspace boundary
|
v
DeterministicVerifier
|
v
Structured VerificationReportコア検証器にはサードパーティの依存関係はありません。MCPアダプターは公式Python SDK v2を使用しています。
クイックスタート
ユニットテストを実行します。
python -m unittest discover -s tests -v同梱の評価タスクを実行します。
PYTHONPATH=src python -m mcp_eval_harness.cli verify \
examples/rounding-bug/task.json \
examples/rounding-bug/workspaceMCPアダプターをインストールして、stdioサーバーを起動します。
python -m pip install -e ".[mcp]"
mcp-eval serveMCPツール
ツール | 目的 |
| 設定されたルート配下の安定してソートされたファイルリストを返します |
| パストラバーサルをブロックしつつUTF-8ファイルを1つ読み取ります |
| 決定論的な順序と結果数制限でリテラルテキストを検索します |
| タスク仕様を実行し、構造化されたレポートを返します |
タスク仕様
各タスクはJSONであり、ファイル、コード要件、検証コマンド、タイムアウト、繰り返し回数を宣言します。
{
"task_id": "decimal-rounding-fix",
"required_files": ["calculator.py", "test_calculator.py"],
"required_patterns": {"calculator.py": ["Decimal", "ROUND_HALF_UP"]},
"forbidden_patterns": {"calculator.py": ["round("]},
"command": ["python", "-m", "unittest", "discover", "-s", ".", "-p", "test_*.py"],
"timeout_seconds": 10,
"repeat_count": 2
}セキュリティ境界
パスチェックは設定されたリポジトリルートを保護します。コマンド検証器は、信頼されたローカルタスク定義用に設計されています。信頼できない候補コードは、コンテナまたは別のオペレーティングシステムのサンドボックス内で実行してください。
作者
Mohammed Ibrahim Sadiq
ライセンス
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
- AlicenseCqualityCmaintenanceEnables acceptance gates for AI coding-agent runs by recording evidence, running deterministic validation, applying a quality gate, and rendering auditable outcomes.7Apache 2.0
- AlicenseAqualityAmaintenanceEnables verification of AI coding agent self-reports against git diff truth and a deterministic gate, producing pass/regenerate/reject directives to ensure claimed work matches actual changes.6AGPL 3.0
- FlicenseNot gradedqualityDmaintenanceProvides AI coding agents with dependency analysis, impact detection, and build verification tools.
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to scan code for security and quality issues and receive machine-readable reports with suggested fixes and verification criteria.892MIT
Related MCP Connectors
Deterministic AI code review, with an audit record. Governance inside the agent loop.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Evaluate, benchmark, and simulate AI agents on the VerifyAX agent-evaluation platform.
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/Mohammedibrahim111/mcp-agent-evaluation-harness'
If you have feedback or need assistance with the MCP directory API, please join our Discord server