docs: add optional DNS bootstrap for MCP Server Card discovery#2934
Open
markjr wants to merge 2 commits into
Open
docs: add optional DNS bootstrap for MCP Server Card discovery#2934markjr wants to merge 2 commits into
markjr wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds optional DNS bootstrap discovery to SEP-2127.
The intent is not to store MCP Server Cards directly in DNS, and not to replace the proposed
.well-known/mcp-server-cardendpoint. Instead, DNS can act as an authoritative, cache-friendly bootstrap layer that points clients to an MCP Server Card, AI Card catalog, or equivalent services document.This keeps
.well-known/mcp-server-cardas the primary HTTP discovery mechanism while giving domain owners another way to advertise discovery metadata when they control DNS but not web-root routing.Motivation
SEP-2127 currently identifies lack of domain-level discovery as a pain point. It also considers DNS-based discovery, but rejects it because a DNS-only approach would be limited to domain-level discovery and would not work well for path-based or port-based MCP servers.
This PR narrows the DNS role:
That preserves support for path-specific, port-specific, multi-server, and third-party-hosted MCP deployments.
Why this helps
Many domain owners can update DNS records but cannot reliably place arbitrary files under
/.well-known/, especially when using hosted website platforms, SaaS builders, reverse proxies, or vendor-managed web frontends.Optional DNS bootstrap gives those domain owners a way to say:
The client can still retrieve the Server Card over HTTPS and validate it according to the existing discovery flow.
Relationship to Intelligence-over-DNS / IOD
This PR references Intelligence-over-DNS as an example of a DNSSEC-backed mechanism for publishing structured, machine-readable service metadata through DNS:
https://github.com/markjr/Intelligence-over-DNS
IOD includes a
servicesdocument type for API endpoints and MCP server locations, which makes it a natural substrate for this kind of bootstrap discovery.The SEP does not need to normatively adopt IOD. The point is to leave room for DNS-backed discovery documents, including IOD-style services documents, without requiring DNS to carry complete MCP Server Cards.
Security considerations
DNS-discovered metadata should remain advisory discovery metadata, not authorization.
Clients that implement DNS bootstrap should still:
.well-known/mcp-server-cardwhen no DNS bootstrap record exists.Design framing
The distinction is:
In short: DNS answers “where is the discovery document for this domain?” The Server Card answers “how do I connect to this MCP server?”