mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
63be81fadd
Publish an MCP Server Card at /.well-known/mcp/server-card.json pointing at https://mcp-docs.docker.com/mcp, so agents doing MCP discovery can find the official Docker docs endpoint. Mirror the serverInfo and capabilities reported by the server's initialize response. Also add a one-line pointer near the top of llms.txt so LLMs fetching the index learn about the structured-access alternative. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
22 lines
567 B
Plaintext
22 lines
567 B
Plaintext
{{- $pages := where site.RegularPages "Params.sitemap" "!=" false -}}
|
|
{{- $sorted := sort $pages "RelPermalink" -}}
|
|
{{- $grouped := $sorted.GroupBy "Section" -}}
|
|
|
|
# Docker Documentation
|
|
|
|
> MCP endpoint for structured agent access: https://mcp-docs.docker.com/mcp
|
|
{{- range $grouped }}
|
|
|
|
## {{ humanize .Key }}
|
|
{{- range .Pages }}
|
|
{{- template "pageItem" . }}
|
|
{{- end }}
|
|
{{- end -}}
|
|
|
|
{{- define "pageItem" }}
|
|
{{- if and .Title .Permalink }}
|
|
- [{{ .Title }}]({{ .Permalink }})
|
|
{{- with .Description }}: {{ chomp (replace . "\n" " ") }}{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|