Skip to main content
Glama
dnsmint

DNSMint MCP Server

Official
by dnsmint

DNSMint MCP server

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.

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.

Related MCP server: meshcore-mcp

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.

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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dnsmint/dnsmint-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server