
Dockertag
io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 3, 2026
审计镜像标签和 OCI 标签:固定版本、小写仓库名以及 MCP 服务器名称标签。
AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。
原文描述
Audit image tags and OCI labels: pinning, lowercase repos, and the MCP server-name label.
概览
Dockertag 的本地 MCP 服务;无需登录;STDIO。
暂无 AI 概览:以下信息来自注册中心条目和服务本身。
安装
在 SourceWeft 中
- 打开 控制台中的 Dockertag,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
dockertag
An image reference looks pinned until you read it closely.
repo with no tag at all silently means repo:latest;
latest itself moves; a capital letter in the repository
breaks pushes to registries that require lowercase; and a
published image can be missing the labels that say where
its source lives, what license it carries, and — for MCP
servers — the server-name label the MCP Registry checks
before it will list the image. dockertag takes the middle
road: you hand it the references and the labels you found,
and it hands back an audit.
Every reference is parsed the same careful way. The digest
is everything after the last @. A tag exists only
when the final path segment contains a : — so the colon
in localhost:5000 is a port, never a tag — and the tag is
the text after the last : in that segment. The registry
is the first segment when it contains a . or a : or is
exactly localhost; otherwise the registry is docker.io
and the whole path is the repository.
Against the parsed reference and the supplied labels, nine checks run in a fixed order:
- INVALID_REFERENCE (error) — the name part is empty, the repository is empty, or a present tag is empty. No further checks run for that image and its parsed fields are null.
- INVALID_DIGEST (error) — a digest that is not
sha256:followed by 64 lowercase hex characters. - UPPERCASE_REPOSITORY (error) — an uppercase letter anywhere in the repository.
- UNPINNED (error) — no tag and no digest, so the
reference resolves to the mutable
latesttag. - LATEST_TAG (warning) — the tag is exactly
latestand no digest pins it. - MISSING_SOURCE_LABEL (warning) — no
org.opencontainers.image.sourcelabel. - MISSING_LICENSE_LABEL (warning) — no
org.opencontainers.image.licenseslabel. - MISSING_SERVER_NAME_LABEL (error) — only checked
when you supply
expected_server_name: theio.modelcontextprotocol.server.namelabel is absent. - SERVER_NAME_MISMATCH (error) — that label is present but differs from the expected value.
The result carries each image's parsed registry, repository, tag, and digest with its finding codes, the flat list of findings (by image input order, then check order) with exact messages, and counts of images, errors, warnings, and clean images.
dockertag never contacts a registry and never pulls an
image: the labels are the ones you supply, which makes the
audit usable in CI before anything is pushed. Malformed
input — a missing or empty image list, a missing, empty,
or duplicated reference, labels that are not a
string-to-string map, a bad expected_server_name — is a
validation error naming the offending path (for example
images[1].labels.custom must be a string), and no
partial audit is produced.
CLI
args.json contains the full arguments object:
The audit is printed as JSON:
(The flat findings list above is abbreviated; it holds
one entry per finding.) Exit codes: 0 on success, 1
on a runtime error (including an unreadable or invalid
input file, or invalid input), 2 on a usage error.
MCP server
MCP client config:
Tools
-
audit_image_tags— Audit container image references and OCI labels: tag pinning, lowercase repositories, source and license labels, and the MCP Registry server-name label.images(array, required, at least one) — images as{reference, labels?}objects;referenceis the full image reference as written and is unique across the set, andlabelsis the image's OCI labels as a string-to-string mapexpected_server_name(string, optional, non-empty) — the expected value of theio.modelcontextprotocol.server.namelabel; the two server-name checks run only when this is supplied
Returns
{images, findings, counts}.
Docker
Development
License
MIT — Copyright (c) 2026 Rene Turcios
来源:README.md,提交 d63d04c
工具
0版本历史
1- v0.1.0最新Nov 3, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分