Skip to main content
Glama
DNSMint MCP Server

DNSMint MCP Server

Official
by dnsmint

DNSMint MCP server

Most people want the hosted endpoint instead: https://dnsmint.com/mcp.

It needs nothing installed. In Claude or ChatGPT, add the URL as a connector and sign in. In Claude Code, Cursor or VS Code, point them at the URL with an API key. On a server with no browser, use the device flow. The recipe for each is on dnsmint.com/integrations.

This package is the same tools over stdio, for the case where you want the server running as a local subprocess rather than talking to ours.

Lets an agent mint and manage its own hostnames on DNSMint, through the Model Context Protocol.

Every other DNSMint integration assumes a human wrote the config first. This one does not: an agent that has just been given a machine can ask for a name for it, mid-task.

Which one to use

Hosted dnsmint.com/mcp

This package

Install

nothing

Node, and an entry in a config file

Claude / ChatGPT connectors

yes, via OAuth

no — they cannot spawn a subprocess

Headless server

yes, via the device flow

yes

Credential

API key, or an OAuth grant you can revoke from the dashboard

API key in the client's environment

Tool updates

reach you immediately

when you upgrade the package

The hosted endpoint is the one that gets improvements first. Use this if you specifically want a local process — an air-gapped setup pointed at a private deployment, or a client that only speaks stdio.

Related MCP server: Cheqd MCP Toolkit

Configure

{
  "mcpServers": {
    "dnsmint": {
      "command": "npx",
      "args": ["-y", "dnsmint-mcp-server"],
      "env": {
        "DNSMINT_API_KEY": "dnsm_..."
      }
    }
  }
}

The key needs hostnames:read and hostnames:write. Scope it to one domain and the agent reaches nothing else on the account, which is the point of scoping.

Variable

DNSMINT_API_KEY

Required.

DNSMINT_ALLOW_RELEASE

true to expose release_hostname. Off by default.

DNSMINT_API_URL

API base URL. Defaults to https://dnsmint.com/api/v1.

Tools

Tool

list_hostnames

Every name the key can see, plus how many are active against the plan's cap.

get_hostname

One name's status and certificate mode.

mint_hostname

Register an address, get a stable name back.

repoint_hostname

The machine moved; the name does not.

diagnose_hostname

Why a name is or is not working.

release_hostname

Only when DNSMINT_ALLOW_RELEASE=true. See below.

The hosted endpoint carries the same six, and decides which to offer from what the credential was granted rather than from an environment variable.

Releasing is off by default, on purpose

A released hostname is tombstoned and never issued again, to anyone, including you. There is no undo.

That is a bad thing to leave within reach of a model deciding to tidy up, so release_hostname is not registered unless you set DNSMINT_ALLOW_RELEASE=true. When it is, the tool takes a confirm argument that must equal the hostname exactly, checked against the id before anything happens — so a name cannot be released by guessing an id or half-remembering a name.

If the goal is to stop serving, repoint the name or stop the machine. Releasing is for names that are genuinely finished with.

What the tool descriptions carry

The descriptions are the interface a model actually reads, so they state the rules the API enforces rather than leaving a model to discover them by being refused:

  • A hostname is one label above a domain. Names below a hostname are not hostnames.

  • The address class is fixed for life. Public stays public, private stays private; crossing is refused, because one name resolving public then private is how DNS rebinding works.

  • A newly minted name is pending and goes live within about a minute.

  • The API does not say where a name points. DNS is the authoritative answer, which is what diagnose_hostname reports.

Development

npm install
npm run build

Support

Something not working, or a case this does not cover? Open an issue here, or write to hello@dnsmint.com. This server is maintained by the DNSMint team.

Available Tools

5 tools
diagnose_hostnameDiagnose a hostnameA
Read-only

Why a hostname is or is not working: what the nameservers answer, what public resolvers see, and whether a certificate has been issued. Use this before assuming something is broken; a name minted moments ago may simply not have propagated.

Inputs: id (required).

get_hostnameGet a hostnameA
Read-only

One hostname's status and certificate mode. Does not say where it points: DNS is the authoritative answer for that, so use diagnose_hostname or resolve the name.

Inputs: id (required).

list_hostnamesList hostnamesA
Read-only

Every hostname this key can see, with how many are active and the plan's cap. Check the cap before minting: a hostname is the unit the plan counts.

Inputs: no named parameters.

mint_hostnameMint a hostnameA

Register an address and get back a stable hostname that survives the address changing. This is the tool to use when a machine or agent needs a name.

The address class is fixed for the life of the name: mint with a public address and it stays public, mint with a private one and it stays private. Crossing later is refused, so pass the address the machine will actually serve on.

A hostname is one label above a domain. Names below a hostname are not hostnames and cannot be minted.

Newly minted names report status 'pending' and go 'live' within about a minute.

Inputs: ip, domain, target, subdomain, +1 more.

repoint_hostnameRepoint a hostnameA
Idempotent

Point an existing hostname at a new address. This is what makes the name worth having: the machine moves, the name does not, and everything holding the URL keeps working.

Repointing within an address class is free, including between IPv4 and IPv6. Crossing between public and private is refused, because one name resolving public then private is how DNS rebinding works.

Inputs: id (required), ip, target.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct operation: listing, single-status lookup, minting, repointing, and diagnosis. get_hostname and diagnose_hostname are explicitly differentiated, with diagnose reserved for DNS/certificate troubleshooting.

    Naming Consistency5/5

    All five tools use a consistent verb_noun pattern with snake_case (list_hostnames, get_hostname, mint_hostname, repoint_hostname, diagnose_hostname). Pluralization of list_hostnames is natural and does not break the pattern.

    Tool Count5/5

    Five tools is well-scoped for a focused DNS hostname minting service. Each tool covers an essential operation without redundancy or bloat.

    Completeness3/5

    The set covers create (mint), read (list/get), update (repoint), and diagnosis, but has no delete, retire, or deprecate operation for hostnames. This is a notable lifecycle gap that prevents cleanup of unwanted names.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      AgentDomain MCP allows AI agents to register, buy, and manage internet domains via the Model Context Protocol. Features include domain search, availability check, purchase, DNS record management, and wallet operations.
      13
      54 PyPI
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to securely manage decentralized identities, verifiable credentials, and trust registries on the Cheqd network via the Model Context Protocol.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with CustomGPT.ai agents through the Model Context Protocol. Allows managing agents, conversations, and content via natural language in MCP-compatible clients.
      MIT