Repository navigation
DNS TXT records for organisation-scoped registry discovery — proposal for feedback #2334
Replies: 4 comments
|
Good to see another implementation converging on the I built mcp-www (published on npm as On field syntax (1): mcp-www uses the same semicolon-delimited On discovery flow (2): mcp-www handles the DNS lookup as a standard MCP tool call ( On registry as MCP server (3): Same approach, mcp-www is a standard MCP server, no special client needed. Broader discussion on how these approaches layer together: #2368 |
|
Thanks for the detailed reply — useful responses on all three points. On field syntax (1): The semantic distinction in registry= is intentional — it signals that the endpoint is a catalogue rather than a single server. Your src= is more accurate for the DNS-native case where the record points directly to one server. If the convention is to support both approaches, a single neutral field name risks blurring a distinction that actually matters to agents. This is worth resolving properly rather than picking arbitrarily — happy to continue that thread in #2368. On discovery flow (2): Wrapping the DNS lookup as a standard MCP tool call is clever — it removes the native DNS dependency from the agent entirely. Worth noting that it introduces mcp-browse itself as a dependency in the agent's config, which is a different trade-off rather than a strict improvement. The air-gapped and split-horizon cases are well handled by this approach. On registry as MCP server (3): Good convergence — same design decision for the same reason. On the broader question of treating the DNS record as the registry itself rather than a pointer to one: this was considered and decided against in the design process. Section 2.3 of the architecture paper is explicit: "DNS is the right primitive for the discovery problem precisely because it is lightweight, globally distributed, and operationally well-understood. Extending it to carry authentication state or capability manifests would undermine those properties. Each layer should do one thing well." The hard constraint is DNS TXT record byte limits — 255 bytes per string — which is sufficient for a URL and flags but not for a governed catalogue with capabilities, authentication details, data residency, and deprecation state per server. Your approach is the right answer for simple deployments; the registry model is the right answer when governance and scale matter. |
|
v1.5 of the architecture paper is now published. This version addresses feedback raised in this discussion and by reviewers of the initial release: the 255-byte DNS TXT record constraint is now stated explicitly in Section 2.3 as the hard rationale for the pointer-not-container design; a |
|
We've limited Discussions in this repository to meeting notes and are closing this thread. To continue the conversation, pick a channel from Contributor Communication. Thanks for posting. |
Uh oh!
There was an error while loading. Please reload this page.
_mcpDNS TXT records for organisation-scoped registry discovery — proposal for feedbackWhat this proposes
A single DNS TXT record at
_mcp.{domain}that points any compliant AI agent to an organisation's MCP registry. The registry is itself a fully compliant MCP server — agents discover it using the sametools/listandtools/callcalls they use for everything else. No new client behaviour, no central directory, no proprietary SDK.The record format:
The n×m problem in one line: without a discovery layer, n agents × m servers = n×m configuration decisions. With a registry: n+m.
What exists today
A working reference implementation is live at mcp.mariothomas.com:
_mcp.mariothomas.comFull source and specification: github.com/mariothomas/mcp-dns-registry.
The architecture paper (v1.4) is in the repo. It covers the full design rationale, security model, IANA considerations under RFC 8552, cost analysis, and deployment guide.
You can verify the DNS record and query the live registry right now:
Relationship to SEP #1959
I want to be direct about this because the relationship matters: this proposal and SEP #1959 operate at different layers and are designed to stack, not compete.
SEP #1959 addresses per-server DNS verification — confirming the identity of an individual MCP server. This proposal operates one level up: organisation-scoped registry discovery. An agent uses the
_mcprecord to find the registry; the registry to find servers; SEP #1959-style records to verify individual server identity. The two are complementary primitives in a layered architecture.I would particularly welcome review from the authors of SEP #1959 on whether the layering model holds, and whether there are edge cases I have not accounted for.
What I am asking for
This is a request for community feedback, not a broadcast. Specific questions I have not fully resolved:
Field syntax — does the semicolon-delimited
field=valueformat in the TXT record align with existing MCP conventions, or would a different format be preferable for parser consistency?Discovery flow — the proposal requires agents to make a DNS lookup before any MCP connection. Are there deployment patterns where this creates problems — air-gapped environments, private networks, or agent architectures where DNS is not available?
Registry as MCP server — the design decision to make the registry itself an MCP server (rather than a separate REST API) means agents need no special discovery client. Are there cases where this creates problems — for example, agents that do not yet support
tools/listat connection time?SEP process — is there a formal path for submitting this as a candidate SEP? The SPEC.md in the repository is written as a normative reference document with that eventual submission in mind.
IANA — the paper notes that formal registration of the
_mcpunderscore label under RFC 8552 is a future action. Is there an appropriate point in the MCP specification process where that registration would be initiated?Where to look
I am actively monitoring this thread and will respond to all substantive comments.
All reactions