vultr-dns-mcp
Enables management of Vultr DNS records through natural language with AI assistants or direct Python integration.
README
๐ Vultr DNS MCP
<div align="center">
A comprehensive Model Context Protocol (MCP) server for managing Vultr DNS records with AI assistants and direct Python integration
Installation โข Quick Start โข Features โข Documentation โข Contributing
</div>
โจ Features
<table> <tr> <td width="50%">
๐ค AI Assistant Integration
- MCP Server - Full Model Context Protocol support
- Claude Integration - Direct integration with Claude AI
- Natural Language - Understand complex DNS requests
- Smart Validation - Built-in DNS record validation
</td> <td width="50%">
๐ Python Developer Tools
- Client Library - Direct Python API for DNS operations
- CLI Tool - Command-line interface for DNS management
- Async Support - Full async/await compatibility
- Type Safety - Complete type hints and validation
</td> </tr> <tr> <td width="50%">
๐ Complete DNS Management
- All Record Types - A, AAAA, CNAME, MX, TXT, NS, SRV
- Domain Operations - Create, update, delete domains
- Bulk Operations - Efficient batch processing
- TTL Management - Flexible time-to-live settings
</td> <td width="50%">
๐ Advanced Features
- Configuration Analysis - Analyze DNS setup with recommendations
- Best Practices - Built-in DNS validation and suggestions
- Error Handling - Comprehensive error management
- Monitoring - Track DNS changes and performance
</td> </tr> </table>
๐ Quick Start
Get Your API Key
Get your Vultr API key from the Vultr Control Panel.
export VULTR_API_KEY="your_vultr_api_key_here"
๐ค AI Assistant Integration
Claude Integration
Add to your ~/.config/Claude/claude_desktop_config.json:
{
"mcpServers": {
"vultr-dns": {
"command": "uvx",
"args": ["vultr-dns-mcp"],
"env": {
"VULTR_API_KEY": "your_vultr_api_key_here"
}
}
}
}
๐ ๏ธ CLI Usage
The package includes a comprehensive CLI for all DNS operations:
# List domains
vultr-dns-mcp domains list
# Get domain information
vultr-dns-mcp domains info example.com
# Create a new domain
vultr-dns-mcp domains create example.com 192.168.1.100
# List DNS records
vultr-dns-mcp records list example.com
# Add DNS records
vultr-dns-mcp records add example.com A www 192.168.1.100
vultr-dns-mcp records add example.com MX @ mail.example.com --priority 10
# Set up a website
vultr-dns-mcp setup-website example.com 192.168.1.100
# Set up email
vultr-dns-mcp setup-email example.com mail.example.com
Available MCP Tools
The server provides comprehensive MCP resources and tools that any MCP-compatible client can discover and use:
| Tool | Description | Example Usage |
|---|---|---|
list_dns_domains() |
List all domains | "Show me all my domains" |
get_dns_domain(domain) |
Get domain details | "Get info for example.com" |
create_dns_domain(domain, ip) |
Create domain | "Create domain newsite.com" |
delete_dns_domain(domain) |
Delete domain | "Remove old.example.com" |
list_dns_records(domain) |
List records | "Show DNS records for mysite.com" |
create_dns_record(...) |
Create record | "Add A record for www" |
update_dns_record(...) |
Update record | "Change the IP for www" |
delete_dns_record(domain, record_id) |
Delete record | "Remove the CNAME record" |
validate_dns_record(...) |
Validate record | "Check this MX record" |
analyze_dns_records(domain) |
Analyze configuration | "Analyze DNS setup for mysite.com" |
๐ Supported DNS Record Types
| Type | Description | Example |
|---|---|---|
| A | IPv4 address | 192.168.1.100 |
| AAAA | IPv6 address | 2001:db8::1 |
| CNAME | Domain alias | example.com |
| MX | Mail server | mail.example.com (requires priority) |
| TXT | Text data | v=spf1 include:_spf.google.com ~all |
| NS | Name server | ns1.example.com |
| SRV | Service record | 0 5 443 example.com (requires priority) |
๐งช Development
Setup
# Clone the repository
git clone https://github.com/rsp2k/vultr-dns-mcp.git
cd vultr-dns-mcp
# Install development dependencies
pip install -e .[dev]
Running Tests
# Run all tests
pytest
# Run with coverage
pytest --cov=vultr_dns_mcp
# Run specific test file
pytest tests/test_server.py -v
Code Quality
# format
black check --diff
# lint
ruff check src/
# Type checking TODO
# mypy src
๐ Documentation
- API Documentation - Complete API reference
- MCP Protocol Guide - Understanding MCP
- Vultr API Docs - Vultr DNS API reference
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
Quick Contribution Setup
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Test your changes (
pytest) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: Support Email
๐ Acknowledgments
- Vultr for providing an excellent DNS API
- Anthropic for the Model Context Protocol
- FastMCP for MCP framework inspiration
- All our contributors
<div align="center">
Made with โค๏ธ by rsp2k
</div>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.