rankwright-mcp 0.0.0-stage → 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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +70 -2
  3. package/package.json +29 -4
  4. package/server.js +22986 -0
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
@@ -1,3 +1,71 @@
1
- # Temporary Holding Version
1
+ # rankwright-mcp
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
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.
68
+
69
+ ## Licence
70
+
71
+ MIT.
package/package.json CHANGED
@@ -1,6 +1,31 @@
1
1
  {
2
2
  "name": "rankwright-mcp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.1",
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
+ "LICENSE"
13
+ ],
14
+ "engines": {
15
+ "node": ">=20"
16
+ },
17
+ "keywords": [
18
+ "mcp",
19
+ "model-context-protocol",
20
+ "seo",
21
+ "pull-request",
22
+ "claude",
23
+ "cursor"
24
+ ],
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/Kigen29/seo-agent-capstone.git"
28
+ },
29
+ "homepage": "https://seo-agent-capstone.vercel.app",
30
+ "license": "MIT"
31
+ }