crawlora-mcp 1.17.13 → 1.17.14
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/index.mjs +3 -2
- package/package.json +1 -1
- package/tools.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// Crawlora MCP — local stdio MCP server.
|
|
3
|
-
// Exposes
|
|
3
|
+
// Exposes the structured web-data tools in tools.json, each wrapping the Crawlora REST API
|
|
4
4
|
// (https://api.crawlora.net/api/v1) with your CRAWLORA_API_KEY. Get a free key
|
|
5
5
|
// (2,000 credits/month, no card) at https://crawlora.net.
|
|
6
6
|
//
|
|
@@ -18,6 +18,7 @@ import { fileURLToPath } from "node:url";
|
|
|
18
18
|
import { dirname, join } from "node:path";
|
|
19
19
|
|
|
20
20
|
const HERE = dirname(fileURLToPath(import.meta.url));
|
|
21
|
+
const PACKAGE = JSON.parse(readFileSync(join(HERE, "package.json"), "utf8"));
|
|
21
22
|
const TOOLS = JSON.parse(readFileSync(join(HERE, "tools.json"), "utf8"));
|
|
22
23
|
const BY_NAME = new Map(TOOLS.map((t) => [t.name, t]));
|
|
23
24
|
|
|
@@ -25,7 +26,7 @@ const API_BASE = (process.env.CRAWLORA_API_BASE || "https://api.crawlora.net/api
|
|
|
25
26
|
const API_KEY = process.env.CRAWLORA_API_KEY || "";
|
|
26
27
|
|
|
27
28
|
const server = new Server(
|
|
28
|
-
{ name: "crawlora-mcp", version:
|
|
29
|
+
{ name: "crawlora-mcp", version: PACKAGE.version },
|
|
29
30
|
{ capabilities: { tools: {} } }
|
|
30
31
|
);
|
|
31
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "crawlora-mcp",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.14",
|
|
4
4
|
"description": "Local MCP server for Crawlora — 3665 structured public web-data tools across 472 platform groups (search, maps, commerce, social, finance) wrapping the Crawlora REST API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.mjs",
|