nextdns-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NEXTDNS_API_KEY | No | Your NextDNS API key | |
| NEXTDNS_READ_ONLY | No | Set to 'true' to enable read-only mode | |
| NEXTDNS_API_KEY_FILE | No | Path to a file containing the API key | |
| NEXTDNS_TEST_PROFILE | No | Profile ID for write operation tests | |
| NEXTDNS_DEFAULT_PROFILE | No | Optional default profile ID | |
| NEXTDNS_READABLE_PROFILES | No | Comma-separated list of readable profiles | |
| NEXTDNS_WRITABLE_PROFILES | No | Comma-separated list of writable profiles |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| manageProfilesC | Manage NextDNS profiles. NextDNS profiles are named configurations that contain DNS settings, blocklists,
analytics, and logs. Most other tools require a |
| manageSettingsC | Manage a settings category for a NextDNS profile. |
| manageListsC | Manage allow/deny/block lists for a NextDNS profile. |
| manageRewritesC | Manage DNS rewrite entries for a NextDNS profile. Rewrites let you return a custom answer for a hostname. Typical uses:
|
| manageLogsC | Manage query logs for a NextDNS profile. |
| queryAnalyticsD | Query NextDNS analytics metrics. |
| plotAnalyticsA | Generate a PNG line chart for a NextDNS analytics time-series metric. Use this to visualize query trends over time. The profile should have recent query history; otherwise the tool returns an error explaining that no data is available. Supported metrics: Time values can be Unix timestamps or relative strings like The
|
| dohLookupC | Perform a DNS-over-HTTPS lookup using a NextDNS profile. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| nextdns-usage-guide | Comprehensive guide for using the NextDNS MCP server tools |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| nextdns-usage-guide | Comprehensive guide for using the NextDNS MCP server tools |
TDQS
Scored across 8 tools
Each of the five manage* tools targets a clearly distinct NextDNS resource (profiles, lists, settings, rewrites, logs), so misselection is unlikely. The only pair with potential overlap is queryAnalytics vs plotAnalytics, but the descriptions clearly separate raw metrics from chart rendering, and dohLookup is unique.
Five tools follow a uniform snake_case-ish camelCase 'manage<Resource>' pattern, and queryAnalytics/plotAnalytics are consistent verb+noun camelCase. The only deviation is dohLookup, which puts the noun (DoH) before the verb, and the generic 'manage' verb hides which sub-operations are supported.
Eight tools is well within the sweet spot and each maps to a real NextDNS capability area. Nothing appears redundant or missing at the count level; the analytics surface is split into query and plot, which is justified by distinct outputs (JSON metrics vs PNG).
The surface covers profiles, lists, settings, rewrites, logs, DoH resolution, and analytics query/visualization, which is essentially the whole NextDNS feature set. Minor gaps exist around account/API-key-level operations and configuration export/import, but core lifecycle coverage per resource is present.