feat!: remove the discover tool and Discover API integration - #164
Open
nirsha-brd wants to merge 1 commit into
Open
feat!: remove the discover tool and Discover API integration#164nirsha-brd wants to merge 1 commit into
nirsha-brd wants to merge 1 commit into
Conversation
Removes the `discover` tool and its integration with the Bright Data Discover API (POST/GET https://api.brightdata.com/discover). `discover` was part of `base_tools`, so it was spread into all 13 tool groups, and it was also listed in `pro_mode_tools` - meaning it was enabled by default in every server configuration. Removing it therefore changes the default tool set the server advertises. Migration: use `search_engine` / `search_engine_batch` to find sources and `scrape_as_markdown` / `scrape_batch` to read them. BREAKING CHANGE: the `discover` tool is no longer exposed by the server.
nirsha-brd
force-pushed
the
remove-discover-api
branch
from
August 12, 2026 14:49
5ce5c7d to
ed44806
Compare
nirsha-brd
marked this pull request as ready for review
August 12, 2026 15:43
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.
Removes the
discovertool and its integration with the Bright Data Discover API (POST/GET https://api.brightdata.com/discover).This is the inverse of #130, which added the tool.
Why this is not a leaf removal
discoverwas listed inbase_tools(tool_groups.js), which is spread into every tool group, and separately inpro_mode_tools(server.js) — which despite its name is the set served when neitherGROUPSnorTOOLSis configured, i.e. the default. It was therefore exposed in every out-of-the-box configuration, so removing it changes the default tool set clients see. Hence the major version bump.Changes
server.jsdiscovertool definition (119 lines); dropped'discover'frompro_mode_toolstool_groups.js'discover'frombase_toolsmanifest.jsondiscovertools entryassets/Tools.mdREADME.md#tools-reference-*anchor; renumbered the Tool Selection listCHANGELOG.md### Removedentry under 3.0.0package.json/package-lock.jsonNo changes to
test/,mcp-evals/,examples/, orserver.json— none referencediscover.Version: 3.0.0, following the precedent of
## [2.0.0], which was cut for "Removed duplicateweb_data_tools" — the same class of change.Verification
Test suite unchanged from baseline: 16/16 pass before and after.
tools/listover stdio, verified via both the MCP SDK client and a raw JSON-RPC handshake:discoverPRO_MODE=trueGROUPS/TOOLS)GROUPS=researchGROUPS=ecommerce,browserTOOLS=extract,scrape_as_htmlA set-difference of the tool names before and after yields exactly
REMOVED: discover,ADDED: none— no collateral. Every group still contains the remaining base tools. Callingdiscoveron a stale client returns a clean-32601 Unknown tool: discoverrather than crashing the server. Server stderr is byte-identical across configs (only the expected dummy-token zone warning).node --checkpasses on all changed JS; all JSON files re-validated; every README internal anchor still resolves; all markdown tables keep header/separator/column consistency.Remaining
discovermatches in the tree were each reviewed and intentionally left: the English verb inmanifest.json'slong_descriptionand inprompts.js, the README's "Market discovery" / "discovery queries" phrasing, the historical CHANGELOG entry for #142, anddiscover_new/discover_byinserver.js— the latter are Web Scraper API dataset-trigger parameters for an unrelated product. Searches forrelevance_score,filter_keywords,remove_duplicates,include_contentandapi.brightdata.com/discoverreturn zero hits repo-wide.Migration
Use
search_engine/search_engine_batchto find sources, andscrape_as_markdown/scrape_batchto read them.Pre-existing issues I deliberately did not fix
Flagging rather than fixing, to keep this diff scoped to the removal:
manifest.jsonversion drift. It sits at2.10.0and was already stale against2.11.1onmain. Unlikeserver.json, which.github/workflows/publish-mcp.ymlsyncs frompackage.jsonat publish time,manifest.jsonhas no sync step. This PR editsmanifest.jsonbut leaves its version alone.README.md:381claimssearch_engine_batchandscrape_batchare always-enabled base tools, butbase_toolsnever contained them — withGROUPSset they load only viaadvanced_scraping.Out of scope
brightdata/skillsstill ships adiscover-apiskill, and itslive-researchandrag-pipelineskills are built on Discover. Those need a follow-up PR.