You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: align v2 wire format with scrapegraph-py PR #84
Rebase base URL, env vars, and auth header onto the new scrapegraph-py v2
SDK contract (ScrapeGraphAI/scrapegraph-py#84):
- Base URL: /api/v2 -> /v2 (default https://api.scrapegraphai.com/v2)
- Env: SGAI_API_URL (SCRAPEGRAPH_API_BASE_URL kept as legacy alias)
- Env: SGAI_TIMEOUT_S for httpx timeout (default 120s)
- Drop Authorization: Bearer; keep SGAI-APIKEY only (matches SDK)
- Update docstrings, resources, README, server.json, .agent docs to
reference #84 and the /v2 base URL.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- ✅ Migrated MCP client and tools to **API v2** ([scrapegraph-py#82](https://github.com/ScrapeGraphAI/scrapegraph-py/pull/82)): base `https://api.scrapegraphai.com/api/v2`, Bearer + SGAI-APIKEY, new crawl/monitor/credits/history tools; removed sitemap, agentic_scrapper, status polling tools.
382
+
- ✅ Migrated MCP client and tools to **API v2** ([scrapegraph-py#84](https://github.com/ScrapeGraphAI/scrapegraph-py/pull/84)): base `https://api.scrapegraphai.com/v2`, `SGAI-APIKEY` header (matches SDK wire format), new crawl/monitor/credits/history tools; removed sitemap, agentic_scrapper, status polling tools. Env vars aligned with SDK: `SGAI_API_URL`, `SGAI_TIMEOUT_S`.
383
383
384
384
### January 2026
385
385
- ✅ Added `time_range` parameter to SearchScraper for filtering results by recency (v1-era; **ignored on API v2**)
Copy file name to clipboardExpand all lines: .agent/system/project_architecture.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,11 @@
20
20
The ScrapeGraph MCP Server is a production-ready [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) server that provides seamless integration between AI assistants (like Claude, Cursor, etc.) and the [ScrapeGraphAI API](https://scrapegraphai.com). This server enables language models to leverage advanced AI-powered web scraping capabilities with enterprise-grade reliability.
21
21
22
22
**Key Capabilities (API v2):**
23
-
-**Scrape** (`markdownify`, `scrape`) — POST `/api/v2/scrape`
24
-
-**Extract** (`smartscraper`) — POST `/api/v2/extract` (URL-only)
25
-
-**Search** (`searchscraper`) — POST `/api/v2/search`
26
-
-**Crawl** — POST/GET `/api/v2/crawl` (+ stop/resume); markdown/html crawl only
0 commit comments