具有 MCP 支持的 PyTorch HUD API
用于与 PyTorch HUD API 交互的 Python 库和 MCP 服务器,提供对 CI/CD 数据、作业日志和分析的访问。
概述
该项目提供了用于 PyTorch CI/CD 分析的工具,包括:
工作流、作业和测试运行的数据访问
大型 CI 日志的高效日志分析
ClickHouse 查询集成用于分析
资源利用率指标
用途(针对人类)
发展
主要特点
数据访问
get_commit_summary
:不含作业的基本提交信息get_job_summary
:汇总作业状态计数get_filtered_jobs
:按状态/工作流/名称过滤的作业get_failure_details
:失败的作业,包含详细的失败信息get_recent_commit_status
:包含作业统计信息的最近提交的状态
日志分析
download_log_to_file
:将日志下载到本地存储extract_log_patterns
:查找错误、警告等。extract_test_results
:解析测试执行结果filter_log_sections
:提取特定的日志部分search_logs
:跨多个日志搜索
发展
文档
CLAUDE.md :详细使用方法、代码风格和实现说明
mcp-guide.md :通用 MCP 协议信息
执照
麻省理工学院
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
通过 MCP 界面提供对 PyTorch CI/CD 分析数据(包括工作流、作业、测试运行和日志分析)的访问。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityMCP-compatible server that enables AI assistants to interact with Lightdash analytics data, providing tools to list and retrieve projects, spaces, charts, dashboards, and metrics through a standardized interface.Last updated -13117MIT License
- -securityAlicense-qualityProvides tools for retrieving analytics reports and metrics from PlainSignal through the Model Context Protocol (MCP).Last updated -11MIT License
- -securityAlicense-qualityProvides tools for obtaining system CPU and memory statistics through FastAPI endpoints exposed via MCP.Last updated -3Apache 2.0
- AsecurityFlicenseAqualityProvides real-time system metrics and information through a Model Context Protocol interface, enabling access to CPU usage, memory statistics, disk information, network status, and running processes.Last updated -72