---
name: "No MCP tool to edit story acceptance criteria"
---

# Bug 177: No MCP tool to edit story acceptance criteria

## Description

There is no MCP tool to add or edit acceptance criteria on a story file. When the supervisor or a human working through Claude Code wants to update a story's ACs, they have to fall back to raw file editing tools (Edit, Write, sed, etc). This creates unnecessary friction and permission issues — file write tools require sandbox approval and can fail due to permission handshake bugs. Story metadata mutations should go through dedicated MCP actions, same as create_story, check_criterion, and record_tests do.

## How to Reproduce

1. Try to add an acceptance criterion to an existing story
2. No MCP tool exists for this — must use Edit/Write tools on the raw markdown file
3. If sandbox permissions are broken, the edit is completely blocked

## Actual Result

No MCP tool for editing story content. Must use raw file manipulation which is fragile and permission-dependent.

## Expected Result

An MCP tool (e.g. add_criterion or edit_story) that can add/remove/update acceptance criteria on a story file without needing raw file write permissions.

## Acceptance Criteria

- [ ] An MCP tool exists to add acceptance criteria to a story file
- [ ] An MCP tool exists to update the story description or user story text
- [ ] These tools auto-commit changes to the story file like other storkit MCP tools do
