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 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| manageProfilesA | Manage NextDNS profiles. NextDNS profiles are named configurations that contain DNS settings, blocklists,
analytics, and logs. Most other tools require a Operations:
- Examples:
- list: |
| manageSettings | Manage a settings category for a NextDNS profile. Settings categories:
- Operations:
- The Examples:
- get: |
| manageListsA | Manage allow/deny/block lists for a NextDNS profile. List types:
- Operations:
- Examples:
- get: |
| manageRewritesA | Manage DNS rewrite entries for a NextDNS profile. Rewrites let you return a custom answer for a hostname. Typical uses:
Operations:
- Examples:
- list: |
| manageLogsA | Manage query logs for a NextDNS profile. Operations:
- Time values can be Unix timestamps or relative strings like Examples:
- get recent: |
| queryAnalyticsA | Query NextDNS analytics metrics. Metrics:
- Set Optional filters:
- Examples:
- totals: |
| plotAnalyticsB | 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 Examples:
- Returns: An MCP ImageContent PNG chart, or an error dict if data is unavailable. |
| dohLookup | 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 |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dmeiser/nextdns-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server