doit

mcp/doit Docker Image

DoiT官方MCP服务器,提供云成本异常检测、云事件查询、云分析维度管理及报告生成等工具,支持通过API进行云资源数据分析与监控。

1 次收藏下载次数: 0状态:社区镜像维护者:mcp(Model Context Protocol)仓库类型:镜像最近更新:

DoiT MCP Server

DoiT官方MCP服务器。

https://www.anthropic.com/news/model-context-protocol

特性

属性详情
镜像来源官方镜像
Docker镜像https://hub.docker.com/repository/docker/mcp/doit
作者https://github.com/doitintl
代码仓库https://github.com/doitintl/doit-mcp-server
Dockerfilehttps://github.com/doitintl/doit-mcp-server/blob/main/Dockerfile
Docker镜像构建方Docker Inc.
Docker Scout健康评分
验证签名COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/doit --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
许可证MIT License

可用工具

服务器提供的工具简短描述
get_anomalies列出云成本中检测到的异常
get_anomaly通过ID获取特定异常
get_cloud_incident通过ID获取特定云事件
get_cloud_incidents获取云事件
get_dimension通过类型和ID获取特定云分析维度
get_report_results通过ID获取特定报告的结果
list_dimensions列出账户可访问的云分析维度
list_reports列出账户可访问的云分析报告
run_query运行指定配置的报告查询(不持久化)
validate_user验证当前API用户并返回域名和***信息

工具详情

工具:get_anomalies

列出云成本中检测到的异常

参数类型描述
filterstring 可选过滤字符串,格式为'key:value
pageTokenstring 可选分页令牌,用于获取下一页结果。

工具:get_anomaly

通过ID获取特定异常

参数类型描述
idstring异常ID

工具:get_cloud_incident

通过ID获取特定云事件

参数类型描述
idstring事件ID

工具:get_cloud_incidents

获取云事件

参数类型描述
filterstring 可选过滤字符串,格式为'key:value
pageTokenstring 可选分页令牌,用于获取下一页结果。
platformstring 可选平台名称

工具:get_dimension

通过类型和ID获取特定云分析维度

参数类型描述
idstring维度ID
typestring维度类型

工具:get_report_results

通过ID获取特定报告的结果

参数类型描述
idstring要检索结果的报告ID

工具:list_dimensions

列出账户可访问的云分析维度。使用此工具获取可在run_query工具中使用的维度。使用过滤器缩小结果范围。

参数类型描述
filterstring 可选过滤字符串(可选),格式为'key:value
pageTokenstring 可选分页令牌,用于获取下一页结果。

工具:list_reports

列出账户可访问的云分析报告

参数类型描述
filterstring 可选过滤字符串,格式为'key:value
pageTokenstring 可选分页令牌,用于获取下一页结果。

工具:run_query

运行指定配置的报告查询(不持久化)。未填充的字段将在需要时使用默认值。运行查询前使用维度工具获取维度列表及其类型。如无特定日期,建议使用timeRange而非customTimeRange。

成本报告示例:

json
{
  "config": {
    "dataSource": "billing",
    "metric": {"type": "basic", "value": "cost"},
    "timeRange": {"mode": "last", "amount": 1, "unit": "month", "includeCurrent": true},
    "group": [{"id": "service_description", "type": "fixed", "limit": {"metric": {"type": "basic", "value": "cost"}, "sort": "desc", "value": 10}}]
  }
}
参数类型描述
configobject查询配置,包括维度、指标、过滤器等。

工具:validate_user

验证当前API用户并返回域名和***信息

使用此MCP服务器

json
{
  "mcpServers": {
    "doit": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DOIT_API_KEY",
        "mcp/doit"
      ],
      "env": {
        "DOIT_API_KEY": "your_doit_api_key"
      }
    }
  }
}

https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 doit 镜像标签

docker pull docker.xuanyuan.run/mcp/doit:<标签>

DockerHub 原生拉取命令

docker pull mcp/doit:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告