mcp-software-engineering-challenge
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-software-engineering-challengeRead issue.md, fix the shipping logic bug, and run the tests until they pass."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Software Engineering Challenge Environment
Full portfolio: https://vieqan.com/portfolio
Founder profile: https://vieqan.com/visnu
A small, reproducible portfolio project that demonstrates four skills:
MCP understanding & practical experience
Agentic AI engineering
Tool integration & agent debugging
Reproducible software-engineering tasks & verification
The project contains a deliberately buggy Python function and an MCP server that exposes safe repository tools to an AI agent:
list_filesread_filesearch_codeedit_filerun_tests
The task is to fix the bug described in issue.md while preserving existing behavior.
Challenge
The shipping rule is:
Orders over $100 receive free shipping.
Orders $100 or below pay $10 shipping.
The starter implementation is intentionally wrong.
Related MCP server: forge-repo-mcp
Project structure
mcp-software-engineering-challenge/
├── issue.md
├── task_manifest.json
├── golden_solution.patch
├── verifier.py
├── mcp_server.py
├── repo_tools.py
├── simulate_agent.py
├── requirements.txt
├── Dockerfile
├── src/
│ ├── __init__.py
│ └── shipping.py
├── tests/
│ └── test_shipping.py
└── traces/
└── example_trace.jsonWhy this is useful
The environment is deterministic and easy to verify:
The repository state is fixed.
Tests define expected behavior.
The verifier checks both the new behavior and regressions.
The MCP server exposes only bounded repository operations.
A golden patch proves the task is solvable.
A trace example shows how tool calls can be inspected during debugging.
Local setup
Python 3.11+ recommended.
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS/Linux
source .venv/bin/activate
pip install -r requirements.txtRun the tests:
pytest -qThe starter repo should fail one task-specific test.
Run the verifier:
python verifier.pyRun the MCP server:
python mcp_server.pyThe server uses the Python MCP SDK and exposes repository tools over the default transport.
Agent task
Give an MCP-capable coding agent this instruction:
Read
issue.md, inspect the repository, fix the bug using the available tools, and run the test suite. Stop only when all tests pass.
Verification philosophy
The evaluator does not compare the candidate implementation to the golden patch. It verifies behavior.
That allows many correct implementations, for example:
def calculate_shipping(total):
if total > 100:
return 0
return 10or:
def calculate_shipping(total):
return 0 if total > 100 else 10Both pass because they satisfy the same behavior.
Fail-to-pass vs pass-to-pass
The test suite includes:
Fail-to-pass: the deliberately failing free-shipping behavior.
Pass-to-pass: existing shipping behavior that must remain correct.
This is important for agent evaluation: the agent must fix the target bug without causing regressions.
Safety notes
repo_tools.py restricts file access to this repository directory and blocks path traversal outside it.
For production environments, add:
authorization,
stronger sandboxing,
rate limits,
idempotency protections for side-effecting tools,
structured tracing,
resource quotas,
and a container-per-task execution model.
Portfolio talking points
When discussing this project in an interview:
Explain MCP as the standardized tool interface between an AI host/client and external capabilities.
Explain why tool schemas and bounded permissions matter.
Show how a trace isolates failures across tool selection, arguments, execution, and interpretation.
Explain why reproducible tasks need pinned inputs, deterministic tests, and explicit verification.
Explain why a golden solution proves solvability but should not be the grading target.
This server cannot be deployed
Maintenance
Related MCP Connectors
Git-backed platform for skills, tools, and context for AI agents
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Codebase intelligence for agents: 152 structured artifacts across 21 programs, one call.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables LLMs to automatically diagnose coding errors through codebase search, test execution, and live debugger integration (DAP/V8 CDP). Provides a secure, policy-gated environment for investigating failures while preventing destructive operations.9-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to investigate and repair Python/pytest repositories in isolated Git worktrees with audit trails, without modifying the original repository.MIT
- FlicenseNot gradedqualityBmaintenanceEnables reproducible evaluation of AI coding agents by exposing repository inspection, code editing, test running, and deterministic verification through MCP tools.-
- AlicenseAqualityBmaintenanceEnables AI coding agents to safely execute commands, run tests, and modify project files inside disposable, policy-enforced Docker sandboxes that are isolated from the host machine and its credentials.15MIT