MCP Software-Engineering RL Environment
MCPソフトウェアエンジニアリングRL環境(ミニプロジェクト)
Model Context Protocol(MCP)を通じてAIコーディングエージェントを評価するための、再現可能なベンチマーク環境です。
エージェントはタスクを受け、MCPツールでリポジトリの情報を調べ、コードを編討し、決定的な検証を実行します。ベンチマークは、エージェントがツールを正しく使用したかどうか、そして最終的なリポジトリが仕様を満たしているかどうかを記録します。
シナリオ
リポジトリには、小さな在庫サービスが含まれています。特定の商品が複数のタグにマッチすると、其の製品が複数回台出ることがある、というバグが含まれています。エージェントはバグを診断し、既存機能を損しない修正を実装し、リグレッション・テストを追加する必要があります。
Related MCP server: Coding Tools MCP
環境契約
エージェントは、以下のMCPツールを利用できます:
list_files()- リポジトリの構造を確認するread_file(path)- リポジトリ内のファイルを読むsearch_code(query)- ソースコードを検索するwrite_file(path, content)- ファイルを変更・作成するrun_tests()- 決定的なテストを実行するgit_diff()- 変更内容を確認する
環境自体は verify.py で結果を検証します。正解ソリューションは、golden/solution.patch に別途保存されます。
実行
python -m venv .venv
# Linux/macOS
source .venv/bin/activate
# Windows PowerShell: .venv\\Scripts\\Activate.ps1
pip install -r requirements.txt
python -m mcp_rl_env.server別のターミナルで:
python verify.py参考ソりューションを実行:
python apply_golden.py
python verify.pyベンチマークのアイデア
評価のエピソードは次の通りです:
リポジトリをタスクのシードにリセットする。
エージェントにタスク文のみを与の。
MCPサーバを起動する。
エージェントはMCPを用いてファイルを調べる。
エージェントは不具合を診断してコードを編集する。
エージェントはテストを実行する。
決定的検証器が報酬を計算する。
簡単な報酬の例:
reward = 0.50 * tests + 0.20 * regression_test + 0.15 * tool_use + 0.15 * patch_quality
重要なのは、検証が決定的であることです。モデルが自身を採点することはありません。
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
AlicenseAqualityAmaintenanceMCP server that gives AI coding agents direct access to evaluation tools.22Apache 2.0- AlicenseNot gradedqualityBmaintenanceEmpower any MCP-compatible AI Agent(MCP Client) with engineering-grade capabilities to understand, modify, run, and deliver real-world code repositories.825Apache 2.0
- AlicenseAqualityAmaintenanceProvides AI coding agents with five intelligence layers (dependency graph, git history, documentation, architectural decisions, code health) via nine MCP tools, enabling deep codebase understanding and reducing exploration cost.116,181AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search code by meaning, explore codebase structure, store and query knowledge with temporal facts, and read source code through a set of MCP tools.4537MIT
Related MCP Connectors
Hosted MCP for creating, checking, deploying, and hosting static sites for AI agents.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
OCR, transcription, file extraction, and image generation for AI agents via MCP.
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/Philippe012/MCP-Agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server