MCP Software-Engineering RL Environment
MCP Software-Engineering RL Environment (Miniproyecto)
Un entorno de evaluación reproducible para evaluar a un agente de codificación de IA mediante Model Context Protocol (MCP).
El agente recibe una tarearea, descubre información del repositorio a través de las herramientas de MCP, edita el código y ejecuta una verificación determinista. La evaluación registra si el agente usó las herramías correctamente y si el repositorio final cumple con la especificación.
Escenario
El repositorio contiene un pequeño servicio de inventario. InventoryService.search() tiene un fallo intencionado: cuando un producto tiene varias etiquetas coincidentes, puede aparecer más de una vez. El agente debe diagnosticar el fallo, implementar una corrección que no afecte a la funcionalidad existente y añadir una prueba de regresión.
Related MCP server: Coding Tools MCP
Contr un del entorno
El agente puede usar estas herramías MCP:
list_files()- inspeccionar la estrucura del repositorioread_file(path)- leeer los archivos del repositoriosearch_code(query)- buscar en el código fuentewrite_file(path, content)- modificar/crear archivosrun_tests()- ejecutar las pruebas deterministasgit_diff()- inspeccionar los cambios
El propío entorno verifica el resultado con verify.py. La solución de referencia se almiribra por separado en golden/solucion.patch.
Ejeccución
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.serverOtra terminal:
python verify.pyEjeccuta la solución de referencia:
python apply_golden.py
python verify.pyIdea de la evaluación
Un episodio de evaluación es:
Restablecer el repositorio al estado semilla de la tarearea.
Dar al agente únicamente el anunciado de la tarea.
Iniciar el servidor MCP.
El agente descubre archivos mediante MCP.
El agente diagnosticia y edita el código.
El agente ejecuta las pruebas.
El verificador determinista calcula la recompensa.
Una recompensa simple puede ser:
reward = 0.50 * tests + 0.20 * regrestion_test + 0.15 * tool_use + 0.15 * patch_quality
El punto impor pend is que la nueva clasificación; no el model. El clave es que la verificación es determinista; el model no se califica a sí mismo.
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