dmeiser/nextdns-mcp

By dmeiser

Updated about 17 hours ago

A Model Context Protocol (MCP) server for the NextDNS API

Image
Networking
Security
Machine learning & AI
1

10K+

dmeiser/nextdns-mcp repository overview

NextDNS MCP Server

A Model Context Protocol (MCP) server for the NextDNS API, built with FastMCP and generated from OpenAPI specifications. Exposes 70+ NextDNS operations as MCP tools for AI assistants and other MCP clients.

Image variants

  • latest, <version>, <major>, <major>.<minor> — Default Debian slim-based image (python:3.14-slim). Recommended for most users.
  • alpine, <version>-alpine, <major>-alpine, <major>.<minor>-alpine — Alpine Linux-based image for smaller footprint and different security posture.

Both variants are multi-platform (linux/amd64, linux/arm64) and include OCI labels for the Docker MCP Gateway.

Quick start

docker run -i --rm \
  -e NEXTDNS_API_KEY=your_api_key_here \
  -e NEXTDNS_DEFAULT_PROFILE=your_profile_id \
  ghcr.io/dmeiser/nextdns-mcp:latest

Features

  • Profile management (create, read, update, delete)
  • Fine-grained read/write profile access control with read-only mode
  • DNS, security, privacy, parental control, and analytics tools
  • Denylist/allowlist management
  • DoH lookup testing
  • Query logs retrieval and clearing
  • OpenAPI-generated from nextdns-openapi.yaml

Configuration

VariableDescription
NEXTDNS_API_KEYRequired. Your NextDNS API key
NEXTDNS_DEFAULT_PROFILEOptional default profile ID
NEXTDNS_READABLE_PROFILESComma-separated list of profiles readable by the server
NEXTDNS_WRITABLE_PROFILESComma-separated list of profiles writable by the server
NEXTDNS_READ_ONLYSet to true to disable all write operations

Documentation

Tag summary

Content type

Image

Digest

sha256:164fc8e1f

Size

96 MB

Last updated

about 17 hours ago

docker pull dmeiser/nextdns-mcp:8c1be1e