NS1 Connect MCP by usefulapi
v1.27.5Read NS1 zones, records, monitors, data feeds and usage; create or update one DNS record.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ns1_list_zones List zones
List the DNS zones in the account: name, id, TTL/SOA settings, primary/secondary setup, linked zones and tags. If next_page is not null, call again with its after/offset to get more. GET /v1/zones.
| Parameter | Type | Description |
|---|---|---|
after | string | Continue after this item: pass next_page.after from the previous reply. |
limit | integer | Maximum items per page, 1-1000. Omit for NS1's default page size. |
offset | integer | Skip this many items: pass next_page.offset from the previous reply. |
ns1_get_zone Get zone
One zone with its settings and its record list (each record: domain, type, TTL, short answers, linked/tier info). Large zones are paged: if next_page is not null, call again with its after/offset to get the next records. TSIG secrets are redacted. GET /v1/zones/{zone}.
| Parameter | Type | Description |
|---|---|---|
zone * | string | Zone name, e.g. example.com. |
after | string | Continue after this item: pass next_page.after from the previous reply. |
limit | integer | Maximum items per page, 1-1000. Omit for NS1's default page size. |
offset | integer | Skip this many items: pass next_page.offset from the previous reply. |
ns1_get_record Get record
One DNS record by zone, domain and type: TTL, answers (with per-answer metadata), filter chain (traffic steering), linked record and region settings. GET /v1/zones/{zone}/{domain}/{type}.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Full record name inside the zone, e.g. www.example.com (or the zone name itself for the apex). |
type * | string | Record type, e.g. A, AAAA, CNAME, MX, TXT. |
zone * | string | Zone name, e.g. example.com. |
ns1_search Search zones and records
Search the account's zones and records by name (substring match). Returns matching zones and/or records with their answers when expand is true. Returns at most 25 results unless max is given (up to 1000); raise max for more. GET /v1/search.
| Parameter | Type | Description |
|---|---|---|
query * | string | Text to look for in zone and record names (at least 2 characters). |
expand | boolean | Include full record details (default true). |
max | integer | Maximum results, 1-1000 (default 25). |
type | string | What to search (default all). |
ns1_list_monitoring_jobs List monitoring jobs
List the account's NS1 monitoring jobs (health checks that feed traffic steering): id, name, type, regions, frequency, rules, current status, active flag and notify list id. Request header values and credentials are redacted. GET /v1/monitoring/jobs.
ns1_get_monitoring_job Get monitoring job
One monitoring job by id with its configuration, rules, regions and status. Header values and credentials are redacted. GET /v1/monitoring/jobs/{id}.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Monitoring job id (from ns1_list_monitoring_jobs). |
ns1_list_notify_lists List notifier lists
List the notifier lists that monitoring alerts are sent to: id, name and the notifier types and labels (email, Slack, PagerDuty, webhook). Notifier settings (webhook URLs, tokens, service keys, addresses) are redacted. GET /v1/lists.
ns1_list_data_sources List data sources
List the data sources (connections to third-party monitoring or custom push sources used for traffic steering): id, name, source type, status and their feeds. Connection settings and credentials are redacted. GET /v1/data/sources.
ns1_get_data_source Get data source
One data source by id with its feeds. Connection settings and credentials are redacted. GET /v1/data/sources/{id}.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | Data source id (from ns1_list_data_sources). |
ns1_list_data_feeds List data feeds of a source
List the feeds of one data source (each feed is one monitored item, e.g. one server's health) with id, name and settings. GET /v1/data/feeds/{source_id}.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | Data source id. |
ns1_get_data_feed Get data feed
One data feed of a source by id. GET /v1/data/feeds/{source_id}/{feed_id}.
| Parameter | Type | Description |
|---|---|---|
feed_id * | string | Data feed id. |
source_id * | string | Data source id. |
ns1_get_account_summary Get account summary
The account's subscription, resources and utilization (queries, records, filter chains, monitors, ... against the plan limits). GET /v1/account/summary.
ns1_get_usage_stats Get query usage statistics
DNS query counts for the whole account, one zone, or one record (give zone, or zone + domain + type). period is 1h, 24h or 30d; aggregate, expand, limit and after apply to the account and zone levels only (a record takes just period). If next_page is not null, call again with its after/limit. GET /v1/stats/usage[/{zone}[/{domain}/{type}]].
| Parameter | Type | Description |
|---|---|---|
after | string | Continue after this item: pass next_page.after from the previous reply. |
aggregate | boolean | Sum the counts over the period. |
domain | string | Full record name inside the zone, e.g. www.example.com (or the zone name itself for the apex). |
expand | boolean | Break the counts down further. Account and zone level only. |
limit | integer | Maximum items per page, 1-1000. Omit for NS1's default page size. |
period | string | Time window: 1h, 24h or 30d. Omit for the API default. |
type | string | Record type, e.g. A, AAAA, CNAME, MX, TXT. |
zone | string | Zone name, e.g. example.com. |
ns1_get_qps_stats Get queries per second
Current queries per second for the whole account, one zone, or one record (give zone, or zone + domain + type). GET /v1/stats/qps[/{zone}[/{domain}/{type}]].
| Parameter | Type | Description |
|---|---|---|
domain | string | Full record name inside the zone, e.g. www.example.com (or the zone name itself for the apex). |
type | string | Record type, e.g. A, AAAA, CNAME, MX, TXT. |
zone | string | Zone name, e.g. example.com. |
ns1_get_billing_records Get records usage (billing)
How many DNS records the account uses against its plan limit in the current billing cycle. GET /billing-usage/v1/records.
ns1_get_billing_queries Get query usage (billing)
Billable DNS query usage between two Unix timestamps. GET /billing-usage/v1/queries?from=&to=.
| Parameter | Type | Description |
|---|---|---|
from * | integer | Start, Unix seconds. |
to * | integer | End, Unix seconds. |
ns1_create_record Create DNS record
WRITE: creates ONE new DNS record and CHANGES LIVE DNS for that name as soon as NS1 serves it; a wrong answer can take a site or mail offline. Plain records only (A, AAAA, ALIAS, CAA, CNAME, MX, PTR, SRV, TXT; no NS/SOA, no traffic-steering filters or metadata). Refuses when the record already exists (use ns1_update_record). Answers are lists of rdata fields: A ["192.0.2.10"], MX [10, "mail.example.com."], TXT ["v=spf1 -all"], SRV [10, 5, 5060, "sip.example.com."], CAA [0, "issue", "letsencrypt.org"]. PUT /v1/zones/{zone}/{domain}/{type}.
| Parameter | Type | Description |
|---|---|---|
answers * | array | One entry per answer, each a list of rdata fields (see the tool description). |
domain * | string | Full record name inside the zone, e.g. www.example.com (or the zone name itself for the apex). |
type * | string | Record type. |
zone * | string | Zone name, e.g. example.com. |
ttl | integer | TTL in seconds. Omit for the zone default. |
ns1_update_record Update DNS record
WRITE: changes ONE existing DNS record and CHANGES LIVE DNS for that name immediately. Giving answers REPLACES all current answers of the record (send the complete new set); giving only ttl changes just the TTL. Plain records only (A, AAAA, ALIAS, CAA, CNAME, MX, PTR, SRV, TXT): when answers are given, a record that uses traffic-steering filters, links or per-answer metadata is refused (edit it in the NS1 portal). Fails if the record does not exist. POST /v1/zones/{zone}/{domain}/{type}.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Full record name inside the zone, e.g. www.example.com (or the zone name itself for the apex). |
type * | string | Record type of the existing record. |
zone * | string | Zone name, e.g. example.com. |
answers | array | The COMPLETE new answer set, each answer a list of rdata fields (as for ns1_create_record). |
ttl | integer | New TTL in seconds. |