---
name: "MCP tool to run project test suite"
---

# Story 494: MCP tool to run project test suite

## User Story

As an LLM agent or web UI user, I want an MCP tool that runs the project's test suite so I can verify code changes without shelling out to Bash.

## Acceptance Criteria

- [ ] New MCP tool `run_tests` that executes `script/test` and returns pass/fail with output
- [ ] Available as a bot command (`test`) in all chat transports
- [ ] Available as a slash command (`/test`) in the web UI
- [ ] Returns structured result: pass/fail, test count, and truncated output for failures
- [ ] Runs in the project root (or optionally in a specified worktree path)

## Out of Scope

- TBD
