KM

kubeflow/mcp-apache-spark-history-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

210 stars 85 forks 质量 75 趋势 21Apache-2.0

Kubeflow/MCP-Apache Spark-History-Server 是从 https://github.com/kubeflow/mcp-apache-spark-history-server. 导入的 MCP 服务器候选

概览

Kubeflow/MCP-Apache Spark-History-Server 是从 https://github.com/kubeflow/mcp-apache-spark-history-server. 导入的 MCP 服务器候选

概述(AI 翻译)

将AI代理和工程师连接到Apache Spark历史服务器,进行智能作业分析、性能监控和调查


[!重要]

✨ 新 — Spark 历史服务器 CLI 现已可用

一个独立的 Go 二进制文件,可以直接从终端查询 Spark 历史服务器——没有 MCP,没有 AI 框架,没有守护进程。检查作业、比较运行、调查失败,并针对 Spark REST API 编写脚本。

开始使用SHS CLI的 →


本项目为你的 Spark 历史服务器数据提供了两个接口:

🛠️ SHS CLI (shs) ⚡ MCP 服务器
** 用于** 工程师、shell脚本、CI/CD、编码代理 AI代理和兼容MCP客户端
心理模型 “我知道我想执行的命令” “特工,调查这个Spark应用”
安装 单静态二进制 — 无依赖 Python 3.12+,uv
开始使用 CLI文档→ MCP文档→

📺 看实际操作:


🛠️ SHS CLI(shs)——工程师与脚本

一个独立的 Go 二进制文件。直接从终端、shell 脚本或 CI/CD 管道查询你的 Spark 历史服务器。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Kubeflow Spark AI Toolkit

Connect AI agents and engineers to Apache Spark History Server for intelligent job analysis, performance monitoring, and investigation


[!IMPORTANT]

✨ NEW — Spark History Server CLI is now available

A standalone Go binary that queries Spark History Server directly from your terminal — no MCP, no AI framework, no daemon process. Inspect jobs, compare runs, investigate failures, and script against the Spark REST API.

Get started with the SHS CLI →


This project provides two interfaces to your Spark History Server data:

🛠️ SHS CLI (shs) ⚡ MCP Server
For Engineers, shell scripts, CI/CD, coding agents AI agents and MCP-compatible clients
Mental model “I know the command I want to run” “Agent, investigate this Spark app”
Install Single static binary — no dependencies Python 3.12+, uv
Get started CLI docs → MCP docs →

📺 See it in action:


🛠️ SHS CLI (shs) — For Engineers & Scripts

A standalone Go binary. Query your Spark History Server directly from the terminal, shell scripts, or CI/CD pipelines. Also works as a skill for coding agents like Claude Code and Kiro.

Install

# Auto-detect latest version, OS, and architecture
VERSION=$(curl -s https://api.github.com/repos/kubeflow/mcp-apache-spark-history-server/releases | grep -m1 '"tag_name": "cli/' | cut -d'"' -f4 | sed 's|cli/||')
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m)
[ "$ARCH" = "x86_64" ] && ARCH="amd64"
[ "$ARCH" = "aarch64" ] && ARCH="arm64"

curl -sSL "https://github.com/kubeflow/mcp-apache-spark-history-server/releases/download/cli%2F${VERSION}/shs-${VERSION}-${OS}-${ARCH}.tar.gz" | tar xz
在 GitHub 查看完整 README

安装

uvx --from mcp-apache-spark-history-server spark-mcp
新手?先看 mcpskill.org 教程 →