agent-ready-mcp 0.1.0 → 0.1.2
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 +24 -0
- package/dist/mcp-server.mjs +11 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,6 +124,30 @@ npm test
|
|
|
124
124
|
npm run typecheck
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
+
## Releasing
|
|
128
|
+
|
|
129
|
+
Two GitHub Actions handle CI and release publishing:
|
|
130
|
+
|
|
131
|
+
- `.github/workflows/ci.yml` — runs typecheck, tests, and `npm run build` on every PR and push to `main`.
|
|
132
|
+
- `.github/workflows/release.yml` — runs on every `v*` tag push. Publishes to npm (with Sigstore provenance) and to the [MCP registry](https://registry.modelcontextprotocol.io) via GitHub OIDC.
|
|
133
|
+
|
|
134
|
+
To cut a release:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
# bump version in package.json, manifest.json, server.json, src/server.ts
|
|
138
|
+
git commit -am "vX.Y.Z: ..."
|
|
139
|
+
git tag vX.Y.Z
|
|
140
|
+
git push && git push --tags
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
The release workflow handles npm + MCP registry automatically. Smithery republish (for the `.mcpb` bundle) and the GitHub release with custom notes are still manual — both have custom-content friction that's not worth automating today.
|
|
144
|
+
|
|
145
|
+
### Required repository secret
|
|
146
|
+
|
|
147
|
+
- `NPM_TOKEN` — npm automation token with publish access for `agent-ready-mcp`. Add at GitHub repo Settings → Secrets and variables → Actions.
|
|
148
|
+
|
|
149
|
+
The MCP registry publish uses GitHub OIDC (no stored secret required).
|
|
150
|
+
|
|
127
151
|
## License
|
|
128
152
|
|
|
129
153
|
MIT — see [LICENSE](LICENSE).
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -31238,16 +31238,23 @@ var getScanInputShape = {
|
|
|
31238
31238
|
// src/server.ts
|
|
31239
31239
|
var SERVER_INFO = {
|
|
31240
31240
|
name: "agent-ready",
|
|
31241
|
-
version: "0.1.
|
|
31241
|
+
version: "0.1.2"
|
|
31242
31242
|
};
|
|
31243
31243
|
function createMcpServer(config2) {
|
|
31244
31244
|
const server = new McpServer(SERVER_INFO);
|
|
31245
|
+
const READ_ONLY_OPEN_WORLD = {
|
|
31246
|
+
readOnlyHint: true,
|
|
31247
|
+
destructiveHint: false,
|
|
31248
|
+
idempotentHint: true,
|
|
31249
|
+
openWorldHint: true
|
|
31250
|
+
};
|
|
31245
31251
|
server.registerTool(
|
|
31246
31252
|
"scan_site",
|
|
31247
31253
|
{
|
|
31248
31254
|
title: "Scan a site for AI agent readability",
|
|
31249
31255
|
description: "Runs the agent-ready.dev scanner against a URL and returns structured results: Vercel score, llmstxt.org score, and per-check findings with remediation hints. Scans may take up to ~60s; if the local poll deadline elapses, the tool returns the scan id and asks you to poll with get_scan.",
|
|
31250
|
-
inputSchema: scanSiteInputShape
|
|
31256
|
+
inputSchema: scanSiteInputShape,
|
|
31257
|
+
annotations: READ_ONLY_OPEN_WORLD
|
|
31251
31258
|
},
|
|
31252
31259
|
async (args) => {
|
|
31253
31260
|
try {
|
|
@@ -31262,7 +31269,8 @@ function createMcpServer(config2) {
|
|
|
31262
31269
|
{
|
|
31263
31270
|
title: "Get a previous scan by id",
|
|
31264
31271
|
description: "Fetches a completed or in-progress scan by its id. Only scans owned by the authenticated API key's user are returned.",
|
|
31265
|
-
inputSchema: getScanInputShape
|
|
31272
|
+
inputSchema: getScanInputShape,
|
|
31273
|
+
annotations: READ_ONLY_OPEN_WORLD
|
|
31266
31274
|
},
|
|
31267
31275
|
async (args) => {
|
|
31268
31276
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-ready-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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). 59 checks with per-check fix guidance.",
|
|
6
6
|
"license": "MIT",
|