Enhancement: paginate large MCP lists with stable cursors
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cli, node.js, typescript
- 領域
- api, cli, developer-experience, tooling
調査の方向性
Start from the mentoring notes: locate existing bound-list and response-shaping utilities and the high-cardinality MCP search/query/list tools (verify names in-tree). Add requested limit, items, optional total, opaque stable next_cursor, and invalid/stale cursor errors while keeping current defaults. Document schemas; done when pages walk without duplicates/gaps, ordering is deterministic, cursor invalidation after graph changes is tested, and responses stay within the MCP token ceiling with a feat(mcp): DCO commit.
索引モデルが issue の本文から書いたものです。
説明
Context
Large repos can produce many symbol matches, callers, or vulnerability rows. Bounding prevents huge payloads, but agents need an explicit continuation mechanism for the next deterministic page.
What to do
Add cursor-based pagination to a small set of high-cardinality tools (verify names in-tree), e.g. search/query/list surfaces:
- requested limit, returned items, total where available
next_cursorwhen more results exist- stable cursors for the same graph corpus + query + filters + ordering
- clear error or restart instruction for invalid/stale cursors
Preserve defaults for existing clients. Document schemas.
Acceptance
- Default responses remain bounded
- Clients can walk all pages without duplicates/gaps
- Ordering is deterministic
- Cursor invalidation after graph changes is tested
- Stays within MCP token ceiling; DCO sign-off
Mentoring notes
Reuse existing bound-list / response-shaping utilities. Keep cursor encoding opaque. feat(mcp): commit style.
- 主要言語
- TypeScript
- スター
- 4
- フォーク
- 3
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 76
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vibgrate/cli のほかの issue
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
area: documentation status: in progress type: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
Oddmash/oddmash-ui#222 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
appium/appium-wincore-driver#169 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
india-ultimate/hub#715 ·
メンテナーはふだん 1 日以内に返信
-
documentation Entwickler
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
メンテナーはふだん 1 日以内に返信