Repository navigation
Add Parallel web search to interactive PentestGPT - #562
Open
georgeatparallel wants to merge 1 commit into
Open
georgeatparallel wants to merge 1 commit into
georgeatparallel wants to merge 1 commit into
Conversation
georgeatparallel
marked this pull request as ready for review
September 22, 2026 01:25
Nahim875
approved these changes
Oct 15, 2026
Nahim875
approved these changes
Oct 15, 2026
Nahim875
approved these changes
Oct 15, 2026
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.
PentestGPT's interactive
googlecommand currently returns an under-development message. This makes that search path useful: choosesearchin the main or local task menu, enter a query, and get linked results from Parallel's free Search MCP. The oldgooglecommand still works as an alias and clearly says it uses Parallel. No key or provider setup is needed.The anonymous endpoint uses Fast search at lower rate limits, per the Search MCP docs. Parallel Fast also appears in independent DeepSearchQA results and Time per Task charts. Those charts describe the Search API, not PentestGPT's runtime or this MCP integration.
The change uses the project's existing Python MCP dependency, sends the user's query to
web_search, and shows up to five results with source URLs and bounded excerpts. Requests identify the project asPentestGPT/1.0.0 mcp-pythonin the User-Agent so Parallel can measure aggregate free MCP usage. The CLI help tells users that their query goes to Parallel. This doesn't change the autonomous agent or trigger search without someone choosing the command.I ran the root test suite (136 passed), Ruff check and formatting, and a hosted search through the interactive command handler. A local MCP transport test checked the outgoing User-Agent and confirmed the anonymous requests have no Authorization header. I haven't verified the aggregate usage in Parallel analytics.
Btw - I'm a devrel engineer at Parallel