domain-search-mcp 1.1.4 → 1.2.0
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 +394 -1
- package/dist/registrars/godaddy-mcp.d.ts +22 -2
- package/dist/registrars/godaddy-mcp.d.ts.map +1 -1
- package/dist/registrars/godaddy-mcp.js +118 -0
- package/dist/registrars/godaddy-mcp.js.map +1 -1
- package/dist/registrars/index.d.ts +1 -1
- package/dist/registrars/index.d.ts.map +1 -1
- package/dist/registrars/index.js.map +1 -1
- package/dist/tools/suggest_domains_smart.d.ts +7 -2
- package/dist/tools/suggest_domains_smart.d.ts.map +1 -1
- package/dist/tools/suggest_domains_smart.js +171 -56
- package/dist/tools/suggest_domains_smart.js.map +1 -1
- package/package.json +1 -1
- package/src/registrars/godaddy-mcp.ts +152 -1
- package/src/registrars/index.ts +6 -1
- package/src/tools/suggest_domains_smart.ts +187 -59
package/README.md
CHANGED
|
@@ -89,6 +89,7 @@ nano .env
|
|
|
89
89
|
|-----------|----------|---------|-------|
|
|
90
90
|
| **Porkbun** | JSON | Free | Fast, includes WHOIS privacy |
|
|
91
91
|
| **Namecheap** | XML | Free | Requires IP whitelist |
|
|
92
|
+
| **GoDaddy** | MCP | Free | Via GoDaddy MCP server (no API key needed) |
|
|
92
93
|
|
|
93
94
|
### Fallback Protocols
|
|
94
95
|
|
|
@@ -257,6 +258,7 @@ AI-powered domain suggestions using semantic analysis:
|
|
|
257
258
|
```
|
|
258
259
|
|
|
259
260
|
**Features:**
|
|
261
|
+
- **Dual-Source Suggestions**: Combines semantic analysis + GoDaddy AI recommendations
|
|
260
262
|
- Understands natural language queries ("coffee shop in seattle")
|
|
261
263
|
- Auto-detects industry for contextual suggestions
|
|
262
264
|
- Generates portmanteau/blended names
|
|
@@ -404,7 +406,8 @@ domain-search-mcp/
|
|
|
404
406
|
│ ├── registrars/ # Registrar adapters
|
|
405
407
|
│ │ ├── base.ts
|
|
406
408
|
│ │ ├── porkbun.ts
|
|
407
|
-
│ │
|
|
409
|
+
│ │ ├── namecheap.ts
|
|
410
|
+
│ │ └── godaddy-mcp.ts # GoDaddy via MCP server
|
|
408
411
|
│ ├── fallbacks/ # RDAP and WHOIS fallbacks
|
|
409
412
|
│ │ ├── rdap.ts
|
|
410
413
|
│ │ └── whois.ts
|
|
@@ -451,6 +454,396 @@ The server provides user-friendly error messages with suggested actions:
|
|
|
451
454
|
| `NO_SOURCE_AVAILABLE` | All sources failed | Yes |
|
|
452
455
|
| `TIMEOUT` | Request timed out | Yes |
|
|
453
456
|
|
|
457
|
+
## Rate Limiting & Performance Optimization
|
|
458
|
+
|
|
459
|
+
### Understanding WHOIS/RDAP Rate Limits
|
|
460
|
+
|
|
461
|
+
When operating without API keys, Domain Search MCP uses WHOIS and RDAP protocols as fallbacks. These protocols have important rate limiting considerations:
|
|
462
|
+
|
|
463
|
+
| Protocol | Typical Rate Limit | Behavior When Exceeded |
|
|
464
|
+
|----------|-------------------|------------------------|
|
|
465
|
+
| **RDAP** | 10-50 req/min per TLD | Returns 429 or connection refused |
|
|
466
|
+
| **WHOIS** | 5-20 req/min per server | Connection timeout or ban |
|
|
467
|
+
|
|
468
|
+
### Automatic Rate Limit Handling
|
|
469
|
+
|
|
470
|
+
The server implements intelligent rate limit handling:
|
|
471
|
+
|
|
472
|
+
```typescript
|
|
473
|
+
// Built-in protections
|
|
474
|
+
{
|
|
475
|
+
// Automatic exponential backoff
|
|
476
|
+
retryStrategy: {
|
|
477
|
+
initialDelay: 1000, // Start with 1 second
|
|
478
|
+
maxDelay: 30000, // Cap at 30 seconds
|
|
479
|
+
backoffMultiplier: 2, // Double each retry
|
|
480
|
+
maxRetries: 3 // Give up after 3 attempts
|
|
481
|
+
},
|
|
482
|
+
|
|
483
|
+
// Per-source rate limiting
|
|
484
|
+
rateLimits: {
|
|
485
|
+
rdap: { requestsPerMinute: 30, burstLimit: 5 },
|
|
486
|
+
whois: { requestsPerMinute: 10, burstLimit: 3 }
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
### Strategies for High-Volume Searches
|
|
492
|
+
|
|
493
|
+
When performing bulk searches without API keys, use these optimization strategies:
|
|
494
|
+
|
|
495
|
+
#### 1. Use Caching Effectively
|
|
496
|
+
|
|
497
|
+
```typescript
|
|
498
|
+
// Results are cached automatically
|
|
499
|
+
// - Availability: 5 minutes (CACHE_TTL_AVAILABILITY)
|
|
500
|
+
// - Pricing: 1 hour (CACHE_TTL_PRICING)
|
|
501
|
+
// - TLD info: 24 hours
|
|
502
|
+
|
|
503
|
+
// Subsequent checks for the same domain are instant
|
|
504
|
+
const first = await searchDomain("example.com"); // API call
|
|
505
|
+
const second = await searchDomain("example.com"); // Cache hit (no API call)
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
#### 2. Batch Domains by TLD
|
|
509
|
+
|
|
510
|
+
```typescript
|
|
511
|
+
// GOOD: Group by TLD to minimize server switches
|
|
512
|
+
const comDomains = ["app1", "app2", "app3"];
|
|
513
|
+
const ioDomains = ["startup1", "startup2"];
|
|
514
|
+
|
|
515
|
+
await bulkSearch({ domains: comDomains, tld: "com" }); // One .com server
|
|
516
|
+
await bulkSearch({ domains: ioDomains, tld: "io" }); // One .io server
|
|
517
|
+
|
|
518
|
+
// BAD: Mixed TLDs cause more server connections
|
|
519
|
+
await Promise.all([
|
|
520
|
+
searchDomain("app1.com"),
|
|
521
|
+
searchDomain("startup1.io"),
|
|
522
|
+
searchDomain("app2.com"), // Back to .com server
|
|
523
|
+
]);
|
|
524
|
+
```
|
|
525
|
+
|
|
526
|
+
#### 3. Control Concurrency
|
|
527
|
+
|
|
528
|
+
```typescript
|
|
529
|
+
// bulk_search has built-in concurrency control
|
|
530
|
+
{
|
|
531
|
+
"domains": ["name1", "name2", ..., "name50"],
|
|
532
|
+
"tld": "com",
|
|
533
|
+
"concurrency": 5 // Process 5 at a time (default)
|
|
534
|
+
}
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
#### 4. Implement Request Queuing
|
|
538
|
+
|
|
539
|
+
For very high volumes, implement client-side queuing:
|
|
540
|
+
|
|
541
|
+
```typescript
|
|
542
|
+
// Example: Rate-limited queue for 100+ domains
|
|
543
|
+
async function queuedBulkSearch(domains: string[], tld: string) {
|
|
544
|
+
const BATCH_SIZE = 25;
|
|
545
|
+
const DELAY_BETWEEN_BATCHES = 5000; // 5 seconds
|
|
546
|
+
|
|
547
|
+
const results = [];
|
|
548
|
+
for (let i = 0; i < domains.length; i += BATCH_SIZE) {
|
|
549
|
+
const batch = domains.slice(i, i + BATCH_SIZE);
|
|
550
|
+
const batchResults = await bulkSearch({ domains: batch, tld });
|
|
551
|
+
results.push(...batchResults.results);
|
|
552
|
+
|
|
553
|
+
// Wait between batches to avoid rate limits
|
|
554
|
+
if (i + BATCH_SIZE < domains.length) {
|
|
555
|
+
await new Promise(r => setTimeout(r, DELAY_BETWEEN_BATCHES));
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
return results;
|
|
559
|
+
}
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
### Why API Keys Are Recommended
|
|
563
|
+
|
|
564
|
+
| Feature | Without API Keys | With API Keys | With GoDaddy MCP |
|
|
565
|
+
|---------|-----------------|---------------|------------------|
|
|
566
|
+
| Speed | 2-5 sec/domain | 100-200ms/domain | 200-500ms/domain |
|
|
567
|
+
| Rate Limits | Strict (10-50/min) | Generous (1000+/min) | Moderate |
|
|
568
|
+
| Pricing Data | Not available | Full pricing info | Full pricing info |
|
|
569
|
+
| Reliability | Varies by server | Consistent | Consistent |
|
|
570
|
+
| Bulk Operations | Limited to ~50/batch | Up to 100/batch | Supported |
|
|
571
|
+
| Setup Required | None | API key setup | MCP server only |
|
|
572
|
+
|
|
573
|
+
> **Tip**: GoDaddy MCP provides a middle ground - no API key needed but still gives pricing data!
|
|
574
|
+
|
|
575
|
+
### Handling Rate Limit Errors
|
|
576
|
+
|
|
577
|
+
```typescript
|
|
578
|
+
// The server returns structured errors for rate limits
|
|
579
|
+
{
|
|
580
|
+
"error": true,
|
|
581
|
+
"code": "RATE_LIMIT",
|
|
582
|
+
"message": "WHOIS rate limit exceeded for .com TLD",
|
|
583
|
+
"retryable": true,
|
|
584
|
+
"retryAfter": 30, // Seconds to wait
|
|
585
|
+
"suggestedAction": "Wait 30 seconds or use Porkbun API for faster results"
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
// Your code should handle these gracefully
|
|
589
|
+
try {
|
|
590
|
+
const result = await searchDomain("example.com");
|
|
591
|
+
} catch (error) {
|
|
592
|
+
if (error.code === "RATE_LIMIT" && error.retryable) {
|
|
593
|
+
await sleep(error.retryAfter * 1000);
|
|
594
|
+
return searchDomain("example.com"); // Retry
|
|
595
|
+
}
|
|
596
|
+
throw error;
|
|
597
|
+
}
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
## Workflow Examples
|
|
601
|
+
|
|
602
|
+
### Workflow 1: Domain Suggestion When Preferred Name is Taken
|
|
603
|
+
|
|
604
|
+
When a user's preferred domain is unavailable, use `suggest_domains` to find alternatives:
|
|
605
|
+
|
|
606
|
+
```typescript
|
|
607
|
+
// Step 1: Check if preferred domain is available
|
|
608
|
+
const preferred = await searchDomain({
|
|
609
|
+
domain_name: "techapp",
|
|
610
|
+
tlds: ["com"]
|
|
611
|
+
});
|
|
612
|
+
|
|
613
|
+
// Step 2: If taken, generate suggestions
|
|
614
|
+
if (!preferred.results[0].available) {
|
|
615
|
+
const suggestions = await suggestDomains({
|
|
616
|
+
base_name: "techapp",
|
|
617
|
+
tld: "com",
|
|
618
|
+
max_suggestions: 10,
|
|
619
|
+
variants: ["prefixes", "suffixes", "hyphen", "abbreviations"]
|
|
620
|
+
});
|
|
621
|
+
|
|
622
|
+
// Step 3: Present alternatives to user
|
|
623
|
+
console.log("techapp.com is taken. Available alternatives:");
|
|
624
|
+
suggestions.suggestions.forEach(s => {
|
|
625
|
+
console.log(` ${s.domain} - $${s.price_first_year}/year`);
|
|
626
|
+
});
|
|
627
|
+
|
|
628
|
+
// Output:
|
|
629
|
+
// techapp.com is taken. Available alternatives:
|
|
630
|
+
// gettechapp.com - $8.95/year
|
|
631
|
+
// techappnow.com - $8.95/year
|
|
632
|
+
// techapp-io.com - $8.95/year
|
|
633
|
+
// mytechapp.com - $8.95/year
|
|
634
|
+
}
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
### Workflow 2: Simultaneous Social Media Verification
|
|
638
|
+
|
|
639
|
+
Check username availability across multiple platforms at once:
|
|
640
|
+
|
|
641
|
+
```typescript
|
|
642
|
+
// Check if "myproject" is available on GitHub, Twitter, and Instagram
|
|
643
|
+
const socialCheck = await checkSocials({
|
|
644
|
+
name: "myproject",
|
|
645
|
+
platforms: ["github", "twitter", "instagram"]
|
|
646
|
+
});
|
|
647
|
+
|
|
648
|
+
// Handle results by confidence level
|
|
649
|
+
const highConfidence = socialCheck.results.filter(r => r.confidence === "high");
|
|
650
|
+
const mediumConfidence = socialCheck.results.filter(r => r.confidence === "medium");
|
|
651
|
+
const lowConfidence = socialCheck.results.filter(r => r.confidence === "low");
|
|
652
|
+
|
|
653
|
+
// Report findings
|
|
654
|
+
console.log("Verified available:", highConfidence.filter(r => r.available).map(r => r.platform));
|
|
655
|
+
console.log("Likely available:", mediumConfidence.filter(r => r.available).map(r => r.platform));
|
|
656
|
+
console.log("Check manually:", lowConfidence.map(r => r.platform));
|
|
657
|
+
|
|
658
|
+
// Output:
|
|
659
|
+
// Verified available: ["github"]
|
|
660
|
+
// Likely available: ["twitter"]
|
|
661
|
+
// Check manually: ["instagram"]
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
### Workflow 3: Complete Brand Validation Pipeline
|
|
665
|
+
|
|
666
|
+
Comprehensive brand name validation across domains and social media:
|
|
667
|
+
|
|
668
|
+
```typescript
|
|
669
|
+
async function validateBrandName(brandName: string) {
|
|
670
|
+
// Run domain and social checks in parallel
|
|
671
|
+
const [domainResults, socialResults] = await Promise.all([
|
|
672
|
+
searchDomain({
|
|
673
|
+
domain_name: brandName,
|
|
674
|
+
tlds: ["com", "io", "dev", "app"]
|
|
675
|
+
}),
|
|
676
|
+
checkSocials({
|
|
677
|
+
name: brandName,
|
|
678
|
+
platforms: ["github", "twitter", "instagram", "linkedin"]
|
|
679
|
+
})
|
|
680
|
+
]);
|
|
681
|
+
|
|
682
|
+
// Analyze domain availability
|
|
683
|
+
const availableDomains = domainResults.results.filter(r => r.available);
|
|
684
|
+
const bestDomain = availableDomains.sort((a, b) =>
|
|
685
|
+
a.price_first_year - b.price_first_year
|
|
686
|
+
)[0];
|
|
687
|
+
|
|
688
|
+
// Analyze social availability
|
|
689
|
+
const availableSocials = socialResults.results.filter(r =>
|
|
690
|
+
r.available && r.confidence !== "low"
|
|
691
|
+
);
|
|
692
|
+
|
|
693
|
+
// Calculate brand score
|
|
694
|
+
const domainScore = availableDomains.length / domainResults.results.length;
|
|
695
|
+
const socialScore = availableSocials.length / socialResults.results.length;
|
|
696
|
+
const overallScore = (domainScore + socialScore) / 2;
|
|
697
|
+
|
|
698
|
+
return {
|
|
699
|
+
brandName,
|
|
700
|
+
overallScore: Math.round(overallScore * 100),
|
|
701
|
+
domains: {
|
|
702
|
+
available: availableDomains.map(d => d.domain),
|
|
703
|
+
bestOption: bestDomain?.domain,
|
|
704
|
+
bestPrice: bestDomain?.price_first_year
|
|
705
|
+
},
|
|
706
|
+
socials: {
|
|
707
|
+
available: availableSocials.map(s => s.platform),
|
|
708
|
+
needsManualCheck: socialResults.results
|
|
709
|
+
.filter(r => r.confidence === "low")
|
|
710
|
+
.map(s => s.platform)
|
|
711
|
+
},
|
|
712
|
+
recommendation: overallScore > 0.7
|
|
713
|
+
? "Strong brand availability - proceed with registration"
|
|
714
|
+
: overallScore > 0.4
|
|
715
|
+
? "Partial availability - consider alternatives"
|
|
716
|
+
: "Limited availability - try a different name"
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
// Usage
|
|
721
|
+
const result = await validateBrandName("vibecoding");
|
|
722
|
+
// Output:
|
|
723
|
+
// {
|
|
724
|
+
// brandName: "vibecoding",
|
|
725
|
+
// overallScore: 85,
|
|
726
|
+
// domains: {
|
|
727
|
+
// available: ["vibecoding.com", "vibecoding.io", "vibecoding.dev"],
|
|
728
|
+
// bestOption: "vibecoding.com",
|
|
729
|
+
// bestPrice: 8.95
|
|
730
|
+
// },
|
|
731
|
+
// socials: {
|
|
732
|
+
// available: ["github", "twitter"],
|
|
733
|
+
// needsManualCheck: ["instagram", "linkedin"]
|
|
734
|
+
// },
|
|
735
|
+
// recommendation: "Strong brand availability - proceed with registration"
|
|
736
|
+
// }
|
|
737
|
+
```
|
|
738
|
+
|
|
739
|
+
### Workflow 4: Handling Partial Availability Scenarios
|
|
740
|
+
|
|
741
|
+
When some sources succeed and others fail:
|
|
742
|
+
|
|
743
|
+
```typescript
|
|
744
|
+
async function robustDomainSearch(domainName: string, tlds: string[]) {
|
|
745
|
+
const results = await searchDomain({ domain_name: domainName, tlds });
|
|
746
|
+
|
|
747
|
+
// Separate successful and failed checks
|
|
748
|
+
const successful = results.results.filter(r => !r.error);
|
|
749
|
+
const failed = results.results.filter(r => r.error);
|
|
750
|
+
|
|
751
|
+
// Handle partial failures
|
|
752
|
+
if (failed.length > 0) {
|
|
753
|
+
console.log(`Warning: ${failed.length} TLDs could not be checked:`);
|
|
754
|
+
failed.forEach(f => console.log(` ${f.domain}: ${f.error}`));
|
|
755
|
+
|
|
756
|
+
// Retry failed ones with exponential backoff
|
|
757
|
+
for (const failedResult of failed) {
|
|
758
|
+
const tld = failedResult.domain.split('.').pop();
|
|
759
|
+
let retryDelay = 1000;
|
|
760
|
+
|
|
761
|
+
for (let attempt = 1; attempt <= 3; attempt++) {
|
|
762
|
+
await new Promise(r => setTimeout(r, retryDelay));
|
|
763
|
+
try {
|
|
764
|
+
const retry = await searchDomain({
|
|
765
|
+
domain_name: domainName,
|
|
766
|
+
tlds: [tld]
|
|
767
|
+
});
|
|
768
|
+
if (!retry.results[0].error) {
|
|
769
|
+
successful.push(retry.results[0]);
|
|
770
|
+
break;
|
|
771
|
+
}
|
|
772
|
+
} catch (e) {
|
|
773
|
+
retryDelay *= 2; // Exponential backoff
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
return {
|
|
780
|
+
results: successful,
|
|
781
|
+
partialFailure: failed.length > 0,
|
|
782
|
+
failedTlds: failed.map(f => f.domain.split('.').pop())
|
|
783
|
+
};
|
|
784
|
+
}
|
|
785
|
+
```
|
|
786
|
+
|
|
787
|
+
### Workflow 5: Domain Research Pipeline
|
|
788
|
+
|
|
789
|
+
Comprehensive domain research combining multiple tools:
|
|
790
|
+
|
|
791
|
+
```typescript
|
|
792
|
+
async function domainResearchPipeline(businessIdea: string) {
|
|
793
|
+
// Step 1: Generate smart suggestions from business description
|
|
794
|
+
const suggestions = await suggestDomainsSmart({
|
|
795
|
+
query: businessIdea,
|
|
796
|
+
tld: "com",
|
|
797
|
+
style: "brandable",
|
|
798
|
+
max_suggestions: 15
|
|
799
|
+
});
|
|
800
|
+
|
|
801
|
+
// Step 2: Get TLD information for context
|
|
802
|
+
const tldInfo = await getTldInfo({ tld: "com", detailed: true });
|
|
803
|
+
|
|
804
|
+
// Step 3: For top suggestions, compare registrar pricing
|
|
805
|
+
const topDomains = suggestions.results.available.slice(0, 5);
|
|
806
|
+
const priceComparisons = await Promise.all(
|
|
807
|
+
topDomains.map(d => compareRegistrars({
|
|
808
|
+
domain: d.domain.replace('.com', ''),
|
|
809
|
+
tld: "com"
|
|
810
|
+
}))
|
|
811
|
+
);
|
|
812
|
+
|
|
813
|
+
// Step 4: Check social media for top picks
|
|
814
|
+
const socialChecks = await Promise.all(
|
|
815
|
+
topDomains.slice(0, 3).map(d => {
|
|
816
|
+
const name = d.domain.replace('.com', '');
|
|
817
|
+
return checkSocials({
|
|
818
|
+
name,
|
|
819
|
+
platforms: ["github", "twitter", "npm"]
|
|
820
|
+
});
|
|
821
|
+
})
|
|
822
|
+
);
|
|
823
|
+
|
|
824
|
+
// Compile research report
|
|
825
|
+
return {
|
|
826
|
+
businessIdea,
|
|
827
|
+
tldContext: {
|
|
828
|
+
description: tldInfo.description,
|
|
829
|
+
priceRange: tldInfo.price_range,
|
|
830
|
+
recommendation: tldInfo.recommendation
|
|
831
|
+
},
|
|
832
|
+
topRecommendations: topDomains.map((d, i) => ({
|
|
833
|
+
domain: d.domain,
|
|
834
|
+
price: d.price_first_year,
|
|
835
|
+
bestRegistrar: priceComparisons[i]?.best_first_year?.registrar,
|
|
836
|
+
socialAvailability: socialChecks[i]?.summary
|
|
837
|
+
})),
|
|
838
|
+
allSuggestions: suggestions.results.available,
|
|
839
|
+
relatedTerms: suggestions.related_terms
|
|
840
|
+
};
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
// Usage
|
|
844
|
+
const research = await domainResearchPipeline("ai-powered code review tool");
|
|
845
|
+
```
|
|
846
|
+
|
|
454
847
|
## Security
|
|
455
848
|
|
|
456
849
|
- API keys are never logged (automatic secret masking)
|
|
@@ -22,7 +22,16 @@ import type { DomainResult, TLDInfo } from '../types.js';
|
|
|
22
22
|
* Parse availability from GoDaddy MCP text response.
|
|
23
23
|
* The response is markdown-formatted text with different formats for single vs bulk queries.
|
|
24
24
|
*/
|
|
25
|
-
interface ParsedAvailability {
|
|
25
|
+
export interface ParsedAvailability {
|
|
26
|
+
available: boolean;
|
|
27
|
+
premium: boolean;
|
|
28
|
+
auction: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Parsed suggestion from GoDaddy's domains_suggest response.
|
|
32
|
+
*/
|
|
33
|
+
export interface GodaddySuggestion {
|
|
34
|
+
domain: string;
|
|
26
35
|
available: boolean;
|
|
27
36
|
premium: boolean;
|
|
28
37
|
auction: boolean;
|
|
@@ -54,6 +63,18 @@ export declare class GodaddyMcpAdapter extends RegistrarAdapter {
|
|
|
54
63
|
* Get TLD info - not supported by GoDaddy MCP.
|
|
55
64
|
*/
|
|
56
65
|
getTldInfo(_tld: string): Promise<TLDInfo | null>;
|
|
66
|
+
/**
|
|
67
|
+
* Get domain suggestions from GoDaddy MCP.
|
|
68
|
+
* Uses their domains_suggest tool for AI-powered suggestions.
|
|
69
|
+
*
|
|
70
|
+
* @param query - Keywords or business description (e.g., "sustainable fashion")
|
|
71
|
+
* @param options - Optional parameters for suggestion customization
|
|
72
|
+
* @returns Array of suggested domains with availability info
|
|
73
|
+
*/
|
|
74
|
+
suggestDomains(query: string, options?: {
|
|
75
|
+
tlds?: string[];
|
|
76
|
+
limit?: number;
|
|
77
|
+
}): Promise<GodaddySuggestion[]>;
|
|
57
78
|
/**
|
|
58
79
|
* Call a GoDaddy MCP tool via JSON-RPC.
|
|
59
80
|
*/
|
|
@@ -63,5 +84,4 @@ export declare class GodaddyMcpAdapter extends RegistrarAdapter {
|
|
|
63
84
|
* Singleton instance.
|
|
64
85
|
*/
|
|
65
86
|
export declare const godaddyMcpAdapter: GodaddyMcpAdapter;
|
|
66
|
-
export {};
|
|
67
87
|
//# sourceMappingURL=godaddy-mcp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"godaddy-mcp.d.ts","sourceRoot":"","sources":["../../src/registrars/godaddy-mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EAAE,gBAAgB,EAAe,MAAM,WAAW,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAiCzD;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"godaddy-mcp.d.ts","sourceRoot":"","sources":["../../src/registrars/godaddy-mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EAAE,gBAAgB,EAAe,MAAM,WAAW,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,OAA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oDaddy MCP domains_suggest response.
|
|
54
|
+
* Response format varies but typically includes categorized domain lists.
|
|
55
|
+
*/
|
|
56
|
+
function parseSuggestResponse(text) {
|
|
57
|
+
const suggestions = [];
|
|
58
|
+
const seenDomains = new Set();
|
|
59
|
+
// Helper to add a suggestion without duplicates
|
|
60
|
+
const addSuggestion = (domain, available, premium, auction) => {
|
|
61
|
+
const normalized = domain.toLowerCase().trim();
|
|
62
|
+
// Validate it looks like a domain (has at least one dot)
|
|
63
|
+
if (normalized.includes('.') && !seenDomains.has(normalized)) {
|
|
64
|
+
seenDomains.add(normalized);
|
|
65
|
+
suggestions.push({ domain: normalized, available, premium, auction });
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
// ==== SECTION-BASED PARSING ====
|
|
69
|
+
// GoDaddy groups suggestions by category with emojis
|
|
70
|
+
// ✅ Available/Standard domains
|
|
71
|
+
const availableMatch = text.match(/✅\s*\*\*(?:AVAILABLE|STANDARD)[^]*?(?=(?:💎|🔨|⚠️|❌|\*\*[A-Z])|$)/gi);
|
|
72
|
+
if (availableMatch) {
|
|
73
|
+
for (const section of availableMatch) {
|
|
74
|
+
// Extract domain names (word.tld format)
|
|
75
|
+
const domainMatches = section.match(/\b[a-z0-9][-a-z0-9]*\.[a-z]{2,}\b/gi);
|
|
76
|
+
if (domainMatches) {
|
|
77
|
+
for (const domain of domainMatches) {
|
|
78
|
+
addSuggestion(domain, true, false, false);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// 💎 Premium domains
|
|
84
|
+
const premiumMatch = text.match(/💎\s*\*\*PREMIUM[^]*?(?=(?:✅|🔨|⚠️|❌|\*\*[A-Z])|$)/gi);
|
|
85
|
+
if (premiumMatch) {
|
|
86
|
+
for (const section of premiumMatch) {
|
|
87
|
+
const domainMatches = section.match(/\b[a-z0-9][-a-z0-9]*\.[a-z]{2,}\b/gi);
|
|
88
|
+
if (domainMatches) {
|
|
89
|
+
for (const domain of domainMatches) {
|
|
90
|
+
addSuggestion(domain, true, true, false);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
// 🔨 Auction domains
|
|
96
|
+
const auctionMatch = text.match(/🔨\s*\*\*AUCTION[^]*?(?=(?:✅|💎|⚠️|❌|\*\*[A-Z])|$)/gi);
|
|
97
|
+
if (auctionMatch) {
|
|
98
|
+
for (const section of auctionMatch) {
|
|
99
|
+
const domainMatches = section.match(/\b[a-z0-9][-a-z0-9]*\.[a-z]{2,}\b/gi);
|
|
100
|
+
if (domainMatches) {
|
|
101
|
+
for (const domain of domainMatches) {
|
|
102
|
+
addSuggestion(domain, true, false, true);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
// ==== FALLBACK: Line-by-line extraction ====
|
|
108
|
+
// If section parsing didn't find much, try line-by-line
|
|
109
|
+
if (suggestions.length < 3) {
|
|
110
|
+
const lines = text.split('\n');
|
|
111
|
+
for (const line of lines) {
|
|
112
|
+
const lowerLine = line.toLowerCase();
|
|
113
|
+
// Skip header lines
|
|
114
|
+
if (lowerLine.includes('**') && !lowerLine.includes('.'))
|
|
115
|
+
continue;
|
|
116
|
+
// Extract any domain-like patterns
|
|
117
|
+
const domainMatches = line.match(/\b[a-z0-9][-a-z0-9]*\.[a-z]{2,}\b/gi);
|
|
118
|
+
if (domainMatches) {
|
|
119
|
+
for (const domain of domainMatches) {
|
|
120
|
+
// Determine type from context
|
|
121
|
+
const isPremium = lowerLine.includes('premium') || lowerLine.includes('💎');
|
|
122
|
+
const isAuction = lowerLine.includes('auction') || lowerLine.includes('🔨');
|
|
123
|
+
const isUnavailable = lowerLine.includes('❌') || lowerLine.includes('unavailable');
|
|
124
|
+
addSuggestion(domain, !isUnavailable, isPremium, isAuction);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return suggestions;
|
|
130
|
+
}
|
|
52
131
|
function parseAvailabilityResponse(text, domain) {
|
|
53
132
|
const normalizedDomain = domain.toLowerCase();
|
|
54
133
|
const normalizedText = text.toLowerCase();
|
|
@@ -220,6 +299,45 @@ class GodaddyMcpAdapter extends base_js_1.RegistrarAdapter {
|
|
|
220
299
|
async getTldInfo(_tld) {
|
|
221
300
|
return null;
|
|
222
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* Get domain suggestions from GoDaddy MCP.
|
|
304
|
+
* Uses their domains_suggest tool for AI-powered suggestions.
|
|
305
|
+
*
|
|
306
|
+
* @param query - Keywords or business description (e.g., "sustainable fashion")
|
|
307
|
+
* @param options - Optional parameters for suggestion customization
|
|
308
|
+
* @returns Array of suggested domains with availability info
|
|
309
|
+
*/
|
|
310
|
+
async suggestDomains(query, options = {}) {
|
|
311
|
+
const { tlds, limit = 50 } = options;
|
|
312
|
+
return this.retryWithBackoff(async () => {
|
|
313
|
+
// Build the query - GoDaddy accepts natural language
|
|
314
|
+
let fullQuery = query;
|
|
315
|
+
if (tlds && tlds.length > 0) {
|
|
316
|
+
fullQuery = `${query} (prefer .${tlds.join(', .')})`;
|
|
317
|
+
}
|
|
318
|
+
const text = await this.callMcpTool('domains_suggest', {
|
|
319
|
+
query: fullQuery,
|
|
320
|
+
});
|
|
321
|
+
logger_js_1.logger.debug('GoDaddy domains_suggest raw response', {
|
|
322
|
+
query: fullQuery,
|
|
323
|
+
response_length: text.length,
|
|
324
|
+
preview: text.substring(0, 500),
|
|
325
|
+
});
|
|
326
|
+
const suggestions = parseSuggestResponse(text);
|
|
327
|
+
// Filter by TLD if specified
|
|
328
|
+
let filtered = suggestions;
|
|
329
|
+
if (tlds && tlds.length > 0) {
|
|
330
|
+
const tldSet = new Set(tlds.map(t => t.toLowerCase()));
|
|
331
|
+
filtered = suggestions.filter(s => {
|
|
332
|
+
const parts = s.domain.split('.');
|
|
333
|
+
const tld = parts[parts.length - 1];
|
|
334
|
+
return tld && tldSet.has(tld);
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
// Limit results
|
|
338
|
+
return filtered.slice(0, limit);
|
|
339
|
+
}, `suggest domains for "${query}"`);
|
|
340
|
+
}
|
|
223
341
|
/**
|
|
224
342
|
* Call a GoDaddy MCP tool via JSON-RPC.
|
|
225
343
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"godaddy-mcp.js","sourceRoot":"","sources":["../../src/registrars/godaddy-mcp.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,6BAAwB;AACxB,uCAA0D;AAE1D,kDAA4C;AAC5C,kDAAuD;AAEvD;;GAEG;AACH,MAAM,oBAAoB,GAAG,wCAAwC,CAAC;AAEtE;;GAEG;AACH,IAAI,SAAS,GAAG,CAAC,CAAC;AAElB;;GAEG;AACH,MAAM,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACjC,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IACzB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC;YACxB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;YAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;SACjB,CAAC,CAAC;QACH,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KAChC,CAAC,CAAC,QAAQ,EAAE;IACb,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CAAC,QAAQ,EAAE;CACd,CAAC,CAAC;AAYH,SAAS,yBAAyB,CAAC,IAAY,EAAE,MAAc;IAC7D,MAAM,gBAAgB,GAAG,MAAM,CAAC,WAAW,EAAE,CAA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;CACF;AA7OD,8CA6OC;AAED;;GAEG;AACU,QAAA,iBAAiB,GAAG,IAAI,iBAAiB,EAAE,CAAC"}
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
export { RegistrarAdapter } from './base.js';
|
|
5
5
|
export { PorkbunAdapter, porkbunAdapter } from './porkbun.js';
|
|
6
6
|
export { NamecheapAdapter, namecheapAdapter } from './namecheap.js';
|
|
7
|
-
export { GodaddyMcpAdapter, godaddyMcpAdapter } from './godaddy-mcp.js';
|
|
7
|
+
export { GodaddyMcpAdapter, godaddyMcpAdapter, type GodaddySuggestion, type ParsedAvailability, } from './godaddy-mcp.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/registrars/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/registrars/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/registrars/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,qCAA6C;AAApC,2GAAA,gBAAgB,OAAA;AACzB,2CAA8D;AAArD,4GAAA,cAAc,OAAA;AAAE,4GAAA,cAAc,OAAA;AACvC,+CAAoE;AAA3D,gHAAA,gBAAgB,OAAA;AAAE,gHAAA,gBAAgB,OAAA;AAC3C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/registrars/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,qCAA6C;AAApC,2GAAA,gBAAgB,OAAA;AACzB,2CAA8D;AAArD,4GAAA,cAAc,OAAA;AAAE,4GAAA,cAAc,OAAA;AACvC,+CAAoE;AAA3D,gHAAA,gBAAgB,OAAA;AAAE,gHAAA,gBAAgB,OAAA;AAC3C,mDAK0B;AAJxB,mHAAA,iBAAiB,OAAA;AACjB,mHAAA,iBAAiB,OAAA"}
|