internetdata-mcp 2.1.0 → 2.1.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.
- package/dist/tools.js +4 -4
- package/package.json +3 -1
package/dist/tools.js
CHANGED
|
@@ -10,12 +10,12 @@ export { DOWNLOADS_LIMIT };
|
|
|
10
10
|
// wanting a non-empty tuple, not a claim about the wire.
|
|
11
11
|
const FORMATS = z.enum([...DATABASE_FORMATS]);
|
|
12
12
|
// Both spellings of a dataset id, stated wherever one is taken. `list_databases`
|
|
13
|
-
// answers a `base` id (what a
|
|
13
|
+
// answers a `base` id (what a license names) and a `versions[].id`; everything
|
|
14
14
|
// else accepts only the versioned one. A model that has just read
|
|
15
15
|
// `base: "bogon_ip"` will otherwise pass it and get a refusal that reads like a
|
|
16
16
|
// bad dataset rather than a wrong spelling.
|
|
17
17
|
const VERSIONED_ID = 'A VERSIONED database id, from `versions[].id` in `list_databases` - '
|
|
18
|
-
+ '`bogon_ip_v1`, not `bogon_ip`. The unversioned base id is a
|
|
18
|
+
+ '`bogon_ip_v1`, not `bogon_ip`. The unversioned base id is a license reference and is '
|
|
19
19
|
+ 'not accepted here.';
|
|
20
20
|
// Each tool's arguments, declared ONCE. `jsonSchema()` publishes the object and
|
|
21
21
|
// the handler parses with the same one, so the cap a client is shown is the cap
|
|
@@ -45,10 +45,10 @@ export function createTools(ctx) {
|
|
|
45
45
|
name: 'list_databases',
|
|
46
46
|
title: 'List databases',
|
|
47
47
|
description: 'The IP database catalog as this API key\'s organization may see it, '
|
|
48
|
-
+ 'one entry per database FAMILY, with `standing` saying where their
|
|
48
|
+
+ 'one entry per database FAMILY, with `standing` saying where their license '
|
|
49
49
|
+ 'stands: `licensed` if the family is theirs today, `expired` if the term has '
|
|
50
50
|
+ 'ended, `unlicensed` if it is published but has never been bought. Each entry '
|
|
51
|
-
+ 'has a `base` id, which is what a
|
|
51
|
+
+ 'has a `base` id, which is what a license names, and a `versions` array whose '
|
|
52
52
|
+ '`id` is what the other tools take - pass `versions[].id` (`bogon_ip_v1`), '
|
|
53
53
|
+ 'never the `base` (`bogon_ip`). Ask again rather than holding on to this: it '
|
|
54
54
|
+ 'is answered per key and is not the same for everyone.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "internetdata-mcp",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Official MCP server for the InternetData API. Lets an LLM agent browse the IP databases an organization is licensed for, inspect what is inside one, and verify a copy it already holds.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,9 +54,11 @@
|
|
|
54
54
|
"zod": "^4.1.12"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
+
"@mslmio/eslint-config": "^1.0.0",
|
|
57
58
|
"@types/node": "^26.2.0",
|
|
58
59
|
"ajv": "^8.20.0",
|
|
59
60
|
"ajv-formats": "^3.0.1",
|
|
61
|
+
"eslint": "^9.39.0",
|
|
60
62
|
"typescript": "^5.9.3"
|
|
61
63
|
},
|
|
62
64
|
"scripts": {
|