Accept story 40: MCP Server Obeys STORYKIT_PORT

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-20 13:27:18 +00:00
parent 022ba4ed47
commit 4c5bfe9bce
2 changed files with 10 additions and 24 deletions

View File

@@ -1,20 +0,0 @@
---
name: MCP Server Obeys STORYKIT_PORT
test_plan: pending
---
# Story 40: MCP Server Obeys STORYKIT_PORT
## User Story
As a developer running the server on a non-default port, I want agent worktrees to automatically discover the correct MCP server URL, so that spawned agents can use MCP tools without manual .mcp.json edits.
## Acceptance Criteria
- [ ] Agent worktrees inherit the correct port from the running server (via STORYKIT_PORT env var or default 3001)
- [ ] The .mcp.json in agent worktrees points to the actual server port, not a hardcoded value
- [ ] Existing behaviour (default port 3001) continues to work when STORYKIT_PORT is not set
## Out of Scope
- TBD