agent-ready-mcp 0.1.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/LICENSE +21 -0
- package/README.md +129 -0
- package/dist/mcp-server.mjs +31311 -0
- package/package.json +64 -0
- package/skills/agent-ready/SKILL.md +88 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Agent Ready
|
|
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
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# agent-ready-mcp
|
|
2
|
+
|
|
3
|
+
MCP server for [Agent Ready](https://agent-ready.dev) — scan any URL for AI agent readability against the [Vercel Agent Readability Spec](https://vercel.com/kb/guide/agent-readability-spec), the [llmstxt.org](https://llmstxt.org) standard, and agent-protocol manifests (MCP server cards, A2A, agents.json, agent-permissions.json, UCP, x402). 59 checks with per-check fix guidance.
|
|
4
|
+
|
|
5
|
+
Hosted at `https://agent-ready.dev/api/v1/mcp` (Streamable HTTP); this package is a thin stdio wrapper around the same REST endpoints, distributed via npm for local MCP clients (Claude Desktop, Claude Code, Cursor, VS Code, Windsurf).
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **`scan_site`** — fresh agent-readability scan on any URL. Polls the hosted API up to 60s; returns the full scan or a `running` placeholder.
|
|
10
|
+
- **`get_scan`** — fetch a previously-run scan by id.
|
|
11
|
+
- **Three discovery prompts** — `scan`, `interpret_scan`, `remediation_plan`. End-to-end workflows from URL → score → fix-it plan.
|
|
12
|
+
- **`SKILL.md`** — Claude Skill descriptor included under `skills/agent-ready/` for activation routing.
|
|
13
|
+
|
|
14
|
+
## Setup
|
|
15
|
+
|
|
16
|
+
You'll need an Agent Ready Pro API key. Sign up at [agent-ready.dev](https://agent-ready.dev), upgrade to Pro, then issue a key from the [dashboard](https://agent-ready.dev/dashboard/api-keys).
|
|
17
|
+
|
|
18
|
+
### Claude Desktop
|
|
19
|
+
|
|
20
|
+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"mcpServers": {
|
|
25
|
+
"agent-ready": {
|
|
26
|
+
"command": "npx",
|
|
27
|
+
"args": ["-y", "agent-ready-mcp@latest"],
|
|
28
|
+
"env": {
|
|
29
|
+
"AGENT_READY_API_KEY": "ar_live_..."
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Claude Code
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
claude mcp add agent-ready \
|
|
40
|
+
-e AGENT_READY_API_KEY=ar_live_... \
|
|
41
|
+
-- npx -y agent-ready-mcp@latest
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Cursor / VS Code / Windsurf
|
|
45
|
+
|
|
46
|
+
`.cursor/mcp.json`, `.vscode/mcp.json`, or `~/.codeium/windsurf/mcp_config.json`:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"mcpServers": {
|
|
51
|
+
"agent-ready": {
|
|
52
|
+
"command": "npx",
|
|
53
|
+
"args": ["-y", "agent-ready-mcp@latest"],
|
|
54
|
+
"env": {
|
|
55
|
+
"AGENT_READY_API_KEY": "ar_live_..."
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Environment variables
|
|
63
|
+
|
|
64
|
+
| Variable | Required | Default | Purpose |
|
|
65
|
+
|---|---|---|---|
|
|
66
|
+
| `AGENT_READY_API_KEY` | Yes | — | Bearer token issued from the Agent Ready dashboard. |
|
|
67
|
+
| `AGENT_READY_API_URL` | No | `https://agent-ready.dev` | Override for self-hosted or staging deployments. |
|
|
68
|
+
| `AGENT_READY_SCAN_TIMEOUT_MS` | No | `60000` | How long `scan_site` polls before returning a `running` placeholder. |
|
|
69
|
+
| `AGENT_READY_GET_TIMEOUT_MS` | No | `5000` | Timeout for `get_scan` and per-poll fetches. |
|
|
70
|
+
|
|
71
|
+
## Tools
|
|
72
|
+
|
|
73
|
+
| Tool | Inputs | Returns |
|
|
74
|
+
|---|---|---|
|
|
75
|
+
| `scan_site` | `url` (string, required), `pageLimit` (number, optional, max 2000 — capped by your plan) | Scan object: Vercel score 0–100, llms.txt sub-score 0–100, per-check findings with `howToFix` strings. Returns `{ id, status: "running" }` placeholder if the scan exceeds the poll deadline. |
|
|
76
|
+
| `get_scan` | `id` (string, scan id from a prior `scan_site` call) | Same scan object as `scan_site`, or `not_found` if the id is unknown or doesn't belong to the authenticated user. |
|
|
77
|
+
|
|
78
|
+
## Prompts
|
|
79
|
+
|
|
80
|
+
| Prompt | Args | What it does |
|
|
81
|
+
|---|---|---|
|
|
82
|
+
| `scan` | `url` | Fresh scan + high-level summary (score, rating, top 3–5 failures, next step). |
|
|
83
|
+
| `interpret_scan` | `id` | Plain-English explanation of a previous scan's findings, grouped by category. |
|
|
84
|
+
| `remediation_plan` | `id`, optional `focus` (`"seo"` or `"agents"`) | Prioritised fix-it doc with Now/Next/Later buckets and per-fix check ids. |
|
|
85
|
+
|
|
86
|
+
## Example workflow
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
You: Use agent-ready to scan https://my-saas.com
|
|
90
|
+
Claude: [calls scan_site] Your site scored 78/100 (Good) on the Vercel Agent
|
|
91
|
+
Readability Spec. The top 3 fixes: …
|
|
92
|
+
You: Can you build me a remediation plan?
|
|
93
|
+
Claude: [calls remediation_plan with the scan id] Here's the prioritised list…
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Skill (Anthropic Claude Skills)
|
|
97
|
+
|
|
98
|
+
A `SKILL.md` lives at `skills/agent-ready/SKILL.md` inside the package. To use it in Claude Desktop / Claude Code, copy the `skills/agent-ready/` directory into `~/.claude/skills/`.
|
|
99
|
+
|
|
100
|
+
The skill describes when to activate (URL + readability-audit intent), which tool to pick, how to surface scan results without dumping raw JSON, and when to defer to other tools (general SEO, performance profiling, code editing).
|
|
101
|
+
|
|
102
|
+
## How it works
|
|
103
|
+
|
|
104
|
+
This package is a thin stdio→HTTPS wrapper:
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
MCP client (stdio) ↔ agent-ready-mcp ↔ HTTPS ↔ agent-ready.dev/api/v1/scans
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
All scan execution, persistence, and Pro-tier quota enforcement happen on the hosted server. The npm package only translates between MCP JSON-RPC over stdio and the REST API.
|
|
111
|
+
|
|
112
|
+
If you'd rather use the hosted MCP server directly (Streamable HTTP transport, no local install), point your MCP client at `https://agent-ready.dev/api/v1/mcp` with `Authorization: Bearer ar_live_...`.
|
|
113
|
+
|
|
114
|
+
## Methodology
|
|
115
|
+
|
|
116
|
+
The 59 checks, their weights, and the score formula are documented at [agent-ready.dev/methodology](https://agent-ready.dev/methodology). Both `manifest.json` and `server.json` in this repo conform to the relevant registry schemas (Glama Marketplace v0.3 and MCP registry 2025-12-11 respectively).
|
|
117
|
+
|
|
118
|
+
## Development
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
npm install
|
|
122
|
+
npm run build # → dist/mcp-server.mjs
|
|
123
|
+
npm test
|
|
124
|
+
npm run typecheck
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## License
|
|
128
|
+
|
|
129
|
+
MIT — see [LICENSE](LICENSE).
|