ON

OnlyDNS MCP Server

Published by Onlydns

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

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.0.7
SOURCE CHECKED
Dec 1, 2026

Quick answers

How do I add OnlyDNS MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'ONLYDNS_API_TOKEN=<your-onlydns-api-token>' --transport stdio onlydns -- npx -y @onlydns/mcp

Replace the <your-…> placeholder with your own ONLYDNS_API_TOKEN.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "onlydns": {
      "command": "npx",
      "args": [
        "-y",
        "@onlydns/mcp"
      ],
      "env": {
        "ONLYDNS_API_TOKEN": "<your-onlydns-api-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own ONLYDNS_API_TOKEN.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add onlydns --env 'ONLYDNS_API_TOKEN=<your-onlydns-api-token>' -- npx -y @onlydns/mcp

Replace the <your-…> placeholder with your own ONLYDNS_API_TOKEN.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "onlydns": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@onlydns/mcp"
      ],
      "env": {
        "ONLYDNS_API_TOKEN": "<your-onlydns-api-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own ONLYDNS_API_TOKEN.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "onlydns": {
      "command": "npx",
      "args": [
        "-y",
        "@onlydns/mcp"
      ],
      "env": {
        "ONLYDNS_API_TOKEN": "<your-onlydns-api-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own ONLYDNS_API_TOKEN.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use OnlyDNS MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does OnlyDNS MCP Server need an API key?

To run it on your computer, set ONLYDNS_API_TOKEN first, with values from the publisher.

Is OnlyDNS MCP Server official?

It's published by Onlydns. The Official MCP Registry accepts names under io.github.Onlydns only from the GitHub account or organisation Onlydns. We last checked its listing on Dec 1, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @onlydns/mcp@1.0.7
View source repository