Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
},
"metadata": {
"description": "MrScraper plugin for GitHub Copilot CLI.",
"version": "0.2.0"
"version": "0.3.0"
},
"plugins": [
{
"name": "mrscraper",
"description": "Retrieve public web pages as HTML, Markdown, or screenshots and discover pages through web search with MrScraper's hosted MCP server. Includes skills that keep the raw page as the source for local extraction and check account usage.",
"version": "0.2.0",
"description": "Retrieve public web pages as HTML, Markdown, screenshots, brand data, or structured JSON and discover pages through web search with MrScraper's hosted MCP server. Includes skills that keep the raw page as the source for local extraction and check account usage.",
"version": "0.3.0",
"source": "./plugins/mrscraper"
}
]
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 0.3.0 - 2026-12-03

- Updated for MrScraper MCP server 0.7.0, which follows the MrScraper
Standard Service Reference v1.3. The server's seven tools (`status`,
`scrapeHtml`, `scrapeMarkdown`, `getScreenshot`, `scrapeBrand`,
`scrapeJson`, `webSearch`) replace `scraperAPI`, `webSearch`, and `status`.
- Skills: copied from the canonical MrScraper MCP skills, identical to the
MrScraper Claude 0.6.0 and Cursor 0.7.0 plugins apart from link style. They
list each tool's inputs with the v1.3 descriptions and defaults, add
`tokenCap` and the user's own `cookies`, and route brand data and JSON
extraction to `scrapeBrand` and `scrapeJson`.
- Corrected the scopes: all six scraping and search tools use `scrape:read`;
`status` uses `account:read`.
- Plugin and marketplace descriptions, keywords, and README: the seven tools,
which only read data, and which save every result to the MrScraper
dashboard.

## 0.2.0 - 2026-11-02

- Reworded search as web search in the plugin and marketplace descriptions,
Expand Down
64 changes: 44 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# MrScraper for GitHub Copilot CLI

