@zenrows/mcp 2.1.0 → 2.1.2

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.
Files changed (2) hide show
  1. package/dist/http.js +5 -2
  2. package/package.json +1 -1
package/dist/http.js CHANGED
@@ -1,8 +1,11 @@
1
+ import { createRequire } from "module";
1
2
  import { Hono } from "hono";
2
3
  import { cors } from "hono/cors";
3
4
  import { serve } from "@hono/node-server";
4
5
  import { WebStandardStreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js";
5
6
  import { createServer } from "./server.js";
7
+ const require = createRequire(import.meta.url);
8
+ const pkg = require("../package.json");
6
9
  // ─── app ──────────────────────────────────────────────────────────────────────
7
10
  const app = new Hono();
8
11
  // CORS — required for browser-side MCP clients (Claude.ai, Cursor web, etc.)
@@ -53,7 +56,7 @@ function mcpServerCard() {
53
56
  return {
54
57
  $schema: "https://static.modelcontextprotocol.io/schemas/v1/server-card.schema.json",
55
58
  name: "io.zenrows/mcp",
56
- version: "2.0.6",
59
+ version: pkg.version,
57
60
  description: "ZenRows MCP — scrape and extract from protected sites via the Universal Scraper API (anti-bot bypass, JS rendering, proxies).",
58
61
  websiteUrl: "https://www.zenrows.com/mcp",
59
62
  remotes: [
@@ -69,7 +72,7 @@ function mcpServerCard() {
69
72
  protocolVersion: "2025-06-18",
70
73
  serverInfo: {
71
74
  name: "ZenRows",
72
- version: "2.0.6",
75
+ version: pkg.version,
73
76
  description: "ZenRows Universal Scraper API via MCP",
74
77
  homepage: "https://www.zenrows.com/mcp",
75
78
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenrows/mcp",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Zenrows MCP server — Fetch and Browser Sessions for AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {