rankwright-mcp 0.0.0-stage → 0.2.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/README.md +66 -2
- package/package.json +28 -4
- package/server.js +22986 -0
package/README.md
CHANGED
|
@@ -1,3 +1,67 @@
|
|
|
1
|
-
#
|
|
1
|
+
# rankwright-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The [RankWright](https://seo-agent-capstone.vercel.app) MCP server. It lets an AI editor (Claude
|
|
4
|
+
Code, Cursor, VS Code and others) read your site's SEO findings, audits, fix outcomes, AI
|
|
5
|
+
visibility and schedule, and open a fix as a pull request when you allow it.
|
|
6
|
+
|
|
7
|
+
It runs on your machine and talks to the RankWright API with a token from your own account.
|
|
8
|
+
|
|
9
|
+
## Connect
|
|
10
|
+
|
|
11
|
+
1. Sign in to RankWright, open **Settings, Account and spend**, and create a token under
|
|
12
|
+
**Connect your editor**. It is shown once.
|
|
13
|
+
2. Add the server to your editor.
|
|
14
|
+
|
|
15
|
+
Claude Code:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
claude mcp add rankwright \
|
|
19
|
+
--env SEO_API_URL=https://seo-agent-capstone.onrender.com \
|
|
20
|
+
--env SEO_API_TOKEN=seo_your_token \
|
|
21
|
+
-- npx -y rankwright-mcp
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Cursor (`.cursor/mcp.json`) and most other editors:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"mcpServers": {
|
|
29
|
+
"rankwright": {
|
|
30
|
+
"command": "npx",
|
|
31
|
+
"args": ["-y", "rankwright-mcp"],
|
|
32
|
+
"env": {
|
|
33
|
+
"SEO_API_URL": "https://seo-agent-capstone.onrender.com",
|
|
34
|
+
"SEO_API_TOKEN": "seo_your_token"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Tools
|
|
42
|
+
|
|
43
|
+
| | Tools |
|
|
44
|
+
|---|---|
|
|
45
|
+
| Findings and audits | `list_sites`, `list_findings`, `get_finding`, `get_audit`, `audit_status`, `list_audits`, `audit_changes` |
|
|
46
|
+
| Reports | `get_outcomes`, `get_visibility`, `get_competitor_watch`, `get_schedule` |
|
|
47
|
+
| Billed research | `keyword_ideas`, `keyword_gap` |
|
|
48
|
+
| Writes, off by default | `run_audit`, `fix_finding`, `verify_site`, `set_audit_schedule` |
|
|
49
|
+
|
|
50
|
+
## Writes are off until you turn them on
|
|
51
|
+
|
|
52
|
+
Without anything else set, the server can only read. Add `SEO_MCP_ALLOW_WRITES=1` beside the
|
|
53
|
+
other two values and it can start an audit and open pull requests. A pull request never goes to
|
|
54
|
+
your default branch, a person still merges it, and one session opens at most three
|
|
55
|
+
(`SEO_MCP_MAX_PRS` changes that).
|
|
56
|
+
|
|
57
|
+
## Environment
|
|
58
|
+
|
|
59
|
+
| Variable | |
|
|
60
|
+
|---|---|
|
|
61
|
+
| `SEO_API_URL` | The API's address. Required. |
|
|
62
|
+
| `SEO_API_TOKEN` | A token from your account. Required. |
|
|
63
|
+
| `SEO_MCP_ALLOW_WRITES` | `1` to offer the write tools. Default off. |
|
|
64
|
+
| `SEO_MCP_MAX_PRS` | Pull requests one session may open. Default 3. |
|
|
65
|
+
|
|
66
|
+
The first call after a quiet spell can take up to a minute: the API runs on a free instance that
|
|
67
|
+
sleeps when idle.
|
package/package.json
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rankwright-mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
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
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"rankwright-mcp": "server.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"server.js",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=20"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"mcp",
|
|
18
|
+
"model-context-protocol",
|
|
19
|
+
"seo",
|
|
20
|
+
"pull-request",
|
|
21
|
+
"claude",
|
|
22
|
+
"cursor"
|
|
23
|
+
],
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/Kigen29/seo-agent-capstone.git"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://seo-agent-capstone.vercel.app",
|
|
29
|
+
"license": "UNLICENSED"
|
|
30
|
+
}
|