archive-org-mcp 1.0.3 → 1.0.5
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 +5 -0
- package/dist/server.js +25 -0
- package/package.json +1 -1
- package/src/server.ts +39 -0
package/README.md
CHANGED
|
@@ -24,4 +24,9 @@ node dist/index.js
|
|
|
24
24
|
|
|
25
25
|
Public free APIs only. See `src/api.ts` for exact endpoints.
|
|
26
26
|
|
|
27
|
+
## Licence — no paywall
|
|
27
28
|
|
|
29
|
+
Every tool in this package is free: no licence key, no premium tier, no hosted
|
|
30
|
+
licence gateway. The paywall machinery this repo once carried (per-tool licence
|
|
31
|
+
checks and paid hosted endpoints) was removed repo-wide on 2026-10-17. Nothing
|
|
32
|
+
that this package installs or calls asks you to pay.
|
package/dist/server.js
CHANGED
|
@@ -144,5 +144,30 @@ export function createServer() {
|
|
|
144
144
|
return textError(String(e));
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
|
+
const serverName = "archive-org-mcp";
|
|
148
|
+
server.registerTool("health_check", {
|
|
149
|
+
title: "Health check",
|
|
150
|
+
description: "Check if the server is running and responsive.",
|
|
151
|
+
inputSchema: z.object({}),
|
|
152
|
+
annotations: READ_ONLY,
|
|
153
|
+
}, async () => {
|
|
154
|
+
return text("OK - server is running");
|
|
155
|
+
});
|
|
156
|
+
server.registerTool("version_info", {
|
|
157
|
+
title: "Version info",
|
|
158
|
+
description: "Get server version and metadata.",
|
|
159
|
+
inputSchema: z.object({}),
|
|
160
|
+
annotations: READ_ONLY,
|
|
161
|
+
}, async () => {
|
|
162
|
+
return text(JSON.stringify({ name: serverName, version: "1.0.0" }, null, 2));
|
|
163
|
+
});
|
|
164
|
+
server.registerTool("list_tools", {
|
|
165
|
+
title: "List tools",
|
|
166
|
+
description: "List all available tools on this server.",
|
|
167
|
+
inputSchema: z.object({}),
|
|
168
|
+
annotations: READ_ONLY,
|
|
169
|
+
}, async () => {
|
|
170
|
+
return text("See the tools/list response for the full tool list.");
|
|
171
|
+
});
|
|
147
172
|
return server;
|
|
148
173
|
}
|
package/package.json
CHANGED
package/src/server.ts
CHANGED
|
@@ -168,6 +168,45 @@ server.registerTool(
|
|
|
168
168
|
try { return text(await searchProfile(args)) } catch (e) { return textError(String(e)) }
|
|
169
169
|
}
|
|
170
170
|
)
|
|
171
|
+
const serverName = "archive-org-mcp"
|
|
172
|
+
|
|
173
|
+
server.registerTool(
|
|
174
|
+
"health_check",
|
|
175
|
+
{
|
|
176
|
+
title: "Health check",
|
|
177
|
+
description: "Check if the server is running and responsive.",
|
|
178
|
+
inputSchema: z.object({}),
|
|
179
|
+
annotations: READ_ONLY,
|
|
180
|
+
},
|
|
181
|
+
async () => {
|
|
182
|
+
return text("OK - server is running")
|
|
183
|
+
}
|
|
184
|
+
)
|
|
185
|
+
server.registerTool(
|
|
186
|
+
"version_info",
|
|
187
|
+
{
|
|
188
|
+
title: "Version info",
|
|
189
|
+
description: "Get server version and metadata.",
|
|
190
|
+
inputSchema: z.object({}),
|
|
191
|
+
annotations: READ_ONLY,
|
|
192
|
+
},
|
|
193
|
+
async () => {
|
|
194
|
+
return text(JSON.stringify({ name: serverName, version: "1.0.0" }, null, 2))
|
|
195
|
+
}
|
|
196
|
+
)
|
|
197
|
+
server.registerTool(
|
|
198
|
+
"list_tools",
|
|
199
|
+
{
|
|
200
|
+
title: "List tools",
|
|
201
|
+
description: "List all available tools on this server.",
|
|
202
|
+
inputSchema: z.object({}),
|
|
203
|
+
annotations: READ_ONLY,
|
|
204
|
+
},
|
|
205
|
+
async () => {
|
|
206
|
+
return text("See the tools/list response for the full tool list.")
|
|
207
|
+
}
|
|
208
|
+
)
|
|
209
|
+
|
|
171
210
|
|
|
172
211
|
return server
|
|
173
212
|
}
|