@automatelab/ai-seo-mcp 0.1.3 → 0.3.0
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/action.yml +70 -0
- package/package.json +4 -2
package/action.yml
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
name: "AI-SEO audit"
|
|
2
|
+
description: "Audits URLs for AI-citation readiness. Posts results as a workflow summary."
|
|
3
|
+
author: "automatelab.tech"
|
|
4
|
+
branding:
|
|
5
|
+
icon: "search"
|
|
6
|
+
color: "purple"
|
|
7
|
+
|
|
8
|
+
inputs:
|
|
9
|
+
urls:
|
|
10
|
+
description: "Comma-separated list of URLs to audit."
|
|
11
|
+
required: true
|
|
12
|
+
min-score:
|
|
13
|
+
description: "Minimum score (0-100) per URL. Build fails if any URL scores below this and fail-on-regression is true."
|
|
14
|
+
required: false
|
|
15
|
+
default: "70"
|
|
16
|
+
respect-robots:
|
|
17
|
+
description: "Honour robots.txt when fetching. Set false for staging or sites you own."
|
|
18
|
+
required: false
|
|
19
|
+
default: "true"
|
|
20
|
+
report-path:
|
|
21
|
+
description: "Optional path (relative to the workspace) to write a Markdown report for the first URL. Useful for uploading as an artifact or posting to PRs."
|
|
22
|
+
required: false
|
|
23
|
+
default: ""
|
|
24
|
+
fail-on-regression:
|
|
25
|
+
description: "Exit non-zero if any URL scores below min-score."
|
|
26
|
+
required: false
|
|
27
|
+
default: "true"
|
|
28
|
+
|
|
29
|
+
outputs:
|
|
30
|
+
min_score_observed:
|
|
31
|
+
description: "The lowest score observed across all audited URLs."
|
|
32
|
+
urls_audited:
|
|
33
|
+
description: "Number of URLs successfully audited."
|
|
34
|
+
report_path:
|
|
35
|
+
description: "Absolute path to the saved Markdown report, if report-path was provided."
|
|
36
|
+
|
|
37
|
+
runs:
|
|
38
|
+
using: "composite"
|
|
39
|
+
steps:
|
|
40
|
+
- name: Set up Node.js
|
|
41
|
+
uses: actions/setup-node@v4
|
|
42
|
+
with:
|
|
43
|
+
node-version: "20"
|
|
44
|
+
|
|
45
|
+
- name: Install @automatelab/ai-seo-mcp
|
|
46
|
+
shell: bash
|
|
47
|
+
run: npm install --no-save --no-audit --no-fund @automatelab/ai-seo-mcp@^0.3.0
|
|
48
|
+
|
|
49
|
+
- name: Run audit
|
|
50
|
+
id: audit
|
|
51
|
+
shell: bash
|
|
52
|
+
env:
|
|
53
|
+
URLS: ${{ inputs.urls }}
|
|
54
|
+
MIN_SCORE: ${{ inputs.min-score }}
|
|
55
|
+
RESPECT_ROBOTS: ${{ inputs.respect-robots }}
|
|
56
|
+
REPORT_PATH: ${{ inputs.report-path }}
|
|
57
|
+
FAIL_ON_REGRESSION: ${{ inputs.fail-on-regression }}
|
|
58
|
+
run: |
|
|
59
|
+
ARGS=(--urls "$URLS" --min-score "$MIN_SCORE" --respect-robots "$RESPECT_ROBOTS" --fail-on-regression "$FAIL_ON_REGRESSION")
|
|
60
|
+
if [ -n "$REPORT_PATH" ]; then
|
|
61
|
+
ARGS+=(--report-path "$REPORT_PATH")
|
|
62
|
+
fi
|
|
63
|
+
node ./node_modules/@automatelab/ai-seo-mcp/dist/cli/audit-cli.js "${ARGS[@]}" | tee "$RUNNER_TEMP/ai-seo-audit.log"
|
|
64
|
+
{
|
|
65
|
+
echo "## AI-SEO audit"
|
|
66
|
+
echo ""
|
|
67
|
+
echo '```'
|
|
68
|
+
cat "$RUNNER_TEMP/ai-seo-audit.log"
|
|
69
|
+
echo '```'
|
|
70
|
+
} >> "$GITHUB_STEP_SUMMARY"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automatelab/ai-seo-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"mcpName": "io.github.AutomateLab-tech/ai-seo-mcp",
|
|
5
5
|
"description": "AI Citation Toolkit - audit, score, and rewrite web pages for AI-citation eligibility. AEO/GEO/LLM visibility for any MCP client.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"engines": { "node": ">=20" },
|
|
14
14
|
"type": "module",
|
|
15
15
|
"bin": {
|
|
16
|
-
"ai-seo-mcp": "dist/index.js"
|
|
16
|
+
"ai-seo-mcp": "dist/index.js",
|
|
17
|
+
"ai-seo-audit": "dist/cli/audit-cli.js"
|
|
17
18
|
},
|
|
18
19
|
"main": "dist/index.js",
|
|
19
20
|
"scripts": {
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
"dist",
|
|
44
45
|
"src/lib/crawlers.json",
|
|
45
46
|
"src/lib/schema-types.json",
|
|
47
|
+
"action.yml",
|
|
46
48
|
"README.md",
|
|
47
49
|
"LICENSE"
|
|
48
50
|
],
|