An elegant take on discovery: DNS TXT records #1149
nembal
started this conversation in
Ideas - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Your Idea
Hey everyone,
I've been reading through the discovery discussion in thread #1147 with a lot of interest. It's clear solving this is a top priority, and the ideas there around using /.well-known/mcp.json are compelling.
I wanted to explore this same problem from a different technical angle, using DNS TXT records (much like MX records). Since the underlying mechanism is different, I felt it warranted a clean, separate thread to keep both conversations focused.
The conversation seems to be coalescing around a
/.well-known/mcp.jsonfile. This is a solid approach, but as I thought about it, I kept coming back to first principles. The.well-knownpath requires an active web server to respond, which feels like it might be adding an extra step.The internet already has a more fundamental, lower-level mechanism for service discovery that doesn't even require a web server: DNS. It's how we've handled email discovery with MX records for 40 years. It's incredibly robust and decentralized.
So, I wrote up a spec called Agent Interface Discovery (AID) that applies this idea to agents. Instead of hitting a web endpoint, a client just makes a standard DNS query.
The entire proposal is a single
TXTrecord at_agent.<domain>:Why this might be a better fit:
.well-knownproposals seem to conflate these, adding things like capabilities and schemas, which feels like a job for theInitializestep in MCP itself.This AID approach is intentionally minimal. It has one job: get the
urifor the MCP server. Then it gets out of the way.This seems to align with the spirit of the original post in #1147 while simplifying the implementation and avoiding some of the complexity that the thread has since taken on.
I built a small workbench to show how it works and formalized the spec. Would love to hear what the community thinks of this DNS-first approach as an alternative path for discovery.
You can see the spec and try the workbench here: aid.agentcommunity.org
Scope
Beta Was this translation helpful? Give feedback.
All reactions