Deploy NextDNS Agent MCP
Your NextDNS account inside Claude, ChatGPT and any AI app
nextdns-agent-mcp
Just deployed
/data
Deploy and Host NextDNS Agent MCP on Railway
NextDNS Agent MCP puts your NextDNS account inside Claude, ChatGPT, Codex, Cursor and any other AI app that speaks MCP. Ask in plain words what got blocked and why, add blocklists, set parental control and recreation time, or back up a profile. Every change can be undone, and deleting asks you twice.
Not made by or affiliated with NextDNS. It uses the public NextDNS API with your own API key.
About Hosting NextDNS Agent MCP
This template runs the ready-made image from GitHub, so there is nothing to build. You type one passphrase when you deploy. Railway makes the secret key, the public address and a disk at /data for the saved API key, logins, the change log and backups. When it turns green, open https://your-address/settings, sign in with your passphrase and paste your NextDNS API key (bottom of my.nextdns.io/account). Choose what the AI may do with each profile. Then add https://your-address/mcp to your AI app as a connector.
Common Use Cases
- Ask "what got blocked on my phone today, and why?" and get a chart
- Find out why a site or game doesn't load, and allow it only on weekends
- Manage blocklists, security and parental control for the whole family from one chat
Dependencies for NextDNS Agent MCP Hosting
- A NextDNS account and its API key
- An AI app that supports remote MCP connectors, like Claude or ChatGPT
Implementation Details
Source code, guides and the full list of tools: https://github.com/s17sh70x2jfl031ag/NextDNS-Agent-MCP
Why Deploy NextDNS Agent MCP on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying NextDNS Agent MCP on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
nextdns-agent-mcp
ghcr.io/s17sh70x2jfl031ag/nextdns-agent-mcp:latestLOGIN_PASSPHRASE
Make up a passphrase, 6 or more characters. It locks the settings page (where you paste your NextDNS API key) and the login AI apps use. Save it in your password manager.
