@domainforagents/mcp
MCP server for DomainForAgents — register and manage internet domains as native AI agent tools.
What This Does
This MCP server lets any MCP-compatible AI agent (Claude, GPT, Gemini, etc.) discover and use DomainForAgents as a native tool. Agents can:
- Search domain availability with pricing
- Register domains with balance, card, or USDC payment
- Reserve domains with TTL-based soft holds
- Manage DNS records (A, AAAA, CNAME, MX, TXT, etc.)
- Set nameservers, renew domains, manage webhooks
- Check balance and get USDC deposit instructions
Quick Setup
Claude Desktop
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"domainforagents": {
"command": "npx",
"args": ["@domainforagents/mcp"],
"env": {
"DOMAINFORAGENTS_API_KEY": "your-api-key"
}
}
}
}
Claude Code
claude mcp add domainforagents -- npx @domainforagents/mcp
Then set the env var:
export DOMAINFORAGENTS_API_KEY="your-api-key"
Any MCP Client
npx @domainforagents/mcp
The server communicates over stdio using the MCP protocol.
Getting an API Key
No signup form needed. One curl command:
curl -X POST https://api.domainforagents.io/api/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"name": "my-agent"}'
Returns your api_key immediately.
Environment Variables
DOMAINFORAGENTS_API_KEY | Yes (for authenticated tools) | Your API key |
DOMAINFORAGENTS_API_URL | No | API base URL (default: https://api.domainforagents.io/api/v1) |
Available Tools
create_account | Create account, get API key (no auth needed) |
search_domains | Search domain availability and pricing |
register_domain | Register a domain |
reserve_domain | Soft-reserve with payment link |
list_domains | List your domains |
get_domain | Get domain details + DNS |
renew_domain | Renew a domain |
get_dns_records | List DNS records |
create_dns_record | Create a DNS record |
delete_dns_record | Delete a DNS record |
set_nameservers | Set custom nameservers |
get_balance | Check balance + transactions |
get_usdc_deposit_info | Get USDC deposit wallet address |
create_webhook | Subscribe to events |
list_webhooks | List webhook subscriptions |
Links