Skip to content

docs(mcp): note that versions list newest first and latest is served by default - #2988

Open
fahreddinozcan wants to merge 10 commits into
masterfrom
ctx7-1924-mcp-latest-version-guidance
Open

docs(mcp): note that versions list newest first and latest is served by default#2988
fahreddinozcan wants to merge 10 commits into
masterfrom
ctx7-1924-mcp-latest-version-guidance

Conversation

@fahreddinozcan

@fahreddinozcan fahreddinozcan commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Tells the model that the versions list is ordered and that the first entry is what it gets by default. Merge after upstash/context7app#840, which makes the ordering true.

  • resolve-library-id output description in the MCP server, the pi package, and both skills.

@linear-code

linear-code Bot commented Aug 3, 2026

Copy link
Copy Markdown

CTX7-1924

The wording asserted that the first entry is the latest release and is served
when no version is given. That is false whenever the first entry is a
manually parsed tag rather than a detected label, and it will stay false for
every library until pinToLatestTag has a writer, because the default entry
still tracks branch HEAD rather than a release.

Keep the ordering guarantee and the advice not to pin unless asked, and say
only what is true: omitting the version returns the most current docs.
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