docker-facts
Does that Docker tag actually exist? Real tags, sizes and platforms, live from Docker Hub.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"docker-facts": {
"url": "https://api.kaiv.ai/api/bridge/mcp/docker-facts-adc41b39"
}
}
}远程端点
https://api.kaiv.ai/api/bridge/mcp/docker-facts-adc41b39streamable-http它能做什么
工具清单
工具(3)
🟢check_image_tag(tag, name)
Does this image:tag exist, how big is it, and which platforms does it cover? Use this before writing a FROM line or a compose file. On a hit it returns size, platforms, arm64/amd64 support and the digest. On a miss it says whether the IMAGE exists but the tag is wrong, and lists real tags newest first so the caller can correct itself. Defaults to tag "latest" when none is given.
输入模式
{
"type": "object",
"properties": {
"tag": {
"type": "string",
"x-in": "query",
"default": "latest",
"description": "Tag to check, e.g. \"20-alpine\". Defaults to \"latest\"."
},
"name": {
"type": "string",
"x-in": "query",
"description": "Docker image name as you would write it in a FROM line: \"node\", \"postgres\", \"grafana/grafana\". Official images may omit the \"library/\" prefix."
}
},
"required": [
"name"
]
}输出模式
{
"type": "object",
"properties": {
"tag": {
"type": "string"
},
"image": {
"type": "string"
},
"digest": {
"type": "string",
"nullable": true,
"description": "Content digest, for pinning."
},
"exists": {
"type": "boolean",
"description": "Whether this exact image:tag exists on Docker Hub."
},
"status": {
"type": "string",
"nullable": true,
"description": "Docker Hub tag status, e.g. \"active\"."
},
"meaning": {
"type": "string",
"description": "One sentence, safe to show a user verbatim."
},
"size_mb": {
"type": "number",
"nullable": true,
"description": "Compressed size in MB."
},
"platforms": {
"type": "array",
"items": {
"type": "string"
},
"description": "os/arch strings this tag was built for, e.g. \"linux/arm64\"."
},
"reference": {
"type": "string",
"description": "The full reference, safe to paste into a FROM line."
},
"suggestion": {
"type": "string",
"nullable": true,
"description": "Present only on a miss: the most recently updated real tag."
},
"image_exists": {
"type": "boolean",
"description": "Present only on a miss. Distinguishes a wrong tag from a wrong image name."
},
"last_updated": {
"type": "string",
"nullable": true,
"description": "When the tag was last pushed (ISO 8601). A tag untouched for years is usually the wrong choice."
},
"available_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Present only on a miss: real tags, newest first, so the caller can correct itself."
},
"supports_amd64": {
"type": "boolean"
},
"supports_arm64": {
"type": "boolean",
"description": "Answers the Apple Silicon and Graviton question directly."
}
},
"required": [
"image",
"tag",
"exists",
"meaning"
]
}🟢get_image_info(name)
Repository facts: official status, pulls, stars, whether it is archived. Use to judge whether an image is the canonical one and still maintained. Archived images still pull but receive no security patches.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"x-in": "query",
"description": "Docker image name as you would write it in a FROM line: \"node\", \"postgres\", \"grafana/grafana\". Official images may omit the \"library/\" prefix."
}
},
"required": [
"name"
]
}输出模式
{
"type": "object",
"properties": {
"image": {
"type": "string"
},
"pulls": {
"type": "integer",
"nullable": true
},
"stars": {
"type": "integer",
"nullable": true
},
"exists": {
"type": "boolean"
},
"hub_url": {
"type": "string",
"description": "Page a human can open."
},
"official": {
"type": "boolean",
"description": "True for Docker Official Images (the \"library\" namespace)."
},
"description": {
"type": "string",
"nullable": true
},
"is_archived": {
"type": "boolean",
"description": "Archived images still pull but receive no further updates, including security patches."
},
"last_updated": {
"type": "string",
"nullable": true
}
}
}🟢list_image_tags(name, limit)
Real tags for an image, most recently updated first. Use when choosing a tag rather than verifying one. Each entry carries size and platform list, so a choice can be made without a second call.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"x-in": "query",
"description": "Docker image name as you would write it in a FROM line: \"node\", \"postgres\", \"grafana/grafana\". Official images may omit the \"library/\" prefix."
},
"limit": {
"type": "integer",
"x-in": "query",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "How many tags to return, 1 to 100. Defaults to 25."
}
},
"required": [
"name"
]
}输出模式
{
"type": "object",
"properties": {
"tags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tag": {
"type": "string"
},
"size_mb": {
"type": "number",
"nullable": true
},
"platforms": {
"type": "array",
"items": {
"type": "string"
}
},
"last_updated": {
"type": "string",
"nullable": true
}
}
}
},
"count": {
"type": "integer"
},
"image": {
"type": "string"
},
"exists": {
"type": "boolean"
},
"newest_first": {
"type": "boolean",
"description": "Tags are ordered by last update, most recent first."
}
}
}推荐提示词
get_image_infoget_image_infolist_image_tagslist_image_tagslist_image_tagsget_image_info社区
证据