mcp-scraper
v1.17.0
Published
Authenticated public client for hosted MCP Scraper tools and REST APIs
Readme
MCP Scraper
Authenticated clients for the hosted MCP Scraper service. The generated manifest is the authoritative current inventory across scraper, browser, manual workflow, billing, connected-service and durable Memory tools. Obtain your account API key at https://mcpscraper.dev/dashboard.
export MCP_SCRAPER_API_KEY=sk_your_key
npx mcp-scraper@latest --stdioUse mcp-scraper-cli doctor, agent installation helpers, and hosted workflow commands as before. paa-api is an authenticated localhost relay: send x-api-key with every request. It does not run a database, worker, or scraper locally.
import { McpScraperClient, harvest } from 'mcp-scraper';
const client = new McpScraperClient({ apiKey: process.env.MCP_SCRAPER_API_KEY });
const result = await client.callTool('credits_info');
const questions = await harvest({ query: 'example query', maxQuestions: 5 });Hosted protocol and background jobs
The public client uses protocol 2026-07-28 for every hosted request. Desktop initialization is translated to stateless hosted discovery inside the client; no older HTTP protocol or session is selected. Direct HTTP integrations must send matching protocol metadata and routing headers for that revision.
Background tools return their job or run ID through the regular tool response. Poll the status tool named in that response: check_site_export, extract_url_status, harvest_paa_status, directory_workflow_status, video_frame_analysis_status, or lead_list_enrich_status. Use harvest_paa_start for a background PAA harvest and lead_list_enrich_cancel to cancel an existing lead job. The separate MCP Task handles and tasks/* interface are removed; preserve the original job identity when switching to status tools.
Update and restart the public client before deploying the matching strict server endpoint. Existing processes keep the previous transport code.
Updates and troubleshooting
Version 0.103.2 aligns the client with Library capture and metadata-preserving upload fixes. Existing authentication and tool arguments remain compatible. Update pinned packages and reconnect to load the current bridge.
Release history · Desktop MCPB download.
Migration from versions before 0.98
All execution runs on the hosted service. Local browser, network-routing, database, and model-credential options are no longer supported. harvest returns the public MCP result, including complete-result delivery handles, rather than a local scraping result. Use those handles to retrieve retained content without starting another scrape. Use the official mcpscraper-sdk for fully typed API clients. Local video generator classes and undocumented direct dist imports are no longer exported.
The hosted API still enforces your account access, operation limits and credit settlement. Clients do not retry ambiguous paid requests automatically: inspect the original job before retrying.
Each $5/month concurrency pack adds 2 browsers.
Result files are retained by the hosted service; use returned artifact handles to read or download complete results. The desktop extension no longer offers local output-folder or default browser-profile settings; supply supported profile arguments when calling hosted browser tools.
Documentation: https://mcpscraper.dev/docs
