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.
NextDNS MCP server
This server exposes the NextDNS API as one tool per endpoint. A tool is
named for the API operation it performs (getAllowlist, addToDenylist,
getAnalyticsDevices) and takes that endpoint's own arguments: profile_id
plus the path, query and body fields the endpoint documents. The name says
what the call does, so there is no operation to choose.
Composite visual tools (
overviewDashboard,plotAnalytics) render interactive charts, tables, and dashboards directly in the client interface;dohLookupresolves a name through a profile's DNS-over-HTTPS resolver.A failed call returns a JSON payload with an error
code, plus ahintwhenever the server can say what to send instead.This server does not advertise tool names.
search_toolsmatches the words of a task to the tools that fit it and returns their exact names and schemas;call_toolruns one of those by that exact name.
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 |
|---|---|
| search_toolsA | Search this server's tools with the words of the task. Takes one argument object, {"query": ""}. The answer is an
array of the matching tools in rank order, each an object with its exact |
| call_toolA | Run one of this server's tools by the exact name returned by search_tools. Takes exactly one argument object, {"name": "", "arguments": {<that tool's
parameters>}}; the name and the arguments are not two separate inputs. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
search_tools and call_tool have clearly distinct purposes: discovery vs. execution. An agent can easily tell which one to use for a given step.
Both names follow a consistent snake_case verb_noun pattern. The convention is predictable and readable.
Two tools is below the typical 3-15 range, but it is exactly the minimal surface needed for a search-and-call gateway. Each tool earns its place with no bloat.
The pair covers discovery and execution of all underlying tools, which is the core lifecycle for this meta-server. Minor gaps include no explicit list-all operation and limited introspection outside search results.