scrapercity 1.0.58 → 1.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/cli.mjs CHANGED
@@ -18,6 +18,14 @@ async function main() {
18
18
  switch (cmd) {
19
19
 
20
20
  // ── Auth ──────────────────────────────────────────────
21
+ // ── MCP server ────────────────────────────────────────
22
+ // "npx scrapercity mcp" starts the MCP server (stdio), the same as the scrapercity-mcp bin.
23
+ // MCP registries start a package as "npx scrapercity <args>", so this is how they launch it.
24
+ case 'mcp': {
25
+ await import('../bin/mcp.mjs')
26
+ return
27
+ }
28
+
21
29
  case 'login': {
22
30
  const key = args[0] || await ask('API key: ')
23
31
  sc.saveApiKey(key.trim())
@@ -538,6 +546,7 @@ ScraperCity CLI - B2B lead generation from your terminal
538
546
 
539
547
  Auth:
540
548
  scrapercity login [key] Save API key to ~/.scrapercityrc
549
+ scrapercity mcp Start the MCP server (stdio)
541
550
  scrapercity wallet Check balance and plan
542
551
 
543
552
  Scrapers:
@@ -1,6 +1,6 @@
1
1
  // AUTO-GENERATED by scripts/generate.mjs — DO NOT EDIT BY HAND.
2
2
  // Source of truth: scraperConfigs.ts (+ src/config/scrapers.ts). Regenerate: npm run generate
3
- // Generated: 2026-11-27T14:30:04.715Z
3
+ // Generated: 2026-11-29T06:03:07.953Z
4
4
  export const TOOLS = [
5
5
  {
6
6
  "name": "scrape_apollo",
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "scrapercity",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
+ "mcpName": "io.github.scrapercity/scrapercity-cli",
4
5
  "description": "ScraperCity SDK, CLI & MCP Server - B2B lead generation for AI agents and developers",
5
6
  "type": "module",
6
7
  "main": "./lib/index.mjs",