internetdata-mcp 3.1.8 → 3.1.10
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 +2 -2
- package/dist/schema.gen.d.ts +1 -1
- package/dist/schema.gen.js +4 -4
- package/dist/tools.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,9 +67,9 @@ Requires Node.js 22 or newer. `INTERNETDATA_BASE_URL` overrides the endpoint if
|
|
|
67
67
|
|
|
68
68
|
Every tool is read-only.
|
|
69
69
|
|
|
70
|
-
## Two spellings of a database
|
|
70
|
+
## Two spellings of a database ID
|
|
71
71
|
|
|
72
|
-
`list_databases` answers a `base`
|
|
72
|
+
`list_databases` answers a `base` ID and a `versions` array:
|
|
73
73
|
|
|
74
74
|
```json
|
|
75
75
|
{
|
package/dist/schema.gen.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SPEC_VERSION = "2026.
|
|
1
|
+
export declare const SPEC_VERSION = "2026.11.02";
|
|
2
2
|
/** The most history rows `list_downloads` may ask for. The API clamps to the same. */
|
|
3
3
|
export declare const DOWNLOADS_LIMIT = 200;
|
|
4
4
|
/** The fewest it may ask for. */
|
package/dist/schema.gen.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by scripts/gen-schema.mjs from spec/openapi.json. DO NOT EDIT.
|
|
2
|
-
export const SPEC_VERSION = '2026.
|
|
2
|
+
export const SPEC_VERSION = '2026.11.02';
|
|
3
3
|
/** The most history rows `list_downloads` may ask for. The API clamps to the same. */
|
|
4
4
|
export const DOWNLOADS_LIMIT = 200;
|
|
5
5
|
/** The fewest it may ask for. */
|
|
@@ -8,7 +8,7 @@ export const DOWNLOADS_LIMIT_MIN = 1;
|
|
|
8
8
|
export const DOWNLOADS_LIMIT_DEFAULT = 50;
|
|
9
9
|
export const DATABASE_SCHEMA = {
|
|
10
10
|
"type": "object",
|
|
11
|
-
"description": "One database FAMILY, with your organization's license beside it. A\nlicense covers the family, while a download names a specific version,\nso the
|
|
11
|
+
"description": "One database FAMILY, with your organization's license beside it. A\nlicense covers the family, while a download names a specific version,\nso the IDs passed to `download` and `checksum` come from `versions`.\n",
|
|
12
12
|
"required": [
|
|
13
13
|
"base",
|
|
14
14
|
"name",
|
|
@@ -105,7 +105,7 @@ export const DATABASE_SCHEMA = {
|
|
|
105
105
|
"properties": {
|
|
106
106
|
"id": {
|
|
107
107
|
"type": "string",
|
|
108
|
-
"description": "The versioned
|
|
108
|
+
"description": "The versioned ID. Pass this to `download`, `checksum` and `metadata`."
|
|
109
109
|
},
|
|
110
110
|
"version": {
|
|
111
111
|
"type": "integer"
|
|
@@ -115,7 +115,7 @@ export const DATABASE_SCHEMA = {
|
|
|
115
115
|
},
|
|
116
116
|
"formats": {
|
|
117
117
|
"type": "array",
|
|
118
|
-
"description": "The formats this version is BUILT in. Asking for another is a 400,\nnot a gap - the `_provider` catalogs are keyed by provider
|
|
118
|
+
"description": "The formats this version is BUILT in. Asking for another is a 400,\nnot a gap - the `_provider` catalogs are keyed by provider ID, so no\nMMDB exists for them.\n",
|
|
119
119
|
"items": {
|
|
120
120
|
"type": "string",
|
|
121
121
|
"description": "A file format a database version is published in.",
|
package/dist/tools.js
CHANGED
|
@@ -9,13 +9,13 @@ export { DOWNLOADS_LIMIT };
|
|
|
9
9
|
// version bump instead of a silent divergence. The tuple cast is about z.enum
|
|
10
10
|
// wanting a non-empty tuple, not a claim about the wire.
|
|
11
11
|
const FORMATS = z.enum([...DATABASE_FORMATS]);
|
|
12
|
-
// Both spellings of a dataset
|
|
13
|
-
// answers a `base`
|
|
12
|
+
// Both spellings of a dataset ID, stated wherever one is taken. `list_databases`
|
|
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
|
-
const VERSIONED_ID = 'A VERSIONED database
|
|
18
|
-
+ '`bogon_ip_v1`, not `bogon_ip`. The unversioned base
|
|
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 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
|
|
@@ -52,7 +52,7 @@ export function createTools(ctx) {
|
|
|
52
52
|
+ 'one entry per database FAMILY, with `standing` saying where their license '
|
|
53
53
|
+ 'stands: `licensed` if the family is theirs today, `expired` if the term has '
|
|
54
54
|
+ 'ended, `unlicensed` if it is published but has never been bought. Each entry '
|
|
55
|
-
+ 'has a `base`
|
|
55
|
+
+ 'has a `base` ID, which is what a license names, and a `versions` array whose '
|
|
56
56
|
+ '`id` is what the other tools take - pass `versions[].id` (`bogon_ip_v1`), '
|
|
57
57
|
+ 'never the `base` (`bogon_ip`). Ask again rather than holding on to this: it '
|
|
58
58
|
+ 'is answered per key and is not the same for everyone.',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "internetdata-mcp",
|
|
3
3
|
"mcpName": "io.internetdata/mcp",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.10",
|
|
5
5
|
"description": "Official MCP server for the InternetData API. Lets an LLM agent browse every IP database we publish and where an organization's license for each one stands, inspect what is inside one, and verify a copy it already holds.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|