Skip to content

Improve MCP navigation and pagination support#40

Merged
jonatas merged 3 commits intomasterfrom
mcp-pagination
Apr 14, 2026
Merged

Improve MCP navigation and pagination support#40
jonatas merged 3 commits intomasterfrom
mcp-pagination

Conversation

@jonatas
Copy link
Copy Markdown
Owner

@jonatas jonatas commented Apr 14, 2026

Changes:

  • Add offset and limit for mcp to not overflow the token limits.

jonatas added 3 commits April 14, 2026 16:20
- Add offset and limit parameters to search_ruby_ast, ruby_method_source, and ruby_class_source.
- Update search tools to return a structured JSON object with matches, total, offset, limit, and has_more.
- Default limit to 20 results to prevent large responses.
- Update documentation and add unit tests.
@jonatas jonatas merged commit 12a5d26 into master Apr 14, 2026
4 checks passed
@jonatas jonatas deleted the mcp-pagination branch April 14, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant