docker-facts

Does that Docker tag actually exist? Real tags, sizes and platforms, live from Docker Hub.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
100%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,186token 数(工具定义)
~3.5 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.93%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 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."
    }
  }
}

推荐提示词

retrieve_data
Get details about [item] from docker-facts
预期工具: get_image_info
fetch_info
Fetch [information type] using docker-facts
预期工具: get_image_info
list_items
List all [items] available in docker-facts
预期工具: list_image_tags
browse_collection
Show me the [collection] from docker-facts
预期工具: list_image_tags
explore_workflow
List available [items], then get details for each one using docker-facts
预期工具: list_image_tagsget_image_info

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具
已验证未记录版本3 个工具