Pdns Server
FreeNot checkedMCP server for managing PowerDNS DNS records through the PowerDNS-Admin API. Supports listing zones, getting zone details, and creating, updating, deleting DNS
About
MCP server for managing PowerDNS DNS records through the PowerDNS-Admin API. Supports listing zones, getting zone details, and creating, updating, deleting DNS records.
README
MCP-сервер для управления DNS записями PowerDNS через API PowerDNS-Admin.
Архитектура
src/pdns_mcp_server/
config.py — PdnsConfig: чтение конфигурации из переменных окружения
client.py — PdnsClient: async HTTP-клиент для PowerDNS-Admin API
tools.py — create_app(): регистрация MCP инструментов
main.py — точка входа, запуск streamable-http сервера
tests/
test_config.py — тесты конфигурации
test_client.py — тесты API-клиента (respx моки)
test_tools.py — тесты MCP инструментов
test_main.py — тесты точки входа
Конфигурация
| Переменная | Обязательно | По умолчанию | Описание |
|---|---|---|---|
PDNS_ADMIN_URL |
Да | — | URL PowerDNS-Admin (например http://pda.example.com:9191) |
PDNS_API_KEY |
Да | — | API-ключ для X-API-Key аутентификации |
PDNS_SERVER_ID |
Нет | localhost |
ID сервера PowerDNS |
PDNS_PORT |
Нет | 8000 |
Порт MCP сервера |
Инструменты MCP
| Инструмент | Описание |
|---|---|
list_zones |
Список всех DNS зон |
get_zone |
Детали зоны с записями |
create_record |
Создать/заменить RRset в зоне |
update_record |
Обновить содержимое записи |
delete_record |
Удалить RRset |
Подробные параметры и примеры — в docs/usage.md.
Запуск
export PDNS_ADMIN_URL=http://pda.example.com:9191
export PDNS_API_KEY=your-api-key-here
uv run pdns-mcp-server
Сервер будет доступен на http://0.0.0.0:8000 (streamable-http транспорт).
Docker
export PDNS_ADMIN_URL=http://pda.example.com:9191
export PDNS_API_KEY=your-api-key-here
docker compose up
Тестирование
uv run pytest -v
Все тесты используют respx для мокирования HTTP-вызовов — не требуют реального PowerDNS.
Installing Pdns Server
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/bblrlo/pdns-mcp-serverFAQ
Is Pdns Server MCP free?
Yes, Pdns Server MCP is free — one-click install via Unyly at no cost.
Does Pdns Server need an API key?
No, Pdns Server runs without API keys or environment variables.
Is Pdns Server hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Pdns Server in Claude Desktop, Claude Code or Cursor?
Open Pdns Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Pdns Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
