@uniquedomains/mcp-server 0.1.6 → 0.1.8
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 +1 -1
- package/dist/{chunk-4I4SFV22.js → chunk-P75DPKOY.js} +154 -42
- package/dist/{chunk-QKLW5I3T.js → chunk-QC3WP626.js} +1 -1
- package/dist/http.js +2 -2
- package/dist/index.js +10 -2
- package/dist/stdio.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,7 +139,7 @@ The hosted connector serves the free tools only and takes no key. Four free tool
|
|
|
139
139
|
- `structuredContent`: the API's `data`, `meta` and `links`, as the tool's output schema describes them.
|
|
140
140
|
- `content`: one line for a reader (the name and its headline fact, or the row count and the first names), then the same JSON as text.
|
|
141
141
|
- `links.details`: the public Unique.domains page about the subject, when there is one (hosted connector).
|
|
142
|
-
- On the hosted connector, internal ids
|
|
142
|
+
- The hosted connector's answers leave out internal ids, links to buy and the fields that say when a record was read: `meta.asOf`, a registry record's `observedOn` and `registryUpdatedAt`, the `day` of the catalog totals and of an ending's figures, a venue's `footprintDay` and the `checkedOn` of its terms, the sales answer's `freshness`, the `verifiedOn` of an auction venue's rules and a trend observation's `observedAt`. The day a change was seen (`seenOn`, `seenAt`) and the days of an ending's daily history stay. On the hosted connector, internal ids are catalog ids, row ids and UUIDs; times become their UTC day (an auction's deadline keeps its hour), the stamps of when a figure was computed are dropped, and a registry record comes without its `transport` field. The npm server and the API keep all of it.
|
|
143
143
|
- A list answers 20 rows by default. When `meta.cursor` is set, pass it as `cursor` to read the next page.
|
|
144
144
|
- A refusal is a sentence the assistant can act on: what was wrong, what is accepted, or when a limit resets.
|
|
145
145
|
|
|
@@ -220,15 +220,79 @@ var HOSTED_PUBLIC_ID_PATHS = {
|
|
|
220
220
|
get_meta_providers: ["data.registrars[].ianaId", "data.auctionVenues[].id", "data.parkingServices[].id"]
|
|
221
221
|
};
|
|
222
222
|
var HOSTED_DROPPED_FIELDS = {
|
|
223
|
-
|
|
223
|
+
get_name: ["registry.registryUpdatedAt"],
|
|
224
|
+
get_name_registry: ["transport", "observedOn", "observedAt", "registryUpdatedAt"],
|
|
225
|
+
get_catalog_stats: ["day"],
|
|
226
|
+
get_tld_stats: ["day"],
|
|
227
|
+
get_venue: ["listingTerms.checkedOn", "footprintDay"],
|
|
228
|
+
get_market_sales: ["freshness"],
|
|
229
|
+
list_market_auction_venues: ["[].closeRule.verifiedOn", "[].paymentRule.verifiedOn", "[].bidderRule.verifiedOn", "[].firstYear{}.verifiedOn"],
|
|
230
|
+
get_trend: ["observations[].observedAt"]
|
|
224
231
|
};
|
|
225
|
-
var
|
|
226
|
-
|
|
227
|
-
|
|
232
|
+
var pathSteps = (path) => path.split(/(\[\]|\{\})|\./u).filter((step) => step !== void 0 && step !== "");
|
|
233
|
+
var schemaPathOf = (path) => path.startsWith("[") ? `data${path}` : `data.${path}`;
|
|
234
|
+
var HOSTED_DROPPED_META = ["asOf"];
|
|
235
|
+
var dropPath = (value, path) => {
|
|
236
|
+
const [head, ...rest] = path;
|
|
237
|
+
if (head === void 0) return value;
|
|
238
|
+
if (head === "[]") return Array.isArray(value) ? value.map((item) => dropPath(item, rest)) : value;
|
|
239
|
+
if (!isObject(value)) return value;
|
|
240
|
+
if (head === "{}") {
|
|
241
|
+
const out2 = {};
|
|
242
|
+
for (const [name, child] of Object.entries(value)) if (child !== void 0) out2[name] = dropPath(child, rest);
|
|
243
|
+
return out2;
|
|
244
|
+
}
|
|
245
|
+
const out = {};
|
|
246
|
+
for (const [name, child] of Object.entries(value)) {
|
|
247
|
+
if (child === void 0) continue;
|
|
248
|
+
if (name !== head) out[name] = child;
|
|
249
|
+
else if (rest.length > 0) out[name] = dropPath(child, rest);
|
|
250
|
+
}
|
|
251
|
+
return out;
|
|
252
|
+
};
|
|
253
|
+
var dropHostedFields = (operationId, data) => (HOSTED_DROPPED_FIELDS[operationId] ?? []).reduce((value, path) => dropPath(value, pathSteps(path)), data);
|
|
254
|
+
var dropHostedMeta = (meta) => {
|
|
255
|
+
const out = {};
|
|
256
|
+
for (const [name, child] of Object.entries(meta)) if (child !== void 0 && !HOSTED_DROPPED_META.includes(name)) out[name] = child;
|
|
257
|
+
return out;
|
|
258
|
+
};
|
|
259
|
+
var HOSTED_RENAMES = {
|
|
260
|
+
get_market_auctions: {
|
|
261
|
+
from: "counts",
|
|
262
|
+
to: "trackedNames",
|
|
263
|
+
description: "The names we track at auction: one-word catalog names on the endings the catalog covers.",
|
|
264
|
+
keys: {
|
|
265
|
+
today: { to: "closingWithin24hWithBid", description: "Tracked names that close within 24 hours and have a bid." },
|
|
266
|
+
results: { to: "closedYesterdayWithResult", description: "Tracked names that closed yesterday (UTC) with a recorded result." },
|
|
267
|
+
all: { to: "openNow", description: "Tracked names whose auction is open." }
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
var renameHostedFields = (operationId, data) => {
|
|
272
|
+
const rename = HOSTED_RENAMES[operationId];
|
|
273
|
+
if (!rename || !isObject(data)) return data;
|
|
228
274
|
const out = {};
|
|
229
|
-
for (const [name, child] of Object.entries(data))
|
|
275
|
+
for (const [name, child] of Object.entries(data)) {
|
|
276
|
+
if (child === void 0) continue;
|
|
277
|
+
if (name !== rename.from) {
|
|
278
|
+
out[name] = child;
|
|
279
|
+
continue;
|
|
280
|
+
}
|
|
281
|
+
if (!isObject(child)) {
|
|
282
|
+
out[rename.to] = child;
|
|
283
|
+
continue;
|
|
284
|
+
}
|
|
285
|
+
const renamed = {};
|
|
286
|
+
for (const [key, value] of Object.entries(child)) if (value !== void 0) renamed[rename.keys[key]?.to ?? key] = value;
|
|
287
|
+
out[rename.to] = renamed;
|
|
288
|
+
}
|
|
230
289
|
return out;
|
|
231
290
|
};
|
|
291
|
+
var apiFieldsFor = (profile, operationId, fields) => {
|
|
292
|
+
const rename = HOSTED_RENAMES[operationId];
|
|
293
|
+
if (profile !== "hosted" || !rename) return fields;
|
|
294
|
+
return fields.split(",").map((key) => key.trim() === rename.to ? rename.from : key).join(",");
|
|
295
|
+
};
|
|
232
296
|
var trimHosted = (value, key = null) => {
|
|
233
297
|
if (Array.isArray(value)) return value.map((item) => trimHosted(item, key) ?? null);
|
|
234
298
|
if (typeof value === "string") return ISO_DATETIME.test(value) && (key === null || !HOSTED_KEPT_TIMES.includes(key)) ? utcDay(value) : value;
|
|
@@ -256,6 +320,8 @@ var dropSchemaPaths = (node, path, dropped) => {
|
|
|
256
320
|
out[key] = kept;
|
|
257
321
|
} else if (key === "items") {
|
|
258
322
|
out[key] = dropSchemaPaths(child, `${path}[]`, dropped);
|
|
323
|
+
} else if (key === "additionalProperties" && isObject(child)) {
|
|
324
|
+
out[key] = dropSchemaPaths(child, `${path}{}`, dropped);
|
|
259
325
|
} else if ((key === "anyOf" || key === "allOf") && Array.isArray(child)) {
|
|
260
326
|
out[key] = child.map((branch) => dropSchemaPaths(branch, path, dropped));
|
|
261
327
|
} else {
|
|
@@ -264,13 +330,44 @@ var dropSchemaPaths = (node, path, dropped) => {
|
|
|
264
330
|
}
|
|
265
331
|
return out;
|
|
266
332
|
};
|
|
333
|
+
var renameSchema = (operationId, data) => {
|
|
334
|
+
const rename = HOSTED_RENAMES[operationId];
|
|
335
|
+
if (!rename || !isObject(data) || !isObject(data.properties)) return data;
|
|
336
|
+
const properties = {};
|
|
337
|
+
for (const [name, schema] of Object.entries(data.properties)) {
|
|
338
|
+
if (schema === void 0) continue;
|
|
339
|
+
if (name !== rename.from || !isObject(schema)) {
|
|
340
|
+
properties[name] = schema;
|
|
341
|
+
continue;
|
|
342
|
+
}
|
|
343
|
+
const keys = {};
|
|
344
|
+
if (isObject(schema.properties)) {
|
|
345
|
+
for (const [key, child] of Object.entries(schema.properties)) {
|
|
346
|
+
if (child === void 0) continue;
|
|
347
|
+
const renamed = rename.keys[key];
|
|
348
|
+
keys[renamed?.to ?? key] = renamed && isObject(child) ? { ...child, description: renamed.description } : child;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
properties[rename.to] = { ...schema, description: rename.description, ...isObject(schema.properties) ? { properties: keys } : {} };
|
|
352
|
+
}
|
|
353
|
+
return { ...data, properties };
|
|
354
|
+
};
|
|
267
355
|
var outputSchemaFor = (tool, profile) => {
|
|
268
356
|
if (profile === "local") return tool.outputSchema;
|
|
269
357
|
const properties = tool.outputSchema.properties;
|
|
270
358
|
if (!isObject(properties)) return tool.outputSchema;
|
|
271
|
-
const dropped = /* @__PURE__ */ new Set([
|
|
272
|
-
|
|
273
|
-
|
|
359
|
+
const dropped = /* @__PURE__ */ new Set([
|
|
360
|
+
...HOSTED_INTERNAL_ID_PATHS[tool.operationId] ?? [],
|
|
361
|
+
...(HOSTED_DROPPED_FIELDS[tool.operationId] ?? []).map(schemaPathOf),
|
|
362
|
+
...HOSTED_DROPPED_META.map((name) => `meta.${name}`)
|
|
363
|
+
]);
|
|
364
|
+
const data = properties.data === void 0 ? void 0 : renameSchema(tool.operationId, dropSchemaPaths(properties.data, "data", dropped));
|
|
365
|
+
const metaKept = properties.meta === void 0 ? void 0 : dropSchemaPaths(properties.meta, "meta", dropped);
|
|
366
|
+
let meta = metaKept;
|
|
367
|
+
if (isObject(metaKept)) {
|
|
368
|
+
const { description: _day, ...rest } = metaKept;
|
|
369
|
+
meta = rest;
|
|
370
|
+
}
|
|
274
371
|
const trimmed = { ...properties, ...data !== void 0 ? { data } : {}, ...meta !== void 0 ? { meta } : {} };
|
|
275
372
|
const links = properties.links;
|
|
276
373
|
if (isObject(links) && isObject(links.properties)) {
|
|
@@ -280,7 +377,7 @@ var outputSchemaFor = (tool, profile) => {
|
|
|
280
377
|
return { ...tool.outputSchema, properties: trimmed };
|
|
281
378
|
};
|
|
282
379
|
var hostedDroppedTopKeys = (operationId) => {
|
|
283
|
-
const keys = /* @__PURE__ */ new Set([...HOSTED_DROPPED_STAMPS, ...HOSTED_DROPPED_FIELDS[operationId] ?? []]);
|
|
380
|
+
const keys = /* @__PURE__ */ new Set([...HOSTED_DROPPED_STAMPS, ...(HOSTED_DROPPED_FIELDS[operationId] ?? []).filter((path) => pathSteps(path).length === 1)]);
|
|
284
381
|
for (const path of HOSTED_INTERNAL_ID_PATHS[operationId] ?? []) {
|
|
285
382
|
const match = /^data(?:\[\])?\.([A-Za-z]+)$/u.exec(path);
|
|
286
383
|
if (match?.[1]) keys.add(match[1]);
|
|
@@ -295,7 +392,8 @@ var hostedFieldsDescription = (operationId, description) => {
|
|
|
295
392
|
const match = FIELDS_LIST.exec(description);
|
|
296
393
|
if (!match?.[1] || !match[2]) return description;
|
|
297
394
|
const dropped = hostedDroppedTopKeys(operationId);
|
|
298
|
-
const
|
|
395
|
+
const rename = HOSTED_RENAMES[operationId];
|
|
396
|
+
const kept = match[2].split(", ").filter((key) => !dropped.has(key)).map((key) => rename && key === rename.from ? rename.to : key);
|
|
299
397
|
return `${match[1]}${kept.join(", ")}.`;
|
|
300
398
|
};
|
|
301
399
|
var stripLinks = (value) => {
|
|
@@ -316,11 +414,11 @@ var stripLinks = (value) => {
|
|
|
316
414
|
};
|
|
317
415
|
var shapeAnswer = (profile, operationId, input, envelope) => {
|
|
318
416
|
if (profile === "local") return { data: envelope.data, meta: envelope.meta, links: envelope.links };
|
|
319
|
-
const data = trimHosted(stripLinks(dropHostedFields(operationId, envelope.data))) ?? null;
|
|
417
|
+
const data = trimHosted(stripLinks(renameHostedFields(operationId, dropHostedFields(operationId, envelope.data)))) ?? null;
|
|
320
418
|
const links = {};
|
|
321
419
|
for (const [name, link] of Object.entries(envelope.links)) if (!STRIPPED_LINKS.includes(name) && link !== void 0) links[name] = link;
|
|
322
420
|
links.details = detailsFor(operationId, input, envelope.data, envelope.links.details);
|
|
323
|
-
const meta = trimHosted(stripLinks(envelope.meta));
|
|
421
|
+
const meta = trimHosted(stripLinks(dropHostedMeta(envelope.meta)));
|
|
324
422
|
return { data, meta: isObject(meta) ? meta : {}, links };
|
|
325
423
|
};
|
|
326
424
|
var LABEL_KEYS = ["name", "domain", "word", "tld", "ending", "string", "phrase", "title", "label", "slug", "registrar", "venue"];
|
|
@@ -587,6 +685,8 @@ var runTool = async (context, tool, args) => {
|
|
|
587
685
|
if (error instanceof InputError) return errorResult(error.message);
|
|
588
686
|
throw error;
|
|
589
687
|
}
|
|
688
|
+
const fields = input.query.fields;
|
|
689
|
+
if (typeof fields === "string") input = { ...input, query: { ...input.query, fields: apiFieldsFor(context.profile, operationId, fields) } };
|
|
590
690
|
let answer;
|
|
591
691
|
try {
|
|
592
692
|
try {
|
|
@@ -631,7 +731,7 @@ var TOOLS = [
|
|
|
631
731
|
"name": "ud_get_name",
|
|
632
732
|
"operationId": "get_name",
|
|
633
733
|
"title": "Answer for one domain name",
|
|
634
|
-
"description": "The answer for one domain name: status, drop day, price today, registry facts, word facts and similar sales. Use it when someone asks
|
|
734
|
+
"description": "The answer for one domain name: status, drop day, price today, registry facts, word facts and similar sales. Use it first when someone asks if a domain name is taken, available or for sale, what it costs to register and to renew, or wants a name idea checked before buying it. The status `not_checked` means no answer: the name may be taken. Pass `name` (such as get.plumbing).",
|
|
635
735
|
"tier": "free",
|
|
636
736
|
"plan": null,
|
|
637
737
|
"metered": null,
|
|
@@ -2476,7 +2576,7 @@ var TOOLS = [
|
|
|
2476
2576
|
"name": "ud_get_name_registry",
|
|
2477
2577
|
"operationId": "get_name_registry",
|
|
2478
2578
|
"title": "Registry record of one name",
|
|
2479
|
-
"description": "The registry record of one name: dates, registrar, status codes, nameservers, DNSSEC and holder. Use it when someone asks who holds a name, when it was registered or when it expires. Pass `name` (such as get.plumbing).",
|
|
2579
|
+
"description": "The registry record of one name: dates, registrar, status codes, nameservers, DNSSEC and holder. Use it when someone asks who holds a name, which registrar it is at, when it was registered or when it expires: the record a WHOIS lookup shows. Pass `name` (such as get.plumbing).",
|
|
2480
2580
|
"tier": "free",
|
|
2481
2581
|
"plan": null,
|
|
2482
2582
|
"metered": null,
|
|
@@ -3034,7 +3134,7 @@ var TOOLS = [
|
|
|
3034
3134
|
"name": "ud_get_name_dns",
|
|
3035
3135
|
"operationId": "get_name_dns",
|
|
3036
3136
|
"title": "DNS records of one name, with its parking venue",
|
|
3037
|
-
"description": "The DNS records of one name, with its parking venue. Use it when someone asks whether a name points anywhere or is parked, and with which parking service. Pass `name` (such as get.plumbing).",
|
|
3137
|
+
"description": "The DNS records of one name, with its parking venue. Use it when someone asks whether a name has a website behind it, points anywhere or is parked, and with which parking service. Pass `name` (such as get.plumbing).",
|
|
3038
3138
|
"tier": "free",
|
|
3039
3139
|
"plan": null,
|
|
3040
3140
|
"metered": null,
|
|
@@ -4049,7 +4149,7 @@ var TOOLS = [
|
|
|
4049
4149
|
"name": "ud_get_name_comps",
|
|
4050
4150
|
"operationId": "get_name_comps",
|
|
4051
4151
|
"title": "Similar-sales aggregate of one name and how many endings its word sold on",
|
|
4052
|
-
"description": "The similar-sales aggregate of one name and how many endings its word sold on. Use it when someone asks what similar names sold for, or
|
|
4152
|
+
"description": "The similar-sales aggregate of one name and how many endings its word sold on. Use it when someone asks what similar names sold for, or wants a price reference before buying or selling a name. It answers a count and a median of similar sales, not a value for the name itself. Pass `name` (such as get.plumbing).",
|
|
4053
4153
|
"tier": "free",
|
|
4054
4154
|
"plan": null,
|
|
4055
4155
|
"metered": null,
|
|
@@ -4657,7 +4757,7 @@ var TOOLS = [
|
|
|
4657
4757
|
"name": "ud_list_word_categories",
|
|
4658
4758
|
"operationId": "list_word_categories",
|
|
4659
4759
|
"title": "Catalog's word categories, by name",
|
|
4660
|
-
"description": "The catalog's word categories, by name. Use it when someone wants the word categories to browse or filter by.
|
|
4760
|
+
"description": "The catalog's word categories, by name. Use it when someone wants the word categories to browse or filter by. Its one input, `fields`, is optional.",
|
|
4661
4761
|
"tier": "free",
|
|
4662
4762
|
"plan": null,
|
|
4663
4763
|
"metered": null,
|
|
@@ -6192,7 +6292,7 @@ var TOOLS = [
|
|
|
6192
6292
|
"name": "ud_get_word_endings",
|
|
6193
6293
|
"operationId": "get_word_endings",
|
|
6194
6294
|
"title": "A word's endings",
|
|
6195
|
-
"description": "A word's endings: counts, the key endings and the open names per ending. Use it when someone has a word
|
|
6295
|
+
"description": "A word's endings: counts, the key endings and the open names per ending. Use it when someone is naming a business, product or project and has a word in mind: it shows which endings, such as .com, .io or .ai, are still available or for sale for that word. A word with no count yet answers null; zeros are real. Pass `word` (such as organic); the other inputs are optional.",
|
|
6196
6296
|
"tier": "free",
|
|
6197
6297
|
"plan": null,
|
|
6198
6298
|
"metered": null,
|
|
@@ -8093,7 +8193,7 @@ var TOOLS = [
|
|
|
8093
8193
|
"name": "ud_list_domains",
|
|
8094
8194
|
"operationId": "list_domains",
|
|
8095
8195
|
"title": "One-word catalog names under filters",
|
|
8096
|
-
"description": "One-word catalog names under filters. Use it when someone
|
|
8196
|
+
"description": "One-word catalog names under filters. Use it when someone looks for domain names they can still buy: one-word names that are available or for sale, filtered by ending, length, price or style, not by topic. Neutral order, one page at a time. Every input is optional; `limit` sets the page size.",
|
|
8097
8197
|
"tier": "free",
|
|
8098
8198
|
"plan": null,
|
|
8099
8199
|
"metered": null,
|
|
@@ -9109,7 +9209,7 @@ var TOOLS = [
|
|
|
9109
9209
|
"name": "ud_get_domain_drops",
|
|
9110
9210
|
"operationId": "get_domain_drops",
|
|
9111
9211
|
"title": "Names dropping on one day, counted by ending",
|
|
9112
|
-
"description": "The names dropping on one day, counted by ending. Use it when someone asks how many
|
|
9212
|
+
"description": "The names dropping on one day, counted by ending. Use it when someone asks about expiring or dropping domain names: how many drop on a day, from today to 6 days ahead, and on which endings. Every input is optional; `limit` sets the page size.",
|
|
9113
9213
|
"tier": "free",
|
|
9114
9214
|
"plan": null,
|
|
9115
9215
|
"metered": null,
|
|
@@ -9892,7 +9992,7 @@ var TOOLS = [
|
|
|
9892
9992
|
"name": "ud_get_catalog_stats",
|
|
9893
9993
|
"operationId": "get_catalog_stats",
|
|
9894
9994
|
"title": "Catalog headline totals",
|
|
9895
|
-
"description": "Catalog headline totals. Use it when someone asks how many names the catalog tracks and how many are open.
|
|
9995
|
+
"description": "Catalog headline totals. Use it when someone asks how many names the catalog tracks and how many are open. Its one input, `fields`, is optional.",
|
|
9896
9996
|
"tier": "free",
|
|
9897
9997
|
"plan": null,
|
|
9898
9998
|
"metered": null,
|
|
@@ -10511,7 +10611,7 @@ var TOOLS = [
|
|
|
10511
10611
|
"name": "ud_get_tld",
|
|
10512
10612
|
"operationId": "get_tld",
|
|
10513
10613
|
"title": "One TLD in full",
|
|
10514
|
-
"description": "One TLD in full: registry facts, phases, market, quality band and registrar prices. Use it when someone asks
|
|
10614
|
+
"description": "One TLD in full: registry facts, phases, market, quality band and registrar prices. Use it when someone weighs one ending, such as .ai or .io, or asks what it costs: who runs it, its launch phases, its market and what registrars charge for it, the first year and to renew. Pass `tld` (such as ai).",
|
|
10515
10615
|
"tier": "free",
|
|
10516
10616
|
"plan": null,
|
|
10517
10617
|
"metered": null,
|
|
@@ -12887,7 +12987,7 @@ var TOOLS = [
|
|
|
12887
12987
|
"name": "ud_list_registrars",
|
|
12888
12988
|
"operationId": "list_registrars",
|
|
12889
12989
|
"title": "Nine registrars whose daily price lists are compared",
|
|
12890
|
-
"description": "The nine registrars whose daily price lists are compared, in catalog order. Use it when someone asks which registrars the price comparisons cover.
|
|
12990
|
+
"description": "The nine registrars whose daily price lists are compared, in catalog order. Use it when someone asks which registrars the price comparisons cover. Its one input, `fields`, is optional.",
|
|
12891
12991
|
"tier": "free",
|
|
12892
12992
|
"plan": null,
|
|
12893
12993
|
"metered": null,
|
|
@@ -14465,7 +14565,7 @@ var TOOLS = [
|
|
|
14465
14565
|
"name": "ud_list_price_traps",
|
|
14466
14566
|
"operationId": "list_price_traps",
|
|
14467
14567
|
"title": "Endings whose cheapest first year renews at a trap price",
|
|
14468
|
-
"description": "Endings whose cheapest first year renews at a trap price, alphabetical. Use it when someone wants to avoid
|
|
14568
|
+
"description": "Endings whose cheapest first year renews at a trap price, alphabetical. Use it when someone asks which endings cost much more to renew than to register, or wants to avoid a cheap first year followed by a costly renewal. Every input is optional.",
|
|
14469
14569
|
"tier": "free",
|
|
14470
14570
|
"plan": null,
|
|
14471
14571
|
"metered": null,
|
|
@@ -14887,7 +14987,7 @@ var TOOLS = [
|
|
|
14887
14987
|
"name": "ud_list_venues",
|
|
14888
14988
|
"operationId": "list_venues",
|
|
14889
14989
|
"title": "Parking and marketplace venues with a profile and their rounded footprint",
|
|
14890
|
-
"description": "The parking and marketplace venues with a profile and their rounded footprint. Use it when someone asks which marketplaces or parking services list names, and how many.
|
|
14990
|
+
"description": "The parking and marketplace venues with a profile and their rounded footprint. Use it when someone asks which marketplaces or parking services list names, and how many. Its one input, `fields`, is optional.",
|
|
14891
14991
|
"tier": "free",
|
|
14892
14992
|
"plan": null,
|
|
14893
14993
|
"metered": null,
|
|
@@ -15775,7 +15875,7 @@ var TOOLS = [
|
|
|
15775
15875
|
"name": "ud_get_market_sales",
|
|
15776
15876
|
"operationId": "get_market_sales",
|
|
15777
15877
|
"title": "Domain sales pulse as headline aggregates",
|
|
15778
|
-
"description": "The domain sales pulse as headline aggregates: windows, price bands and the sold-before count. Use it when someone asks how
|
|
15878
|
+
"description": "The domain sales pulse as headline aggregates: windows, price bands and the sold-before count. Use it when someone asks how domain names are selling overall: how many sold lately, at what median and in which price bands. Totals, not single sales. Its one input, `fields`, is optional.",
|
|
15779
15879
|
"tier": "free",
|
|
15780
15880
|
"plan": null,
|
|
15781
15881
|
"metered": null,
|
|
@@ -16202,7 +16302,7 @@ var TOOLS = [
|
|
|
16202
16302
|
"name": "ud_list_market_sales_endings",
|
|
16203
16303
|
"operationId": "list_market_sales_endings",
|
|
16204
16304
|
"title": "Each ending's 12-month and 30-day sales figures",
|
|
16205
|
-
"description": "Each ending's 12-month and 30-day sales figures, alphabetical. Use it when someone asks which endings sell and
|
|
16305
|
+
"description": "Each ending's 12-month and 30-day sales figures, alphabetical. Use it when someone asks which endings sell and for how much, such as what .ai or .io names sell for: a count and a median per ending. Its one input, `fields`, is optional.",
|
|
16206
16306
|
"tier": "free",
|
|
16207
16307
|
"plan": null,
|
|
16208
16308
|
"metered": null,
|
|
@@ -16394,7 +16494,7 @@ var TOOLS = [
|
|
|
16394
16494
|
"name": "ud_get_market_sales_lengths",
|
|
16395
16495
|
"operationId": "get_market_sales_lengths",
|
|
16396
16496
|
"title": "Sales by label length for .com, .ai, .io and .co",
|
|
16397
|
-
"description": "Sales by label length for .com, .ai, .io and .co. Use it when someone asks how the length of a name relates to its sale price.
|
|
16497
|
+
"description": "Sales by label length for .com, .ai, .io and .co. Use it when someone asks how the length of a name relates to its sale price. Its one input, `fields`, is optional.",
|
|
16398
16498
|
"tier": "free",
|
|
16399
16499
|
"plan": null,
|
|
16400
16500
|
"metered": null,
|
|
@@ -16738,7 +16838,7 @@ var TOOLS = [
|
|
|
16738
16838
|
"name": "ud_list_market_sales_movers",
|
|
16739
16839
|
"operationId": "list_market_sales_movers",
|
|
16740
16840
|
"title": "Up to ten words whose sales moved over the last 30 days",
|
|
16741
|
-
"description": "Up to ten words whose sales moved over the last 30 days. Use it when someone asks which words are selling more or less lately.
|
|
16841
|
+
"description": "Up to ten words whose sales moved over the last 30 days. Use it when someone asks which words are selling more or less lately. Its one input, `fields`, is optional.",
|
|
16742
16842
|
"tier": "free",
|
|
16743
16843
|
"plan": null,
|
|
16744
16844
|
"metered": null,
|
|
@@ -17110,7 +17210,7 @@ var TOOLS = [
|
|
|
17110
17210
|
"name": "ud_get_market_auctions",
|
|
17111
17211
|
"operationId": "get_market_auctions",
|
|
17112
17212
|
"title": "Today's domain auctions by venue",
|
|
17113
|
-
"description": "Today's domain auctions by venue, ending and length, the next seven days and the tracked counts. Use it when someone asks
|
|
17213
|
+
"description": "Today's domain auctions by venue, ending and length, the next seven days and the tracked counts. Use it when someone asks how many domain names are at auction or closing today, by venue, ending and length. Totals, not a list of names. Its one input, `fields`, is optional.",
|
|
17114
17214
|
"tier": "free",
|
|
17115
17215
|
"plan": null,
|
|
17116
17216
|
"metered": null,
|
|
@@ -17394,7 +17494,7 @@ var TOOLS = [
|
|
|
17394
17494
|
"name": "ud_list_market_auctions_sample",
|
|
17395
17495
|
"operationId": "list_market_auctions_sample",
|
|
17396
17496
|
"title": "Day's fixed sample of up to 20 single-word names at auction",
|
|
17397
|
-
"description": "The day's fixed sample of up to 20 single-word names at auction, by deadline. Use it when someone
|
|
17497
|
+
"description": "The day's fixed sample of up to 20 single-word names at auction, by deadline. Use it when someone asks what is at auction today or wants auction names to look at. A fixed daily sample of single-word names, not every auction. Its one input, `fields`, is optional.",
|
|
17398
17498
|
"tier": "free",
|
|
17399
17499
|
"plan": null,
|
|
17400
17500
|
"metered": null,
|
|
@@ -17610,7 +17710,7 @@ var TOOLS = [
|
|
|
17610
17710
|
"name": "ud_list_market_auction_venues",
|
|
17611
17711
|
"operationId": "list_market_auction_venues",
|
|
17612
17712
|
"title": "Seven auction venues with their verified rules and today's counts",
|
|
17613
|
-
"description": "The seven auction venues with their verified rules and today's counts. Use it when someone asks how an auction venue works, or how many auctions it runs today.
|
|
17713
|
+
"description": "The seven auction venues with their verified rules and today's counts. Use it when someone asks how an auction venue works, or how many auctions it runs today. Its one input, `fields`, is optional.",
|
|
17614
17714
|
"tier": "free",
|
|
17615
17715
|
"plan": null,
|
|
17616
17716
|
"metered": null,
|
|
@@ -18670,7 +18770,7 @@ var TOOLS = [
|
|
|
18670
18770
|
"name": "ud_list_trend_categories",
|
|
18671
18771
|
"operationId": "list_trend_categories",
|
|
18672
18772
|
"title": "Trend categories, to narrow the trends by",
|
|
18673
|
-
"description": "The trend categories, to narrow the trends by. Use it when someone wants trends from one field only, such as business or health.
|
|
18773
|
+
"description": "The trend categories, to narrow the trends by. Use it when someone wants trends from one field only, such as business or health. Its one input, `fields`, is optional.",
|
|
18674
18774
|
"tier": "free",
|
|
18675
18775
|
"plan": null,
|
|
18676
18776
|
"metered": null,
|
|
@@ -20038,7 +20138,7 @@ var TOOLS = [
|
|
|
20038
20138
|
"name": "ud_get_latest_edition",
|
|
20039
20139
|
"operationId": "get_latest_edition",
|
|
20040
20140
|
"title": "Latest daily edition of Business Ideas or Trending Domains",
|
|
20041
|
-
"description": "The latest daily edition of Business Ideas or Trending Domains: trends with open names, for founders or for investors. Use it when someone wants
|
|
20141
|
+
"description": "The latest daily edition of Business Ideas or Trending Domains: trends with open names, for founders or for investors. Use it when someone wants name ideas for a new business, or names to buy around rising topics; it carries the edition's open names only, and at most 20 trends while `trendCount` counts the whole edition. Pass `persona` (such as founder).",
|
|
20042
20142
|
"tier": "free",
|
|
20043
20143
|
"plan": null,
|
|
20044
20144
|
"metered": null,
|
|
@@ -20989,7 +21089,7 @@ var TOOLS = [
|
|
|
20989
21089
|
"name": "ud_get_meta_enums",
|
|
20990
21090
|
"operationId": "get_meta_enums",
|
|
20991
21091
|
"title": "Every list of values the answers use",
|
|
20992
|
-
"description": "Every list of values the answers use, such as statuses, venues and bands. Use it when an answer holds a code and someone needs its meaning. An auction answer names its own venue on each row, which may be one this list leaves out.
|
|
21092
|
+
"description": "Every list of values the answers use, such as statuses, venues and bands. Use it when an answer holds a code and someone needs its meaning. An auction answer names its own venue on each row, which may be one this list leaves out. Its one input, `fields`, is optional.",
|
|
20993
21093
|
"tier": "free",
|
|
20994
21094
|
"plan": null,
|
|
20995
21095
|
"metered": null,
|
|
@@ -21236,7 +21336,7 @@ var TOOLS = [
|
|
|
21236
21336
|
"name": "ud_list_meta_datasets",
|
|
21237
21337
|
"operationId": "list_meta_datasets",
|
|
21238
21338
|
"title": "Free GitHub datasets that hold the same rows as these answers",
|
|
21239
|
-
"description": "The free GitHub datasets that hold the same rows as these answers. Use it when someone wants the data in bulk, as files.
|
|
21339
|
+
"description": "The free GitHub datasets that hold the same rows as these answers. Use it when someone wants the data in bulk, as files. Its one input, `fields`, is optional.",
|
|
21240
21340
|
"tier": "free",
|
|
21241
21341
|
"plan": null,
|
|
21242
21342
|
"metered": null,
|
|
@@ -21412,7 +21512,7 @@ var TOOLS = [
|
|
|
21412
21512
|
"name": "ud_list_meta_trademark_classes",
|
|
21413
21513
|
"operationId": "list_meta_trademark_classes",
|
|
21414
21514
|
"title": "45 Nice classes a trademark is filed under",
|
|
21415
|
-
"description": "The 45 Nice classes a trademark is filed under. Use it when a trademark answer names a class number and someone needs what it covers.
|
|
21515
|
+
"description": "The 45 Nice classes a trademark is filed under. Use it when a trademark answer names a class number and someone needs what it covers. Its one input, `fields`, is optional.",
|
|
21416
21516
|
"tier": "free",
|
|
21417
21517
|
"plan": null,
|
|
21418
21518
|
"metered": null,
|
|
@@ -21568,7 +21668,7 @@ var TOOLS = [
|
|
|
21568
21668
|
"name": "ud_get_meta_providers",
|
|
21569
21669
|
"operationId": "get_meta_providers",
|
|
21570
21670
|
"title": "Registrar identities and the auction venue and parking service catalogs",
|
|
21571
|
-
"description": "Registrar identities and the auction venue and parking service catalogs. Use it when someone needs the registrars, auction venues and parking services an answer may name. An auction answer names its own venue on each row, which may be one this list leaves out.
|
|
21671
|
+
"description": "Registrar identities and the auction venue and parking service catalogs. Use it when someone needs the registrars, auction venues and parking services an answer may name. An auction answer names its own venue on each row, which may be one this list leaves out. Its one input, `fields`, is optional.",
|
|
21572
21672
|
"tier": "free",
|
|
21573
21673
|
"plan": null,
|
|
21574
21674
|
"metered": null,
|
|
@@ -21777,7 +21877,7 @@ var TOOLS = [
|
|
|
21777
21877
|
"name": "ud_get_key",
|
|
21778
21878
|
"operationId": "get_key",
|
|
21779
21879
|
"title": "What the calling member key opens",
|
|
21780
|
-
"description": "What the calling member key opens: its allowances and its month. Use it when someone asks how many calls or checks are left this month.
|
|
21880
|
+
"description": "What the calling member key opens: its allowances and its month. Use it when someone asks how many calls or checks are left this month. Its one input, `fields`, is optional.",
|
|
21781
21881
|
"tier": "keyed",
|
|
21782
21882
|
"plan": null,
|
|
21783
21883
|
"metered": null,
|
|
@@ -22072,7 +22172,7 @@ import { ApiProblemError as ApiProblemError2, createClient } from "@uniquedomain
|
|
|
22072
22172
|
// package.json
|
|
22073
22173
|
var package_default = {
|
|
22074
22174
|
name: "@uniquedomains/mcp-server",
|
|
22075
|
-
version: "0.1.
|
|
22175
|
+
version: "0.1.8",
|
|
22076
22176
|
description: "MCP server to analyse any domain name in depth and find the right ones to buy: is a name taken, what nine registrars charge, what similar names sold for. A daily record of 37 million names. Runs with npx or hosted, no key.",
|
|
22077
22177
|
license: "MIT",
|
|
22078
22178
|
author: "Unique.domains (https://unique.domains)",
|
|
@@ -22142,9 +22242,17 @@ var package_default = {
|
|
|
22142
22242
|
var SERVER_NAME = "uniquedomains";
|
|
22143
22243
|
var SERVER_VERSION = package_default.version;
|
|
22144
22244
|
var instructionsFor = (_profile) => [
|
|
22145
|
-
"Unique.domains
|
|
22245
|
+
"Unique.domains answers questions about domain names from its own catalog.",
|
|
22246
|
+
"Is a name taken, available or for sale, and what it costs to register and renew: `ud_get_name` with the full name, such as get.plumbing.",
|
|
22247
|
+
"Naming a business, product or project: `ud_get_latest_edition` for name ideas from rising topics, and `ud_get_word_endings` for the endings a word is still available or for sale on.",
|
|
22248
|
+
"Names someone can still buy, by ending, length or price: `ud_list_domains`.",
|
|
22249
|
+
"An unclear or misspelled word goes to `ud_resolve_word` first.",
|
|
22250
|
+
"What similar names sold for: `ud_get_name_comps`.",
|
|
22251
|
+
"Auctions today: `ud_get_market_auctions`.",
|
|
22252
|
+
"What an ending costs: `ud_get_tld` with the ending without its dot, such as ai.",
|
|
22253
|
+
"None of the tools registers, buys, renews or changes a name.",
|
|
22146
22254
|
"`links.details` points at the public page about the subject when there is one.",
|
|
22147
|
-
"
|
|
22255
|
+
"A list comes in a neutral order: present it as a sample of what matches."
|
|
22148
22256
|
].join(" ");
|
|
22149
22257
|
var INSTRUCTIONS = instructionsFor("local");
|
|
22150
22258
|
var userAgent = (config) => `uniquedomains-mcp-server/${SERVER_VERSION} (${config.profile})`;
|
|
@@ -22231,6 +22339,10 @@ export {
|
|
|
22231
22339
|
isInternalId,
|
|
22232
22340
|
HOSTED_INTERNAL_ID_PATHS,
|
|
22233
22341
|
HOSTED_PUBLIC_ID_PATHS,
|
|
22342
|
+
HOSTED_DROPPED_FIELDS,
|
|
22343
|
+
HOSTED_DROPPED_META,
|
|
22344
|
+
HOSTED_RENAMES,
|
|
22345
|
+
apiFieldsFor,
|
|
22234
22346
|
trimHosted,
|
|
22235
22347
|
outputSchemaFor,
|
|
22236
22348
|
shapeAnswer,
|
package/dist/http.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
startHttpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QC3WP626.js";
|
|
5
5
|
import {
|
|
6
6
|
ConfigError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-P75DPKOY.js";
|
|
8
8
|
|
|
9
9
|
// src/transports/http.ts
|
|
10
10
|
startHttpServer().catch((error) => {
|
package/dist/index.js
CHANGED
|
@@ -4,15 +4,18 @@ import {
|
|
|
4
4
|
createRequestHandler,
|
|
5
5
|
readWellKnownFiles,
|
|
6
6
|
startHttpServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QC3WP626.js";
|
|
8
8
|
import {
|
|
9
9
|
ConfigError,
|
|
10
10
|
DETAILS_RULES,
|
|
11
11
|
DETAILS_SAMPLES,
|
|
12
|
+
HOSTED_DROPPED_FIELDS,
|
|
13
|
+
HOSTED_DROPPED_META,
|
|
12
14
|
HOSTED_DROPPED_STAMPS,
|
|
13
15
|
HOSTED_INTERNAL_ID_PATHS,
|
|
14
16
|
HOSTED_KEPT_TIMES,
|
|
15
17
|
HOSTED_PUBLIC_ID_PATHS,
|
|
18
|
+
HOSTED_RENAMES,
|
|
16
19
|
INSTRUCTIONS,
|
|
17
20
|
InputError,
|
|
18
21
|
KEYLESS_LIMIT_MAX,
|
|
@@ -23,6 +26,7 @@ import {
|
|
|
23
26
|
TOOLS_DOCUMENT_VERSION,
|
|
24
27
|
TOOLS_SDK_VERSION,
|
|
25
28
|
WEBSITE,
|
|
29
|
+
apiFieldsFor,
|
|
26
30
|
createApiClient,
|
|
27
31
|
createMcpServer,
|
|
28
32
|
detailsFor,
|
|
@@ -45,15 +49,18 @@ import {
|
|
|
45
49
|
textLine,
|
|
46
50
|
toListedTool,
|
|
47
51
|
trimHosted
|
|
48
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-P75DPKOY.js";
|
|
49
53
|
export {
|
|
50
54
|
ConfigError,
|
|
51
55
|
DETAILS_RULES,
|
|
52
56
|
DETAILS_SAMPLES,
|
|
57
|
+
HOSTED_DROPPED_FIELDS,
|
|
58
|
+
HOSTED_DROPPED_META,
|
|
53
59
|
HOSTED_DROPPED_STAMPS,
|
|
54
60
|
HOSTED_INTERNAL_ID_PATHS,
|
|
55
61
|
HOSTED_KEPT_TIMES,
|
|
56
62
|
HOSTED_PUBLIC_ID_PATHS,
|
|
63
|
+
HOSTED_RENAMES,
|
|
57
64
|
HSTS_HEADER,
|
|
58
65
|
INSTRUCTIONS,
|
|
59
66
|
InputError,
|
|
@@ -65,6 +72,7 @@ export {
|
|
|
65
72
|
TOOLS_DOCUMENT_VERSION,
|
|
66
73
|
TOOLS_SDK_VERSION,
|
|
67
74
|
WEBSITE,
|
|
75
|
+
apiFieldsFor,
|
|
68
76
|
assertServable,
|
|
69
77
|
createApiClient,
|
|
70
78
|
createMcpServer,
|
package/dist/stdio.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniquedomains/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "MCP server to analyse any domain name in depth and find the right ones to buy: is a name taken, what nine registrars charge, what similar names sold for. A daily record of 37 million names. Runs with npx or hosted, no key.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Unique.domains (https://unique.domains)",
|