rankwright-mcp 0.2.0 → 0.2.1
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/LICENSE +21 -0
- package/README.md +4 -0
- package/package.json +4 -3
- package/server.js +3 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Emmanuel Kigen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rankwright-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "MCP server for RankWright: read SEO findings, audits, fix outcomes, AI visibility and the schedule from your editor, and open a fix as a pull request.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"server.js",
|
|
11
|
-
"README.md"
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
12
13
|
],
|
|
13
14
|
"engines": {
|
|
14
15
|
"node": ">=20"
|
|
@@ -26,5 +27,5 @@
|
|
|
26
27
|
"url": "git+https://github.com/Kigen29/seo-agent-capstone.git"
|
|
27
28
|
},
|
|
28
29
|
"homepage": "https://seo-agent-capstone.vercel.app",
|
|
29
|
-
"license": "
|
|
30
|
+
"license": "MIT"
|
|
30
31
|
}
|
package/server.js
CHANGED
|
@@ -22396,7 +22396,7 @@ function describe(error2) {
|
|
|
22396
22396
|
if (error2 instanceof ApiRequestError) {
|
|
22397
22397
|
switch (error2.status) {
|
|
22398
22398
|
case 401:
|
|
22399
|
-
return "Not authorised. SEO_API_TOKEN is missing, wrong, or revoked.
|
|
22399
|
+
return "Not authorised. SEO_API_TOKEN is missing, wrong, or revoked. Create a new one in RankWright under Settings, Account and spend, Connect your editor. Tokens made there expire, so an old one may simply have run out.";
|
|
22400
22400
|
case 404:
|
|
22401
22401
|
return `Not found: ${error2.message}. Either it does not exist or it belongs to another tenant; the API does not distinguish those on purpose. Check the id with list_sites or list_findings.`;
|
|
22402
22402
|
case 409:
|
|
@@ -22943,7 +22943,7 @@ function readEnv() {
|
|
|
22943
22943
|
if (!baseUrl || !token) {
|
|
22944
22944
|
const missing = [!baseUrl && "SEO_API_URL", !token && "SEO_API_TOKEN"].filter(Boolean);
|
|
22945
22945
|
throw new Error(
|
|
22946
|
-
`Missing ${missing.join(" and ")}. Set SEO_API_URL to the API's origin and SEO_API_TOKEN to a token
|
|
22946
|
+
`Missing ${missing.join(" and ")}. Set SEO_API_URL to the API's origin and SEO_API_TOKEN to a token from your account: sign in to RankWright, open Settings, Account and spend, and create one under Connect your editor.`
|
|
22947
22947
|
);
|
|
22948
22948
|
}
|
|
22949
22949
|
const rawMax = Number(process.env.SEO_MCP_MAX_PRS);
|
|
@@ -22967,7 +22967,7 @@ async function main() {
|
|
|
22967
22967
|
token: env.token,
|
|
22968
22968
|
timeoutMs: TIMEOUT_MS
|
|
22969
22969
|
});
|
|
22970
|
-
const server = new McpServer({ name: "seo-agent", version: "0.2.
|
|
22970
|
+
const server = new McpServer({ name: "seo-agent", version: "0.2.1" });
|
|
22971
22971
|
registerReadTools(server, api);
|
|
22972
22972
|
registerReportTools(server, api);
|
|
22973
22973
|
if (env.allowWrites) {
|