diff --git a/docs/explanations/namespacing.md b/docs/explanations/namespacing.md index cda7882..a470d32 100644 --- a/docs/explanations/namespacing.md +++ b/docs/explanations/namespacing.md @@ -22,7 +22,7 @@ Publishing to a namespace requires proving you control the corresponding identit - OIDC tokens in GitHub Actions workflows **Domain namespaces** (`com.company.*`): -- DNS verification: TXT record at `_mcp-registry.company.com` +- DNS verification: TXT record at `company.com` - HTTP verification: File at `https://company.com/.well-known/mcp-registry-auth` ## Namespace Scoping diff --git a/docs/guides/publishing/publish-server.md b/docs/guides/publishing/publish-server.md index 5f4a89a..92eeb44 100644 --- a/docs/guides/publishing/publish-server.md +++ b/docs/guides/publishing/publish-server.md @@ -302,7 +302,7 @@ This opens your browser for OAuth authentication. openssl genpkey -algorithm Ed25519 -out key.pem # Get public key for DNS record -echo "_mcp-registry.yourcompany.com. IN TXT \"v=MCPv1; k=ed25519; p=$(openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64)\"" +echo "yourcompany.com. IN TXT \"v=MCPv1; k=ed25519; p=$(openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64)\"" # Add the TXT record to your DNS, then login 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') diff --git a/docs/reference/cli/commands.md b/docs/reference/cli/commands.md index a183075..36f4e72 100644 --- a/docs/reference/cli/commands.md +++ b/docs/reference/cli/commands.md @@ -91,7 +91,7 @@ openssl genpkey -algorithm Ed25519 -out key.pem openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64 # Add DNS TXT record: -# _mcp-registry.example.com. IN TXT "v=MCPv1; k=ed25519; p=PUBLIC_KEY" +# example.com. IN TXT "v=MCPv1; k=ed25519; p=PUBLIC_KEY" # Extract private key for login openssl pkey -in key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n'