This document outlines the key features to test in the Domain Radar MCP and identifies any issues found during testing.
-
Domain Availability Checking
- Single domain check with TLD
- Multiple TLD check for a base domain name
- Error handling for API failures
-
Expiring Domains Search
- Retrieving all expiring domains
- Filtering by keyword
- Cache functionality
-
Expired Domains Search
- Retrieving all expired domains
- Filtering by keyword
- Cache functionality
-
Resource Endpoints
- Expiring domains resource endpoint
- Expired domains resource endpoint
To manually test the Domain Radar MCP, follow these steps:
-
Start the MCP server:
npm run build node dist/bin/cli.js
-
In a separate terminal, use one of these methods to test:
a. Using direct stdio:
cat test_output/check-domain-availability.json | node dist/bin/cli.jsb. Using the test script:
node test_output/run_tests.js
Input:
{
"jsonrpc": "2.0",
"method": "callTool",
"params": {
"name": "check-domain-availability",
"args": {
"domain": "example.com"
}
},
"id": 1
}Expected Output:
{
"jsonrpc": "2.0",
"result": {
"content": [
{
"type": "text",
"text": "❌ example.com is not available."
}
]
},
"id": 1
}Input:
{
"jsonrpc": "2.0",
"method": "callTool",
"params": {
"name": "search-expiring-domains",
"args": {}
},
"id": 2
}Expected Output:
{
"jsonrpc": "2.0",
"result": {
"content": [
{
"type": "text",
"text": "Domains expiring within 24 hours:\n\n• example-domain.com - Expires: 5/18/2023, 2:30:00 PM\n Estimated Value: $1500\n Est. Monthly Traffic: 2500\n Categories: business, technology\n\n..."
}
]
},
"id": 2
}- API Mocking: The current implementation uses placeholder API endpoints that need to be replaced with real domain information APIs.
- Error Handling: Some edge cases in API error handling could be improved.
- Cache Management: The cache expiration could be more sophisticated to refresh data in the background.
- Implement real API integrations with domain registrars and WHOIS services
- Add more sophisticated domain suggestion algorithms
- Improve cache management with background refreshing
- Add domain value estimation based on historical data
- Implement SSE transport support for better Claude Desktop integration
For testing with Claude Desktop:
-
Run the setup script:
npm run setup:claude
-
Follow the instructions to configure Claude Desktop with the Domain Radar MCP.
-
In Claude Desktop, verify that the tools appear and function correctly by testing commands:
check-domain-availability domain: "example.com"
If needed, you can test the performance of the MCP server with multiple concurrent requests using the provided test scripts. Note that the actual performance will depend on the underlying API services used for domain information.