MrScraper connects [GitHub Copilot CLI](https://docs.github.com/copilot/how-tos/copilot-cli)
to a hosted MCP server that retrieves public web pages as HTML, Markdown, or
screenshots, discovers pages through web search, and reports account usage.
to a hosted MCP server that retrieves public web pages as HTML, Markdown,
screenshots, brand data, or structured JSON, discovers pages through web
search, and reports account usage.
The plugin also includes three skills that tell the agent which tool to use and
to keep the raw page content as the source for summaries and local extraction.

Expand All @@ -22,14 +23,20 @@ Copilot CLI's built-in `web_fetch` tool and web search are enough for many
public pages. This plugin helps when a task needs more control over retrieval:

- Pages that render their content with JavaScript, or that need a CSS selector
to appear before the content is read.
- Content that differs by country, with retries and a per-request token cap.
- A screenshot of the page saved as an image file.
- Web search results as a ranked list (title, link, description, and source)
or text to appear before the content is read.
- Content that differs by country, with retry limits and a per-request token
cap.
- A screenshot of the full page, the first viewport, or a custom viewport,
saved as an image file.
- Fields extracted from a page as JSON with a natural-language prompt, or a
site's colors, typography, logos, and social links.
- A page behind your own login session, with cookies you supply.
- Web search results as a ranked list (title, URL, description, and source)
for a chosen country, up to 100 at a time.

It retrieves pages; it does not drive a browser session. For clicking, form
filling, or signed-in flows, use Playwright or another browser automation tool.
filling, or signing in to a site, use Playwright or another browser automation
tool.

## Requirements

Expand Down Expand Up @@ -72,14 +79,26 @@ keys into the chat.

`/mcp show mrscraper` then lists these tools:

| Tool | Purpose |
| Tool | Description |
| --- | --- |
| `scraperAPI` | Retrieve a known page as HTML, Markdown, a screenshot, or a combination. |
| `webSearch` | Discover public pages through web search. |
| `status` | Inspect subscription status, token usage, and remaining tokens. |

The OAuth scopes are `scrape:write` (`scraperAPI`), `scrape:read`
(`webSearch`), and `account:read` (`status`).
| `status` | Return the raw account status API response without summarizing, redacting body fields, or adding calculated fields. |
| `scrapeHtml` | Retrieve the raw HTML of a page. Browser rendering is optional. |
| `scrapeMarkdown` | Retrieve a page as clean Markdown. Browser rendering is optional. |
| `getScreenshot` | Capture a base64 PNG screenshot of the full page, the first viewport, or a custom viewport. Browser rendering is always enabled. |
| `scrapeBrand` | Extract a website's colors, typography, logos, and social links as JSON. |
| `scrapeJson` | Extract structured JSON from a page using a natural-language prompt. |
| `webSearch` | Search the web and return ranked results with titles, URLs, descriptions, and sources. |

The OAuth scopes are `scrape:read` (the six scraping and search tools) and
`account:read` (`status`). If a tool returns `403 insufficient_scope`, run
`/mcp auth mrscraper` again and approve both scopes. If
`/mcp show mrscraper` lists other tools, start a new session so Copilot CLI
reloads the server's tool list.

`status`, `scrapeBrand`, and `webSearch` only read data. `scrapeHtml`,
`scrapeMarkdown`, `getScreenshot`, and `scrapeJson` also save every result to
your MrScraper dashboard. All six scraping and search tools use tokens from
your plan.

## Try it

Expand All @@ -91,6 +110,10 @@ Fetch https://www.scrapethissite.com/pages/simple/ as Markdown and list the five
Search the web for open source web scraping libraries and compare the top five results.
```

```text
Extract the product names and prices from https://example.com as JSON.
```

```text
How many MrScraper tokens do I have left this month?
```
Expand All @@ -105,10 +128,11 @@ copilot -p "Fetch https://example.com as Markdown and summarize it." --allow-too
## Retrieve-first routing

When a public URL is already known, the skills direct the agent to retrieve it
with `scraperAPI` first and treat the raw response as the source of truth. The
agent can then read, summarize, compare, or derive structured output locally
without losing details. When no URL is known, `webSearch` finds candidate pages
first.
with `scrapeMarkdown` or `scrapeHtml` first and treat the raw response as the
source of truth. The agent can then read, summarize, compare, or derive
structured output locally without losing details, or use `scrapeJson` when
MrScraper should extract the fields. When no URL is known, `webSearch` finds
candidate pages first.

## API key fallback

Expand All @@ -132,8 +156,8 @@ to `~/.copilot/mcp-config.json` in plain text; never add it to a project's

## Data and permissions

The plugin sends MCP tool inputs, including target URLs and search queries, to
MrScraper's hosted service. Page responses and tool results are then available
The plugin sends MCP tool inputs, including target URLs, search queries, and
any cookies you supply, to MrScraper's hosted service. Page responses and tool results are then available
to the agent for the requested task. Use it only with public or otherwise
authorized content, and follow the target site's requirements.

Expand Down
6 changes: 3 additions & 3 deletions plugins/mrscraper/plugin.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "mrscraper",
"version": "0.2.0",
"description": "Retrieve public web pages as HTML, Markdown, or screenshots and discover pages through web search with MrScraper's hosted MCP server. Includes skills that keep the raw page as the source for local extraction and check account usage.",
"version": "0.3.0",
"description": "Retrieve public web pages as HTML, Markdown, screenshots, brand data, or structured JSON and discover pages through web search with MrScraper's hosted MCP server. Includes skills that keep the raw page as the source for local extraction and check account usage.",
"author": {
"name": "MrScraper",
"email": "support@mrscraper.com",
Expand All @@ -11,5 +11,5 @@
"homepage": "https://docs.mrscraper.com/docs/getting-started/mcp-server",
"repository": "https://github.com/mrscraper-com/mrscraper-copilot-plugin",
"license": "MIT",
"keywords": ["web-scraping", "web-search", "serp", "markdown", "screenshot", "mcp", "mrscraper"]
"keywords": ["web-scraping", "web-search", "serp", "markdown", "screenshot", "data-extraction", "mcp", "mrscraper"]
}
Loading
Loading