0

API or MCP support for managing NextDNS configurations and automations?

Hi,

I’m looking for a way to manage NextDNS configurations programmatically and automate some maintenance tasks.

Does NextDNS currently provide an official API that allows users to read and modify configuration settings? Also, is there any official or community-supported MCP (Model Context Protocol) server for NextDNS?

Some of the use cases I have in mind are:

  • Managing allowlists and denylists programmatically.
  • Adding or removing domains from a specific configuration.
  • Synchronizing local DNS/domain list files with NextDNS.
  • Keeping several NextDNS configurations synchronized.
  • Automatically importing internally maintained domain lists.
  • Applying configuration changes from scripts, CI/CD pipelines, or infrastructure automation.
  • Querying configuration information and analytics programmatically.
  • Integrating NextDNS management with AI agents through MCP.

For example, I would like to maintain something like a local domains.txt or generated DNS list in Git and periodically synchronize its contents with a NextDNS configuration, rather than manually updating the list through the web interface.

If an API already exists, is there official documentation covering authentication and configuration management endpoints?

And regarding MCP, if there is no official implementation, is there an existing community project or recommended approach for building an MCP server on top of the NextDNS API?

I think this could be particularly useful for people managing homelabs, multiple networks/configurations, GitOps-style infrastructure, or dynamically generated DNS policies.

Thanks!

Reply

null

Content aside

  • 4 hrs agoLast active
  • 3Views
  • 1 Following