diff --git a/.story_kit/work/1_backlog/350_story_mcp_tool_for_code_definitions_lookup.md b/.story_kit/work/1_backlog/350_story_mcp_tool_for_code_definitions_lookup.md new file mode 100644 index 0000000..81106bd --- /dev/null +++ b/.story_kit/work/1_backlog/350_story_mcp_tool_for_code_definitions_lookup.md @@ -0,0 +1,21 @@ +--- +name: "MCP tool for code definitions lookup" +--- + +# Story 350: MCP tool for code definitions lookup + +## User Story + +As a non-Claude agent connected via MCP, I want a code intelligence tool so that I can find function, struct, and type definitions without grepping through all files. + +## Acceptance Criteria + +- [ ] get_definitions tool — finds function/struct/enum/type/class definitions by name or pattern +- [ ] Supports Rust (fn, struct, enum, impl, trait) and TypeScript (function, class, interface, type) at minimum +- [ ] Returns file path, line number, and the definition signature +- [ ] Scoped to the agent's worktree +- [ ] Faster than grepping — uses tree-sitter or regex-based parsing + +## Out of Scope + +- TBD