---
title: "Deploy NextDNS Agent MCP"
description: "Your NextDNS account inside Claude, ChatGPT and any AI app"
category: "AI/ML"
url: https://railway.com/deploy/nextdns-agent-mcp
---

# Deploy NextDNS Agent MCP

Your NextDNS account inside Claude, ChatGPT and any AI app

**[Deploy NextDNS Agent MCP on Railway](https://railway.com/template/nextdns-agent-mcp)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/nextdns-agent-mcp/manifest.json

- **Creator:** s17sh70x2jfl031ag
- **Category:** AI/ML

## Template content

### nextdns-agent-mcp

- **Image:** ghcr.io/s17sh70x2jfl031ag/nextdns-agent-mcp:latest
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# 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.

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/nextdns-agent-mcp
