Nextdns

Nextdns

NextDNS is a DNS service that enhances internet security and privacy by blocking malicious websites, tracking scripts, and ads before they reach your device.

55VIEWS
2673USERS

Install MCP Server

Paste and run this command in your terminal to set up Cursor with MCP

npx @composio/cli add cursor --app nextdnsnpx @composio/cli add cursor --app nextdnsnpx @composio/cli add cursor --app nextdnsnpx @composio/cli add cursor --app nextdns

After running the command, restart Cursor to start using the MCP Server.

Available Tools

Add Blocked Tld

Tool to add a top-level domain to the security blocklist for a nextdns profile. use after listing current security settings to ensure the tld is not already blocked.

Add Denylist Domain

Tool to add a domain to the denylist of a nextdns profile. use when blocking specific domains under a profile after obtaining its id.

Toggle Block Page

Tool to enable or disable block page for a configuration. use when you need to toggle whether dns blocks show a block page.

Clear Logs

Tool to clear dns logs for a nextdns profile. use when you want to remove all existing query logs for a given profile. note: this operation cannot be undone.

Create Profile

This tool allows users to create a new nextdns profile. it uses the post method at the endpoint https://api.nextdns.io/profiles. a profile is a distinct configuration set for dns filtering and security settings.

Delete Nextdns Configuration

Tool to delete a nextdns configuration profile. use when you need to remove an existing profile by its id. use after confirming the profile exists.

Download Logs

Tool to download dns logs for a profile. use when you need the url of the exported logs. use after confirming the profile id is valid. supports getting a redirect url or json.

Get Analytics Devices

Tool to retrieve analytics aggregated by devices. use when you need per-device query metrics within a specific time frame.

Get Analytics Domains

Tool to retrieve analytics data for domains within a specific profile. use after confirming the profile id to get per-domain query stats.

Get Analytics Ips

Tool to retrieve analytics aggregated by client ip addresses. use when you need to analyze dns query distribution per client ip for a given profile.

Get Analytics Ip Versions

Tool to retrieve analytics grouped by ip version within a specific profile. use after you have a profile id to see ipv4 vs ipv6 query counts.

Get Analytics Query Types

Tool to retrieve dns query counts broken down by query type. use after selecting a profile and specifying date filters to analyze distribution by type.

Get Analytics Reasons

Tool to retrieve dns query counts broken down by classification reason. use after selecting a profile and specifying date filters to analyze reason distribution.

Get Analytics Status

Tool to retrieve analytics status for a specific profile. use when you need counts of dns queries broken down by status categories.

Get Logs

Tool to retrieve logs for a specific nextdns profile with optional filters. use after confirming the profile id to fetch raw or filtered dns logs.

Get Profile Details

Retrieves the details of a specific nextdns profile. it requires a 'profileid' as a path parameter and returns the profile details including name, security, privacy, parental control, denylist, allowlist, and general settings.

Get Setup Info

Tool to get setup information for a provided configuration (profile). use after obtaining a profile id to fetch its current settings.

List Configurations

Tool to list all configurations (profiles) available on the nextdns account. use after authenticating to page through profiles.

List Denylist Domains

Tool to list domains in the denylist for a profile. use after confirming the profile id to review all blocked domains. example: "list denylist domains for profile abc123."

List Security Settings

Tool to list current security options for a nextdns configuration. use after obtaining the configuration id to review active security settings.

20 actions available