DoiT官方MCP服务器,提供云成本异常检测、云事件查询、云分析维度管理及报告生成等工具,支持通过API进行云资源数据分析与监控。
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 |
| Dockerfile | https://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
列出云成本中检测到的异常
| 参数 | 类型 | 描述 |
|---|---|---|
filter | string 可选 | 过滤字符串,格式为'key:value |
pageToken | string 可选 | 分页令牌,用于获取下一页结果。 |
工具:get_anomaly
通过ID获取特定异常
| 参数 | 类型 | 描述 |
|---|---|---|
id | string | 异常ID |
工具:get_cloud_incident
通过ID获取特定云事件
| 参数 | 类型 | 描述 |
|---|---|---|
id | string | 事件ID |
工具:get_cloud_incidents
获取云事件
| 参数 | 类型 | 描述 |
|---|---|---|
filter | string 可选 | 过滤字符串,格式为'key:value |
pageToken | string 可选 | 分页令牌,用于获取下一页结果。 |
platform | string 可选 | 平台名称 |
工具:get_dimension
通过类型和ID获取特定云分析维度
| 参数 | 类型 | 描述 |
|---|---|---|
id | string | 维度ID |
type | string | 维度类型 |
工具:get_report_results
通过ID获取特定报告的结果
| 参数 | 类型 | 描述 |
|---|---|---|
id | string | 要检索结果的报告ID |
工具:list_dimensions
列出账户可访问的云分析维度。使用此工具获取可在run_query工具中使用的维度。使用过滤器缩小结果范围。
| 参数 | 类型 | 描述 |
|---|---|---|
filter | string 可选 | 过滤字符串(可选),格式为'key:value |
pageToken | string 可选 | 分页令牌,用于获取下一页结果。 |
工具:list_reports
列出账户可访问的云分析报告
| 参数 | 类型 | 描述 |
|---|---|---|
filter | string 可选 | 过滤字符串,格式为'key:value |
pageToken | string 可选 | 分页令牌,用于获取下一页结果。 |
工具: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}}] } }
| 参数 | 类型 | 描述 |
|---|---|---|
config | object | 查询配置,包括维度、指标、过滤器等。 |
工具: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/
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
docker pull mcp/doit:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务