feat: add optional You.com search integration - #218
Open
mouse-value-add wants to merge 1 commit into
Open
Conversation
- Add optional web search capability via You.com API - Keyboard shortcut 'w' opens search prompt - Command support: :search <query> and :web <query> - Environment variable (YOUCOM_API_KEY) and flag support - Configuration file support in .mcpsnoop.toml - Search results display in overlay consistent with other TUI panels - Graceful fallback when API key not configured - Async search with 10s timeout, doesn't block TUI - Added help text and documentation Enhances MCP debugging workflow by allowing developers to research errors, specifications, and tool documentation directly from the TUI without leaving their debugging session.
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
This PR adds optional You.com web search integration to mcpsnoop, enhancing the MCP debugging workflow by allowing developers to search for error explanations, protocol specifications, and tool documentation directly from the TUI.
What Changed
Core Integration:
internal/youcom/search.go- You.com API client with search functionalitywand commands:search/:webConfiguration Options:
YOUCOM_API_KEY--youcom-api-keyyoucom-api-key = "key"in.mcpsnoop.tomlUser Interface:
wto open search prompt:search <query>and:web <query>Why This is Useful
When debugging MCP sessions, developers often need to:
This integration eliminates context switching - you can search directly from the debugging session without leaving mcpsnoop.
Implementation Notes
Validation
Resolves: Optional web search capability for enhanced MCP debugging workflow
Tracking: youdotcom-oss/integration-tracking#178