Skip to content

Commit 0770c6c

Browse files
committed
docs: fix DNS authentication to use root domain instead of _mcp-registry subdomain
Updates DNS authentication documentation to correctly specify that TXT records should be placed at the root domain (e.g., example.com) rather than the _mcp-registry subdomain. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> :house: Remote-Dev: homespace
1 parent 0745bb9 commit 0770c6c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/explanations/namespacing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Publishing to a namespace requires proving you control the corresponding identit
2222
- OIDC tokens in GitHub Actions workflows
2323

2424
**Domain namespaces** (`com.company.*`):
25-
- DNS verification: TXT record at `_mcp-registry.company.com`
25+
- DNS verification: TXT record at `company.com`
2626
- HTTP verification: File at `https://company.com/.well-known/mcp-registry-auth`
2727

2828
## Namespace Scoping

docs/guides/publishing/publish-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ This opens your browser for OAuth authentication.
302302
openssl genpkey -algorithm Ed25519 -out key.pem
303303

304304
# Get public key for DNS record
305-
echo "_mcp-registry.yourcompany.com. IN TXT \"v=MCPv1; k=ed25519; p=$(openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64)\""
305+
echo "yourcompany.com. IN TXT \"v=MCPv1; k=ed25519; p=$(openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64)\""
306306

307307
# Add the TXT record to your DNS, then login
308308
mcp-publisher login dns --domain yourcompany.com --private-key $(openssl pkey -in key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n')

docs/reference/cli/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ openssl genpkey -algorithm Ed25519 -out key.pem
9191
openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64
9292

9393
# Add DNS TXT record:
94-
# _mcp-registry.example.com. IN TXT "v=MCPv1; k=ed25519; p=PUBLIC_KEY"
94+
# example.com. IN TXT "v=MCPv1; k=ed25519; p=PUBLIC_KEY"
9595

9696
# Extract private key for login
9797
openssl pkey -in key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n'

0 commit comments

Comments
 (0)