vultr-dns-mcp

vultr-dns-mcp

Enables management of Vultr DNS records through natural language with AI assistants or direct Python integration.

Category
访问服务器

README

🌐 Vultr DNS MCP

<div align="center">

PyPI version Python Support License: MIT Tests

A comprehensive Model Context Protocol (MCP) server for managing Vultr DNS records with AI assistants and direct Python integration

InstallationQuick StartFeaturesDocumentationContributing

</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


🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Quick Contribution Setup

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Test your changes (pytest)
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


🆘 Support


🙏 Acknowledgments


<div align="center">

⬆ Back to Top

Made with ❤️ by rsp2k

</div>

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选