@crawlseo/mcp 0.3.4 → 0.3.5
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/dist/cli.js +7 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
5
5
|
|
|
6
6
|
// package.json
|
|
7
|
-
var version = "0.3.
|
|
7
|
+
var version = "0.3.5";
|
|
8
8
|
|
|
9
9
|
// src/api-client.ts
|
|
10
10
|
var ApiRequestError = class extends Error {
|
|
@@ -191,11 +191,13 @@ Failed:
|
|
|
191
191
|
${failed.join("\n")}` : "");
|
|
192
192
|
}
|
|
193
193
|
function formatCrawlIssues(result) {
|
|
194
|
-
const { crawl, total, bySeverity, issues } = result;
|
|
194
|
+
const { crawl, total, bySeverity, noindexPages, noindexWarning, issues } = result;
|
|
195
|
+
const noindex = (noindexWarning?.message ? `WARNING: ${noindexWarning.message} The health score leaves them out.
|
|
196
|
+
` : "") + (noindexPages ? `${num(noindexPages)} noindex pages crawled but not scored (no issues, not in the health score)
|
|
197
|
+
` : "");
|
|
195
198
|
const head = `Crawl ${crawl.id} (${crawl.status}, finished ${minute(crawl.finishedAt)}, health ${crawl.healthScore ?? "-"}/100)
|
|
196
199
|
${num(total)} issues: ${num(bySeverity.CRITICAL ?? 0)} critical, ${num(bySeverity.WARNING ?? 0)} warning, ${num(bySeverity.INFO ?? 0)} info
|
|
197
|
-
|
|
198
|
-
`;
|
|
200
|
+
` + noindex + "\n";
|
|
199
201
|
if (issues.length === 0) return head + "No crawl issues found.";
|
|
200
202
|
const headers = ["Severity", "Type", "URL", "Message"];
|
|
201
203
|
const rows = issues.map((i) => [
|
|
@@ -379,7 +381,7 @@ ${lines.join("\n\n")}`;
|
|
|
379
381
|
"get_crawl_issues",
|
|
380
382
|
{
|
|
381
383
|
title: "Crawl issues",
|
|
382
|
-
description: "Issues a crawl found on a site (broken links, missing titles, slow pages and more), with counts per severity. Defaults to the latest completed crawl.",
|
|
384
|
+
description: "Issues a crawl found on a site (broken links, missing titles, slow pages and more), with counts per severity. noindex pages are crawled but have no issues and do not count toward the health score; the result says how many there were. Defaults to the latest completed crawl.",
|
|
383
385
|
inputSchema: {
|
|
384
386
|
siteId,
|
|
385
387
|
crawlId: z.string().optional().describe("A crawl ID from list_crawls. Default: the latest completed crawl"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlseo/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Read-only MCP server for crawlseo: your Search Console data, crawl issues, Core Web Vitals and SEO opportunities for AI agents, through your own instance's API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|