From 4c5bfe9bceb2bb172e2041ddf5d53e8d608acf17 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 20 Feb 2026 13:27:18 +0000 Subject: [PATCH] Accept story 40: MCP Server Obeys STORYKIT_PORT Co-Authored-By: Claude Opus 4.6 --- .../40_mcp_server_obeys_storykit_port.md | 14 +++++++++---- .../40_mcp_server_obeys_storykit_port.md | 20 ------------------- 2 files changed, 10 insertions(+), 24 deletions(-) delete mode 100644 .story_kit/stories/current/40_mcp_server_obeys_storykit_port.md diff --git a/.story_kit/stories/archived/40_mcp_server_obeys_storykit_port.md b/.story_kit/stories/archived/40_mcp_server_obeys_storykit_port.md index bb7ced3..258feb9 100644 --- a/.story_kit/stories/archived/40_mcp_server_obeys_storykit_port.md +++ b/.story_kit/stories/archived/40_mcp_server_obeys_storykit_port.md @@ -1,14 +1,20 @@ --- name: MCP Server Obeys STORYKIT_PORT -test_plan: approved +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 -- [x] Agent worktrees inherit the correct port from the running server (via STORYKIT_PORT env var or default 3001) -- [x] The .mcp.json in agent worktrees points to the actual server port, not a hardcoded value -- [x] Existing behaviour (default port 3001) continues to work when STORYKIT_PORT is not set +- [ ] 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 diff --git a/.story_kit/stories/current/40_mcp_server_obeys_storykit_port.md b/.story_kit/stories/current/40_mcp_server_obeys_storykit_port.md deleted file mode 100644 index 258feb9..0000000 --- a/.story_kit/stories/current/40_mcp_server_obeys_storykit_port.md +++ /dev/null @@ -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