From 0653af701c3366d1e7a0be6f8f6a2c920e34af0b Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 20 Mar 2026 15:28:09 +0000 Subject: [PATCH] storkit: done 348_story_mcp_tools_for_code_search_grep_and_glob --- ...mcp_tools_for_code_search_grep_and_glob.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .storkit/work/5_done/348_story_mcp_tools_for_code_search_grep_and_glob.md diff --git a/.storkit/work/5_done/348_story_mcp_tools_for_code_search_grep_and_glob.md b/.storkit/work/5_done/348_story_mcp_tools_for_code_search_grep_and_glob.md new file mode 100644 index 0000000..936d888 --- /dev/null +++ b/.storkit/work/5_done/348_story_mcp_tools_for_code_search_grep_and_glob.md @@ -0,0 +1,22 @@ +--- +name: "MCP tools for code search (grep and glob)" +--- + +# Story 348: MCP tools for code search (grep and glob) + +## User Story + +As a non-Claude agent connected via MCP, I want search tools so that I can find files and search code contents in my worktree. + +## Acceptance Criteria + +- [ ] grep tool — searches file contents with regex support, returns matching lines with context +- [ ] glob tool — finds files by pattern (e.g. '**/*.rs') +- [ ] Both scoped to the agent's worktree +- [ ] grep supports output modes: content (matching lines), files_with_matches (just paths), count +- [ ] grep supports context lines (-A, -B, -C) +- [ ] Results limited to prevent overwhelming the LLM context + +## Out of Scope + +- TBD