Skip to content
MCP server
Registry

OnlyDNS MCP Server

Model Context Protocol server for OnlyDNS to manage DNS zones, records, DNSSEC, and TSIG keys.

OnlyDNS MCP Server scores 65 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 5 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 97 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by onlydnsMITTypeScript0 stars
Trust score
65Good
Trust score 65 of 100, Good

Good trust

65 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 20 + 0 + 10 + 10 + 3 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "onlydns-onlydns-mcp": {      "command": "npx",      "args": [        "-y",        "@onlydns/mcp@1.0.7"      ],      "env": {        "ONLYDNS_API_TOKEN": "YOUR_ONLYDNS_API_TOKEN",        "ONLYDNS_API_BASE_URL": "https://api.onlydns.com/v1"      }    }  }}

Environment variables

NameRequiredNotes
ONLYDNS_API_TOKENSecretRequiredOnlyDNS API Bearer token for authentication
ONLYDNS_API_BASE_URLOptionalCustom API base URL (defaults to https://api.onlydns.com/v1)

Tools5Tool docs quality grade D

All capabilities
  • Create new records or append values to existing record sets with automatic domain normalization.

  • Delete specific record values or entire record sets.

  • Query DNS records with optional filtering by type (A, AAAA, CNAME, MX, TXT, SRV, CAA, etc.) or hostname.

  • Batch replace full zone record sets.

  • Modify existing DNS records and update TTLs.

About

OnlyDNS MCP Server (@onlydns/mcp)

Official Model Context Protocol (MCP) server for OnlyDNS enabling AI agents (Claude Desktop, Cursor, Devin, LangChain) to inspect and manage DNS zones, records, 1-click DNSSEC, and TSIG keys directly. Learn more on the AI Agent Infrastructure solution page.

npm install -g @onlydns/mcp

Or run instantly: npx -y @onlydns/mcp

Authentication Environment Variable: ONLYDNS_API_TOKEN (see Configuration).


Features

  • 🌐 Domain Management: List all managed domains and create new DNS zones.
  • 📝 DNS Record Operations:
    • list_records: Query DNS records with optional filtering by type (A, AAAA, CNAME, MX, TXT, SRV, CAA, etc.) or hostname.
    • add_record: Create new records or append values to existing record sets with automatic domain normalization.
    • update_record: Modify existing DNS records and update TTLs.
    • delete_record: Delete specific record values or entire record sets.
    • set_records: Batch replace full zone record sets.
  • 🔐 DNSSEC Management: Inspect DNSSEC status, fetch DS/DNSKEY records, enable, and disable DNSSEC signing.
  • 🔑 TSIG Keys: Generate and manage TSIG keys for secondary DNS zone transfers (AXFR) and RFC 2136 dynamic updates.

Installation & Quick Start

1. One-Click Desktop Installation (MCPB Bundle)

Download onlydns-mcp.mcpb directly from the GitHub Releases page. Compatible desktop clients (such as Claude Desktop) allow one-click installation and configure your ONLYDNS_API_TOKEN through a secure settings dialog.

2. Using npx (No installation needed)

You can run the server directly using npx:

export ONLYDNS_API_TOKEN="your_onlydns_api_token"
npx -y @onlydns/mcp

3. Global Installation

npm install -g @onlydns/mcp

Configuration

The server requires an OnlyDNS API Bearer Token.

Environment Variables

VariableDescriptionDefault
ONLYDNS_API_TOKENYour OnlyDNS API Bearer Token (Required)-
ONLYDNS_API_BASE_URLOnlyDNS REST API base URLhttps://api.onlydns.com/v1

Client Integration Examples

Claude Desktop

Add the following to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "onlydns": {
      "command": "npx",
      "args": ["-y", "@onlydns/mcp"],
      "env": {
        "ONLYDNS_API_TOKEN": "YOUR_ONLYDNS_BEARER_TOKEN"
      }
    }
  }
}

Cursor (or Windsurf / Claude Code)

Add to your MCP settings or .cursor/mcp.json:

{
  "mcpServers": {
    "onlydns": {
      "command": "npx",
      "args": ["-y", "@onlydns/mcp"],
      "env": {
        "ONLYDNS_API_TOKEN": "YOUR_ONLYDNS_BEARER_TOKEN"
      }
    }
  }
}

Available MCP Tools

🌐 Domains

  • list_domains(limit?, offset?): Lists all domains in the account.
  • create_domain(domainName): Creates a new DNS zone for a domain.

📝 DNS Records

  • list_records(domainName, type?, name?): Lists DNS records for a domain, with optional filtering.
  • add_record(domainName, name, type, value, ttl?): Adds/appends a DNS record (e.g. A, CNAME, MX, TXT, URL, PROXY).
  • update_record(domainName, name, type, value, ttl?): Replaces values and/or TTL for a record type.
  • delete_record(domainName, name, type, value?): Deletes a record or specific value.
  • set_records(domainName, records): Batch replaces all records for a zone.

🔐 DNSSEC

  • get_dnssec(domainName): Fetches DNSSEC status and keys (DS, DNSKEY).
  • enable_dnssec(domainName): Enables DNSSEC signing for a zone.
  • disable_dnssec(domainName): Disables DNSSEC signing.

🔑 TSIG Keys

  • list_tsig_keys(): Lists all account TSIG keys.
  • get_tsig_key(keyName): Retrieves TSIG key details.
  • create_tsig_key(algorithm?): Generates a new TSIG key (hmac-sha256, hmac-sha512, etc.).
  • get_domain_tsig(domainName): Retrieves TSIG keys and permissions configured on a domain.
  • configure_domain_tsig(domainName, keyName, allowAxfr, allowDnsUpdate, subdomains?): Configures AXFR, DDNS, and optional subdomain restriction permissions for a domain.
  • remove_domain_tsig(domainName): Removes all TSIG keys from a domain.

Development & Testing

# Clone and install dependencies
git clone https://github.com/Onlydns/onlydns-mcp.git
cd onlydns-mcp
npm install

# Run unit tests
npm test

# Build TypeScript
npm run build

# Run locally in development
npm run dev

License

MIT © 2026 OnlyDNS

Links

AllMCPs Verified

Frequently asked questions

What is OnlyDNS MCP Server?

Model Context Protocol server for OnlyDNS to manage DNS zones, records, DNSSEC, and TSIG keys.

How do I install OnlyDNS MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. OnlyDNS MCP Server runs locally from the npm package @onlydns/mcp with the command npx -y @onlydns/mcp@1.0.7.

Is OnlyDNS MCP Server free and open source?

Yes. OnlyDNS MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does OnlyDNS MCP Server support remote (HTTP) connections?

No remote endpoint is listed for OnlyDNS MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does OnlyDNS MCP Server provide?

OnlyDNS MCP Server provides 5 tools, including add_record, delete_record, list_records, and set_records. See the full tool list for descriptions and parameters.

How is OnlyDNS MCP Server's trust score calculated?

OnlyDNS MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server