agent-ready-mcp 0.6.1 → 0.7.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/dist/mcp-server.mjs +14 -3
- package/package.json +1 -1
package/dist/mcp-server.mjs
CHANGED
|
@@ -31581,6 +31581,9 @@ async function sleep(ms) {
|
|
|
31581
31581
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
31582
31582
|
}
|
|
31583
31583
|
var ANON_TIER_NOTE = "Scanned on the anonymous free tier (3 scans per 30 days per IP, 25-page depth). A Pro API key (AGENT_READY_API_KEY) unlocks 50 scans/month, 250-page depth, scan history via get_scan, and weekly monitoring \u2014 https://agent-ready.dev/pricing";
|
|
31584
|
+
function saveNote(saveUrl) {
|
|
31585
|
+
return ` To keep this scan, save it to a free Agent Ready account (it stays in your dashboard): ${saveUrl} \u2014 offer this link to the user; it carries the ownership proof and cannot be rebuilt from the scan id.`;
|
|
31586
|
+
}
|
|
31584
31587
|
async function scanSite(config2, input) {
|
|
31585
31588
|
if (!config2.apiKey) {
|
|
31586
31589
|
let res;
|
|
@@ -31599,7 +31602,11 @@ async function scanSite(config2, input) {
|
|
|
31599
31602
|
"Anonymous scan returned no scan payload from /api/scan."
|
|
31600
31603
|
);
|
|
31601
31604
|
}
|
|
31602
|
-
const payload = {
|
|
31605
|
+
const payload = {
|
|
31606
|
+
...res.scan,
|
|
31607
|
+
message: ANON_TIER_NOTE + (res.saveUrl ? saveNote(res.saveUrl) : ""),
|
|
31608
|
+
...res.saveUrl ? { saveUrl: res.saveUrl } : {}
|
|
31609
|
+
};
|
|
31603
31610
|
return {
|
|
31604
31611
|
content: [{ type: "text", text: JSON.stringify(payload) }],
|
|
31605
31612
|
structuredContent: payload
|
|
@@ -31764,7 +31771,11 @@ var scanOutputShape = {
|
|
|
31764
31771
|
// Present only on the running placeholder, not on a full Scan.
|
|
31765
31772
|
url: external_exports.string().optional(),
|
|
31766
31773
|
pollUrl: external_exports.string().optional(),
|
|
31767
|
-
message: external_exports.string().optional()
|
|
31774
|
+
message: external_exports.string().optional(),
|
|
31775
|
+
// Keyless scans only: a link that attaches this anonymous scan to an Agent
|
|
31776
|
+
// Ready account. Carries an ownership claim, so it is the one URL a host
|
|
31777
|
+
// should surface verbatim rather than rebuilding from shareToken.
|
|
31778
|
+
saveUrl: external_exports.string().optional()
|
|
31768
31779
|
};
|
|
31769
31780
|
var validateOutputShape = {
|
|
31770
31781
|
mode: external_exports.enum(["url", "paste"]),
|
|
@@ -31833,7 +31844,7 @@ var validateStructuredDataInputShape = {
|
|
|
31833
31844
|
// src/server.ts
|
|
31834
31845
|
var SERVER_INFO = {
|
|
31835
31846
|
name: "agent-ready",
|
|
31836
|
-
version: "0.
|
|
31847
|
+
version: "0.7.0"
|
|
31837
31848
|
};
|
|
31838
31849
|
function createMcpServer(config2) {
|
|
31839
31850
|
const server = new McpServer(SERVER_INFO);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-ready-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"mcpName": "io.github.mlava/agent-ready-mcp",
|
|
5
5
|
"description": "MCP server for Agent Ready — scan any URL for AI-readability against the Vercel Agent Readability Spec, the llmstxt.org standard, and agent-protocol manifests (MCP server cards, A2A, agents.json, agent-permissions.json, UCP, x402, NLWeb). 69 checks with per-check fix guidance.",
|
|
6
6
|
"license": "MIT",
|