Conversation
Removes the bear-grab-url tool (introduced in v2.10.0) to keep the MCP server network-free and eliminate prompt-injection risk from fetched web content. - Drops the tool registration, its URL params (url/pin/wait), and grab-url-specific unit and system tests. - Updates manifest.json, README.md, docs/user/NPM.md, and the website feature grid from 13 tools to 12. - Trims now-stale factual references to the tool from docs/dev/SECURITY.md while keeping the forward-looking network-fetch principles intact. - Adds an Unreleased/Removed entry in CHANGELOG.md.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the bear-grab-url MCP tool and its related plumbing/tests, updating manifests and documentation to reflect a 12-tool server and to align with the project’s “network-free server” security posture.
Changes:
- Removed
bear-grab-urltool registration, URL-parameter support (url/pin/wait), and its unit/system tests. - Updated manifest + docs/README/website copy to reflect 12 tools and removed the tool from tool lists.
- Added an
[Unreleased]changelog entry documenting the removal and trimmed stale references indocs/dev/SECURITY.md.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/components/FeatureGrid.astro | Updates marketing copy from 13 → 12 tools. |
| tests/system/grab-url.test.ts | Removes system coverage for the deleted tool. |
| src/main.ts | Removes bear-grab-url tool registration and handler. |
| src/bear-urls.ts | Removes url/pin/wait params from Bear URL builder surface. |
| src/bear-urls.test.ts | Removes unit tests that only applied to the deleted grab-url plumbing. |
| manifest.json | Removes the tool from the extension’s tool manifest. |
| docs/user/NPM.md | Updates tool count and removes the tool from the documented list. |
| docs/dev/SECURITY.md | Removes stale references to outbound fetch via the deleted tool. |
| README.md | Updates tool count and removes the tool from the documented list. |
| CHANGELOG.md | Documents tool removal under [Unreleased]. |
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
bear-grab-urlMCP tool — the server now exposes 12 tools instead of 13.url/pin/wait), its unit tests insrc/bear-urls.test.ts, and its system test file.docs/user/NPM.md, and the website feature grid are updated to the new tool count; a### Removedentry is added under[Unreleased]inCHANGELOG.md.docs/dev/SECURITY.mdhas two stale factual references to the tool trimmed; all forward-looking principles about network fetch as a capability class are preserved.busy_timeout = 3000SQLite pragma insrc/database.ts, project-structure additions inCLAUDE.md, and thepollUntil/waitForFileContenthelpers intests/system/inspector.ts(still used byattached-files.test.ts).Why
Triggered by discussion in #106
Two reasons, both aligned with existing project principles:
docs/dev/SECURITY.md.Verification:
task build(tsc clean, 37 unit tests),task test:system(57 system tests across 10 files), and a full-tree grep confirming the only remaininggrab-urlreferences are the two intentional ones inCHANGELOG.md(the new Unreleased/Removed entry and the historical v2.10.0 Added entry).