Add deterministic snippet IDs to MCP server outputs#2
Open
lolipopshock wants to merge 1 commit intomainfrom
Open
Add deterministic snippet IDs to MCP server outputs#2lolipopshock wants to merge 1 commit intomainfrom
lolipopshock wants to merge 1 commit intomainfrom
Conversation
Generate a UUID5-based snippet_id for each document/result returned by MCP search and browse tools, so that tool call outputs include snippet IDs directly without needing post-processing in the tool interface layer. Co-Authored-By: Shannon's Claude <257597027+shannonshen49@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
snippet_idfield to every document/result returned by MCP search and browse tools-1,-2suffixes to stay uniqueTools updated
semantic_scholar_searchdata[].urlsemantic_scholar_snippet_searchdata[].paper.urlpubmed_searchdata[].urlmassive_serve_searchdata[].doc_idserper_google_webpage_searchorganic[].linkserper_google_scholar_searchorganic[].linkserper_fetch_webpage_contentjina_fetch_webpage_contentcrawl4ai_fetch_webpage_contentcrawl4ai_docker_fetch_webpage_contentwebthinker_fetch_webpage_contentwebthinker_fetch_webpage_content_asyncTest plan
🤖 Generated with Claude Code