diff --git a/mcp_codebase.py b/mcp_codebase.py index 0dfd49d..c103f99 100644 --- a/mcp_codebase.py +++ b/mcp_codebase.py @@ -3127,12 +3127,6 @@ def find_context_boundaries(lines: List[str], start: int, end: int, language: st context_start = decorator_start + 1 context_info.append("decorators") - # Limit expansion to reasonable bounds (max 100 lines of context) - max_context = 100 - if context_end - context_start > max_context: - context_end = context_start + max_context - context_info.append("truncated to 100 lines") - info_str = " + ".join(context_info) if context_info else "no additional context" return context_start, context_end, info_str