8000 docs: add pagination support to resource templates listing by maxisbey · Pull Request #1634 · modelcontextprotocol/modelcontextprotocol · GitHub
[go: up one dir, main page]

Skip to content

Conversation

maxisbey
Copy link
@maxisbey maxisbey commented Oct 10, 2025

Summary

  • Updated resource templates documentation to show that resources/templates/list supports pagination
  • Matched the format used in the "Listing Resources" section for consistency
  • Applied changes across all specification versions (2024-11-05, 2025-03-26, 2025-06-18, and draft)

Changes

  • Added pagination note to Resource Templates section
  • Added cursor parameter to request examples
  • Added nextCursor field to response examples

This brings the documentation in line with the spec definition of ListResourceTemplatesRequest which allows an optional cursor parameter.

🤖 Generated with Claude Code, but validated by the human @maxisbey.

If we don't want to update the old spec docs as well lemme know.

Update resource templates documentation to show that the
resources/templates/list operation supports pagination, consistent
with the ListResourceTemplatesRequest spec definition.

Changes include:
- Add pagination note to Resource Templates section
- Add cursor parameter to request examples
- Add nextCursor field to response examples
- Apply changes across all specification versions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@maxisbey maxisbey marked this pull request as ready for review October 10, 2025 10:47
@maxisbey maxisbey requested a review from a team as a code owner October 10, 2025 10:47
@maxisbey maxisbey enabled auto-merge October 10, 2025 14:28
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.

2 participants

0