What it does
Runs a command in a throwaway Kubernetes pod and returns exit code, output and artifacts.
- Connects 在你的电脑上运行
- Account or key Needs MCP_K8S_CLONE_SECRET, MCP_K8S_AUTH_TOKEN · 1 setting to fill in (MCP_K8S_ALLOWED_IMAGES)
- Category 开发者工具
可搭配使用
教 AI 做这类工作的 Skill,可与本项一起使用
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
为什么排在这里
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 0/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 3/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 3/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Kubernetes Ephemeral Job 的密钥(在开发者网站创建) · 需要填写 1 项设置(MCP_K8S_ALLOWED_IMAGES) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
安装 Docker(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
docker --version- 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
docker --version安装一次,所有需要 Docker 的工具都能用
填写 1 项设置
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
MCP_K8S_ALLOWED_IMAGES严格的镜像允许列表(CSV)。为空则会拒绝所有调用,因此必须设置。查看英文原文
Strict image allowlist (CSV). Empty means every call is rejected, so this must be set.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
正在检查命令 · 通过后才会显示复制按钮
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
退出 Claude 再重新打开
试一试
用 Kubernetes Ephemeral Job 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Kubernetes Ephemeral Job,或回答中出现 Kubernetes Ephemeral Job 的工具名称,就表示连接成功
15 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
MCP_K8S_KUBECONFIG容器内 kubeconfig 文件的路径。留空则使用集群内凭据。· 默认值 /kube/config查看英文原文
Path to the kubeconfig inside the container. Empty = use in-cluster credentials.MCP_K8S_NAMESPACE临时 Pod 所在的命名空间。需要为 jobs 和 pods 配置 Role 和 RoleBinding。· 默认值 mcp-ephemeral查看英文原文
Namespace the ephemeral pods are created in. Needs a Role/RoleBinding for jobs and pods.MCP_K8S_TRANSPORTMCP 传输方式:stdio http sse。直接使用 docker/stdio 时必须为 'stdio'。· 默认值 stdio查看英文原文
MCP transport: stdio | http | sse. Must be 'stdio' for direct docker/stdio use.MCP_K8S_DEFAULT_TIMEOUT_S每个作业的默认实际运行时间上限,单位为秒。· 默认值 60查看英文原文
Default wall-clock timeout per job, seconds.MCP_K8S_MAX_TIMEOUT_S调用方可请求的最大挂钟超时时间,单位为秒。· 默认值 600查看英文原文
Maximum wall-clock timeout a caller may request, seconds.MCP_K8S_MAX_OUTPUT_BYTES在截断之前,stdout/stderr 合计输出的上限。· 默认值 1048576查看英文原文
Cap on combined stdout/stderr before truncation.MCP_K8S_MAX_ARTIFACT_BYTES返回工件的总大小上限。· 默认值 10485760查看英文原文
Cap on the total size of returned artifacts.MCP_K8S_MAX_CONCURRENT同时运行的临时 Pod 最大数量。· 默认值 10查看英文原文
Maximum ephemeral pods running at the same time.MCP_K8S_DEFAULT_CPUPod CPU 请求;限制值来自调用方或命名空间的 LimitRange。· 默认值 1查看英文原文
Pod CPU request; limits come from the caller or the namespace LimitRange.MCP_K8S_DEFAULT_MEMORYPod 内存请求;限制值来自调用方或命名空间的 LimitRange。· 默认值 512Mi查看英文原文
Pod memory request; limits come from the caller or the namespace LimitRange.MCP_K8S_SIDECAR_IMAGE用于注入输入文件和收集产物的辅助镜像· 默认值 busybox:1.36查看英文原文
Helper image used to inject input files and collect artifacts.MCP_K8S_CLONE_IMAGE用于克隆初始化容器的、包含 git 的镜像。留空则禁用克隆字段。查看英文原文
Image carrying git for the clone init container. Empty disables the clone field.MCP_K8S_CACHE_PVC现有的 PVC,挂载到每个作业 Pod 中作为共享缓存。为空表示不使用缓存。查看英文原文
Existing PVC mounted into every job pod as a shared cache. Empty = no cache.MCP_K8S_CACHE_MOUNT_PATH缓存 PVC 的挂载位置,例如 /go/pkg/mod。为空表示不使用缓存。查看英文原文
Where the cache PVC is mounted, e.g. /go/pkg/mod. Empty = no cache.MCP_K8S_JOB_EXTRA_ENVJSON 对象,包含添加到每个作业 pod 的环境变量;发生冲突时,调用方提供的键优先。查看英文原文
JSON object of env vars added to every job pod; caller keys win on collision.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Kubernetes Ephemeral Job
Kubernetes Ephemeral Job 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Kubernetes Ephemeral Job 的应用
- 需要 Kubernetes Ephemeral Job 的密钥(在开发者网站创建) · 需要填写 1 项设置(MCP_K8S_ALLOWED_IMAGES) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要 Kubernetes Ephemeral Job 的密钥(在开发者网站创建) · 需要填写 1 项设置(MCP_K8S_ALLOWED_IMAGES) · 需要先在电脑上安装 Docker(只需一次)
- 需要 Kubernetes Ephemeral Job 的密钥(在开发者网站创建) · 需要填写 1 项设置(MCP_K8S_ALLOWED_IMAGES) · 需要先在电脑上安装 Docker(只需一次)
- 需要 Kubernetes Ephemeral Job 的密钥(在开发者网站创建) · 需要填写 1 项设置(MCP_K8S_ALLOWED_IMAGES) · 需要先在电脑上安装 Docker(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code,但需要先准备
需要 Kubernetes Ephemeral Job 的密钥(在开发者网站创建) · 需要填写 1 项设置(MCP_K8S_ALLOWED_IMAGES) · 需要先在电脑上安装 Docker(只需一次)
安装 Docker(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
docker --version- 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
docker --version安装一次,所有需要 Docker 的工具都能用
注册并创建 Kubernetes Ephemeral Job 的密钥
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
填写 1 项设置
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
MCP_K8S_ALLOWED_IMAGES严格的镜像允许列表(CSV)。为空则会拒绝所有调用,因此必须设置。查看英文原文
Strict image allowlist (CSV). Empty means every call is rejected, so this must be set.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
正在检查命令 · 通过后才会显示复制按钮
按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Claude Code 中输入 /mcp
应能看到 Kubernetes Ephemeral Job 在列表中并显示已连接
试一试
用 Kubernetes Ephemeral Job 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Kubernetes Ephemeral Job,或回答中出现 Kubernetes Ephemeral Job 的工具名称,就表示连接成功
15 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
MCP_K8S_KUBECONFIG容器内 kubeconfig 文件的路径。留空则使用集群内凭据。· 默认值 /kube/config查看英文原文
Path to the kubeconfig inside the container. Empty = use in-cluster credentials.MCP_K8S_NAMESPACE临时 Pod 所在的命名空间。需要为 jobs 和 pods 配置 Role 和 RoleBinding。· 默认值 mcp-ephemeral查看英文原文
Namespace the ephemeral pods are created in. Needs a Role/RoleBinding for jobs and pods.MCP_K8S_TRANSPORTMCP 传输方式:stdio http sse。直接使用 docker/stdio 时必须为 'stdio'。· 默认值 stdio查看英文原文
MCP transport: stdio | http | sse. Must be 'stdio' for direct docker/stdio use.MCP_K8S_DEFAULT_TIMEOUT_S每个作业的默认实际运行时间上限,单位为秒。· 默认值 60查看英文原文
Default wall-clock timeout per job, seconds.MCP_K8S_MAX_TIMEOUT_S调用方可请求的最大挂钟超时时间,单位为秒。· 默认值 600查看英文原文
Maximum wall-clock timeout a caller may request, seconds.MCP_K8S_MAX_OUTPUT_BYTES在截断之前,stdout/stderr 合计输出的上限。· 默认值 1048576查看英文原文
Cap on combined stdout/stderr before truncation.MCP_K8S_MAX_ARTIFACT_BYTES返回工件的总大小上限。· 默认值 10485760查看英文原文
Cap on the total size of returned artifacts.MCP_K8S_MAX_CONCURRENT同时运行的临时 Pod 最大数量。· 默认值 10查看英文原文
Maximum ephemeral pods running at the same time.MCP_K8S_DEFAULT_CPUPod CPU 请求;限制值来自调用方或命名空间的 LimitRange。· 默认值 1查看英文原文
Pod CPU request; limits come from the caller or the namespace LimitRange.MCP_K8S_DEFAULT_MEMORYPod 内存请求;限制值来自调用方或命名空间的 LimitRange。· 默认值 512Mi查看英文原文
Pod memory request; limits come from the caller or the namespace LimitRange.MCP_K8S_SIDECAR_IMAGE用于注入输入文件和收集产物的辅助镜像· 默认值 busybox:1.36查看英文原文
Helper image used to inject input files and collect artifacts.MCP_K8S_CLONE_IMAGE用于克隆初始化容器的、包含 git 的镜像。留空则禁用克隆字段。查看英文原文
Image carrying git for the clone init container. Empty disables the clone field.MCP_K8S_CACHE_PVC现有的 PVC,挂载到每个作业 Pod 中作为共享缓存。为空表示不使用缓存。查看英文原文
Existing PVC mounted into every job pod as a shared cache. Empty = no cache.MCP_K8S_CACHE_MOUNT_PATH缓存 PVC 的挂载位置,例如 /go/pkg/mod。为空表示不使用缓存。查看英文原文
Where the cache PVC is mounted, e.g. /go/pkg/mod. Empty = no cache.MCP_K8S_JOB_EXTRA_ENVJSON 对象,包含添加到每个作业 pod 的环境变量;发生冲突时,调用方提供的键优先。查看英文原文
JSON object of env vars added to every job pod; caller keys win on collision.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Kubernetes Ephemeral Job 的密钥(在开发者网站创建) · 需要填写 1 项设置(MCP_K8S_ALLOWED_IMAGES) · 需要先在电脑上安装 Docker(只需一次)
安装 Docker(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
docker --version- 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
docker --version安装一次,所有需要 Docker 的工具都能用
注册并创建 Kubernetes Ephemeral Job 的密钥
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
填写 1 项设置
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
MCP_K8S_ALLOWED_IMAGES严格的镜像允许列表(CSV)。为空则会拒绝所有调用,因此必须设置。查看英文原文
Strict image allowlist (CSV). Empty means every call is rejected, so this must be set.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
点击这个按钮打开 Cursor
正在检查命令 · 通过后才会显示复制按钮
填写你的密钥
在 Kubernetes Ephemeral Job 的设置中,MCP_K8S_CLONE_SECRET, MCP_K8S_AUTH_TOKEN, MCP_K8S_ALLOWED_IMAGES 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Kubernetes Ephemeral Job 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Kubernetes Ephemeral Job,或回答中出现 Kubernetes Ephemeral Job 的工具名称,就表示连接成功
15 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
MCP_K8S_KUBECONFIG容器内 kubeconfig 文件的路径。留空则使用集群内凭据。· 默认值 /kube/config查看英文原文
Path to the kubeconfig inside the container. Empty = use in-cluster credentials.MCP_K8S_NAMESPACE临时 Pod 所在的命名空间。需要为 jobs 和 pods 配置 Role 和 RoleBinding。· 默认值 mcp-ephemeral查看英文原文
Namespace the ephemeral pods are created in. Needs a Role/RoleBinding for jobs and pods.MCP_K8S_TRANSPORTMCP 传输方式:stdio http sse。直接使用 docker/stdio 时必须为 'stdio'。· 默认值 stdio查看英文原文
MCP transport: stdio | http | sse. Must be 'stdio' for direct docker/stdio use.MCP_K8S_DEFAULT_TIMEOUT_S每个作业的默认实际运行时间上限,单位为秒。· 默认值 60查看英文原文
Default wall-clock timeout per job, seconds.MCP_K8S_MAX_TIMEOUT_S调用方可请求的最大挂钟超时时间,单位为秒。· 默认值 600查看英文原文
Maximum wall-clock timeout a caller may request, seconds.MCP_K8S_MAX_OUTPUT_BYTES在截断之前,stdout/stderr 合计输出的上限。· 默认值 1048576查看英文原文
Cap on combined stdout/stderr before truncation.MCP_K8S_MAX_ARTIFACT_BYTES返回工件的总大小上限。· 默认值 10485760查看英文原文
Cap on the total size of returned artifacts.MCP_K8S_MAX_CONCURRENT同时运行的临时 Pod 最大数量。· 默认值 10查看英文原文
Maximum ephemeral pods running at the same time.MCP_K8S_DEFAULT_CPUPod CPU 请求;限制值来自调用方或命名空间的 LimitRange。· 默认值 1查看英文原文
Pod CPU request; limits come from the caller or the namespace LimitRange.MCP_K8S_DEFAULT_MEMORYPod 内存请求;限制值来自调用方或命名空间的 LimitRange。· 默认值 512Mi查看英文原文
Pod memory request; limits come from the caller or the namespace LimitRange.MCP_K8S_SIDECAR_IMAGE用于注入输入文件和收集产物的辅助镜像· 默认值 busybox:1.36查看英文原文
Helper image used to inject input files and collect artifacts.MCP_K8S_CLONE_IMAGE用于克隆初始化容器的、包含 git 的镜像。留空则禁用克隆字段。查看英文原文
Image carrying git for the clone init container. Empty disables the clone field.MCP_K8S_CACHE_PVC现有的 PVC,挂载到每个作业 Pod 中作为共享缓存。为空表示不使用缓存。查看英文原文
Existing PVC mounted into every job pod as a shared cache. Empty = no cache.MCP_K8S_CACHE_MOUNT_PATH缓存 PVC 的挂载位置,例如 /go/pkg/mod。为空表示不使用缓存。查看英文原文
Where the cache PVC is mounted, e.g. /go/pkg/mod. Empty = no cache.MCP_K8S_JOB_EXTRA_ENVJSON 对象,包含添加到每个作业 pod 的环境变量;发生冲突时,调用方提供的键优先。查看英文原文
JSON object of env vars added to every job pod; caller keys win on collision.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Kubernetes Ephemeral Job 的密钥(在开发者网站创建) · 需要填写 1 项设置(MCP_K8S_ALLOWED_IMAGES) · 需要先在电脑上安装 Docker(只需一次)
安装 Docker(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
docker --version- 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
docker --version安装一次,所有需要 Docker 的工具都能用
注册并创建 Kubernetes Ephemeral Job 的密钥
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
填写 1 项设置
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
MCP_K8S_ALLOWED_IMAGES严格的镜像允许列表(CSV)。为空则会拒绝所有调用,因此必须设置。查看英文原文
Strict image allowlist (CSV). Empty means every call is rejected, so this must be set.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
点击这个按钮打开 VS Code
正在检查命令 · 通过后才会显示复制按钮
填写你的密钥
在 Kubernetes Ephemeral Job 的设置中,MCP_K8S_CLONE_SECRET, MCP_K8S_AUTH_TOKEN, MCP_K8S_ALLOWED_IMAGES 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Kubernetes Ephemeral Job 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Kubernetes Ephemeral Job,或回答中出现 Kubernetes Ephemeral Job 的工具名称,就表示连接成功
15 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
MCP_K8S_KUBECONFIG容器内 kubeconfig 文件的路径。留空则使用集群内凭据。· 默认值 /kube/config查看英文原文
Path to the kubeconfig inside the container. Empty = use in-cluster credentials.MCP_K8S_NAMESPACE临时 Pod 所在的命名空间。需要为 jobs 和 pods 配置 Role 和 RoleBinding。· 默认值 mcp-ephemeral查看英文原文
Namespace the ephemeral pods are created in. Needs a Role/RoleBinding for jobs and pods.MCP_K8S_TRANSPORTMCP 传输方式:stdio http sse。直接使用 docker/stdio 时必须为 'stdio'。· 默认值 stdio查看英文原文
MCP transport: stdio | http | sse. Must be 'stdio' for direct docker/stdio use.MCP_K8S_DEFAULT_TIMEOUT_S每个作业的默认实际运行时间上限,单位为秒。· 默认值 60查看英文原文
Default wall-clock timeout per job, seconds.MCP_K8S_MAX_TIMEOUT_S调用方可请求的最大挂钟超时时间,单位为秒。· 默认值 600查看英文原文
Maximum wall-clock timeout a caller may request, seconds.MCP_K8S_MAX_OUTPUT_BYTES在截断之前,stdout/stderr 合计输出的上限。· 默认值 1048576查看英文原文
Cap on combined stdout/stderr before truncation.MCP_K8S_MAX_ARTIFACT_BYTES返回工件的总大小上限。· 默认值 10485760查看英文原文
Cap on the total size of returned artifacts.MCP_K8S_MAX_CONCURRENT同时运行的临时 Pod 最大数量。· 默认值 10查看英文原文
Maximum ephemeral pods running at the same time.MCP_K8S_DEFAULT_CPUPod CPU 请求;限制值来自调用方或命名空间的 LimitRange。· 默认值 1查看英文原文
Pod CPU request; limits come from the caller or the namespace LimitRange.MCP_K8S_DEFAULT_MEMORYPod 内存请求;限制值来自调用方或命名空间的 LimitRange。· 默认值 512Mi查看英文原文
Pod memory request; limits come from the caller or the namespace LimitRange.MCP_K8S_SIDECAR_IMAGE用于注入输入文件和收集产物的辅助镜像· 默认值 busybox:1.36查看英文原文
Helper image used to inject input files and collect artifacts.MCP_K8S_CLONE_IMAGE用于克隆初始化容器的、包含 git 的镜像。留空则禁用克隆字段。查看英文原文
Image carrying git for the clone init container. Empty disables the clone field.MCP_K8S_CACHE_PVC现有的 PVC,挂载到每个作业 Pod 中作为共享缓存。为空表示不使用缓存。查看英文原文
Existing PVC mounted into every job pod as a shared cache. Empty = no cache.MCP_K8S_CACHE_MOUNT_PATH缓存 PVC 的挂载位置,例如 /go/pkg/mod。为空表示不使用缓存。查看英文原文
Where the cache PVC is mounted, e.g. /go/pkg/mod. Empty = no cache.MCP_K8S_JOB_EXTRA_ENVJSON 对象,包含添加到每个作业 pod 的环境变量;发生冲突时,调用方提供的键优先。查看英文原文
JSON object of env vars added to every job pod; caller keys win on collision.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
正在检查命令 · 通过后才会显示复制按钮
Claude Desktop (claude_desktop_config.json)
正在检查命令 · 通过后才会显示复制按钮
Cursor (~/.cursor/mcp.json)
正在检查命令 · 通过后才会显示复制按钮
VS Code (mcp.json)
正在检查命令 · 通过后才会显示复制按钮
需要你填写的值
MCP_K8S_ALLOWED_IMAGES必填 env严格的镜像允许列表(CSV)。为空则会拒绝所有调用,因此必须设置。查看英文原文
Strict image allowlist (CSV). Empty means every call is rejected, so this must be set.MCP_K8S_KUBECONFIGenv容器内 kubeconfig 文件的路径。留空则使用集群内凭据。查看英文原文
Path to the kubeconfig inside the container. Empty = use in-cluster credentials.MCP_K8S_NAMESPACEenv临时 Pod 所在的命名空间。需要为 jobs 和 pods 配置 Role 和 RoleBinding。查看英文原文
Namespace the ephemeral pods are created in. Needs a Role/RoleBinding for jobs and pods.MCP_K8S_TRANSPORTenvMCP 传输方式:stdio http sse。直接使用 docker/stdio 时必须为 'stdio'。查看英文原文
MCP transport: stdio | http | sse. Must be 'stdio' for direct docker/stdio use.MCP_K8S_DEFAULT_TIMEOUT_Senv每个作业的默认实际运行时间上限,单位为秒。查看英文原文
Default wall-clock timeout per job, seconds.MCP_K8S_MAX_TIMEOUT_Senv调用方可请求的最大挂钟超时时间,单位为秒。查看英文原文
Maximum wall-clock timeout a caller may request, seconds.MCP_K8S_MAX_OUTPUT_BYTESenv在截断之前,stdout/stderr 合计输出的上限。查看英文原文
Cap on combined stdout/stderr before truncation.MCP_K8S_MAX_ARTIFACT_BYTESenv返回工件的总大小上限。查看英文原文
Cap on the total size of returned artifacts.MCP_K8S_MAX_CONCURRENTenv同时运行的临时 Pod 最大数量。查看英文原文
Maximum ephemeral pods running at the same time.MCP_K8S_DEFAULT_CPUenvPod CPU 请求;限制值来自调用方或命名空间的 LimitRange。查看英文原文
Pod CPU request; limits come from the caller or the namespace LimitRange.MCP_K8S_DEFAULT_MEMORYenvPod 内存请求;限制值来自调用方或命名空间的 LimitRange。查看英文原文
Pod memory request; limits come from the caller or the namespace LimitRange.MCP_K8S_SIDECAR_IMAGEenv用于注入输入文件和收集产物的辅助镜像查看英文原文
Helper image used to inject input files and collect artifacts.MCP_K8S_CLONE_IMAGEenv用于克隆初始化容器的、包含 git 的镜像。留空则禁用克隆字段。查看英文原文
Image carrying git for the clone init container. Empty disables the clone field.MCP_K8S_CLONE_SECRET机密 必填 env包含 git 令牌的密钥,仅挂载到克隆器上。留空则禁用克隆字段。查看英文原文
Secret with git tokens, mounted only on the cloner. Empty disables the clone field.MCP_K8S_CACHE_PVCenv现有的 PVC,挂载到每个作业 Pod 中作为共享缓存。为空表示不使用缓存。查看英文原文
Existing PVC mounted into every job pod as a shared cache. Empty = no cache.MCP_K8S_CACHE_MOUNT_PATHenv缓存 PVC 的挂载位置,例如 /go/pkg/mod。为空表示不使用缓存。查看英文原文
Where the cache PVC is mounted, e.g. /go/pkg/mod. Empty = no cache.MCP_K8S_JOB_EXTRA_ENVenvJSON 对象,包含添加到每个作业 pod 的环境变量;发生冲突时,调用方提供的键优先。查看英文原文
JSON object of env vars added to every job pod; caller keys win on collision.MCP_K8S_AUTH_TOKEN机密 必填 env可选的 X-MCP-AUTH 令牌,每个请求都需要(仅适用于 http/sse 传输)。查看英文原文
Optional X-MCP-AUTH token required on every request (http/sse transports only).
说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 inhuman 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于4个月前
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/inhuman-mcp-k8s-ephemeral-job)讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 6202 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 6202 个服务器的 20% 更新
- 基础检查结果等于或优于此分类中其他 6202 个服务器的 99%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Kubernetes Ephemeral Job 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:MCP_K8S_CLONE_SECRET, MCP_K8S_AUTH_TOKEN
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于4个月前,最新版本(0.7.1)于4个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
有什么可以替代它?
同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
功能相近的其他选择
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| 本项 Kubernetes Ephemeral Job | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 云端或安装在电脑上都可以 |
| 需要密钥 | 是 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 是 | 否 | 否 |
| 基础检查 | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| 许可证 | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
mcp-k8s-ephemeral-job
English | Русский
Public OSS MCP server (Go, MIT) that spawns an ephemeral Kubernetes Job/pod from a caller-chosen image, runs a command inside it, returns exit_code / stdout / artifacts, and deletes the pod. The server builds the pod manifest in code — the caller passes parameters only, never raw YAML.
It is the "operating room" counterpart to mcp-exec (the "scalpel"): where mcp-exec runs a single Python file in a locked-down, network-less sandbox in milliseconds, this one spins up a full pod with the toolchain/image you choose, controlled network (clone repos, pull deps), long tasks and file artifacts out. They complement each other.
Works over three transports — stdio / HTTP / SSE — with an identical tool set everywhere (official modelcontextprotocol/go-sdk).
Tools
run_job — run and wait
Input: { image (required), command (required), files?, env?, limits?, timeout_s?, workdir?, clone? } Output: { exit_code, stdout, stderr, duration_ms, status, artifacts, truncated }
statusis one ofsucceeded/failed/timeout/error. A non-zeroexit_codeor atimeoutis a normal result, not a tool error. Only invalid input (empty image/command, image not in the allowlist, bad file path) is a tool-call error.stdoutcarries the container's combined stdout+stderr — Kubernetes merges the two streams in pod logs.stderris reserved and always empty, so adding stream separation later stays backward-compatible.- Artifacts (files from the working directory) come back inline (base64) under a size cap. Exceeding a cap never loses data silently: the matching
truncatedflag is set. - The manifest is built deterministically by the server — no raw YAML from the caller.
submit_job / fetch_job — run in the background
submit_job takes the same arguments as run_job but returns a job_token immediately; fetch_job collects the result later. This is what lets an agent start a long job (a full test battery, a build) and keep working instead of idling inside one synchronous call for its whole wall-clock time.
fetch_jobreturnsstatus=runningwhile the job is in flight; passwait_s(≤120) to long-poll instead of hammering. It answers as soon as the job is done rather than sitting out the full wait.- Results are retained for 60 minutes and can be fetched more than once.
- Arguments are validated at submit time, so a bad image fails the submit while the caller can still fix it.
- Handles live in memory (the server is single-replica by design): a restart drops pending tokens and the caller simply resubmits.
Cloning a repository
With clone: { repo_url, ref, subdir? } an init container checks the repo out into the working directory before the command runs. The caller never handles credentials: the server holds a secret with one token per git host, mounts it only on the cloner, and the token is masked in .git/config afterwards — the main container never sees it. The clone field is accepted only when the operator has configured MCP_K8S_CLONE_IMAGE + MCP_K8S_CLONE_SECRET.
Security model (invariants)
Per run: a fresh ephemeral pod, deleted afterwards (success / failure / timeout). The server's RBAC is namespace-scoped (Role/RoleBinding, never ClusterRole) — create/delete jobs,pods plus pods/log, pods/exec in one namespace. Spawned pods run with cap-drop=ALL, no-privilege-escalation, seccomp RuntimeDefault. The blast radius is that one namespace: LimitRange (per-pod default+max) + ResourceQuota (namespace ceiling) + wall-clock timeout (→ kill) + TTL/owner-reference GC + a concurrency cap. Images must pass a strict allowlist (MCP_K8S_ALLOWED_IMAGES; empty = nothing runs). Caller data (command / files / output / artifacts) is never persisted and never logged in full — only metadata.
run_jobis the most powerful surface there is (it creates pods). When embedding it in an agent,
gate it behind that agent's tool-policy (trusted roles only).
Network note: the pod's network is not disabled (it's needed to clone repos / pull deps). Egress is controlled by a namespace NetworkPolicy (allowlist) as a deployment concern, not a right baked into the code. The invariant is ephemerality + deletion, not the absence of network.
Resources: the server's MCP_K8S_DEFAULT_CPU/MEMORY are pod requests (the scheduler's reservation). Limits are set only when the caller passes limits; otherwise the ceiling comes from the namespace LimitRange. Passing limits.memory also raises the memory request to match, since memory is incompressible and the pod must land on a node that actually has it.
Run
Published in the MCP Registry as io.github.inhuman/mcp-k8s-ephemeral-job; the image is on Docker Hub as idconstruct/mcp-k8s-ephemeral-job.
docker run --rm -i \
-v "$HOME/.kube:/kube:ro" \ -e MCP_K8S_KUBECONFIG=/kube/config \ -e MCP_K8S_NAMESPACE=ephemeral-dev \ -e MCP_K8S_ALLOWED_IMAGES=busybox:1.36,python:3.12-slim \ idconstruct/mcp-k8s-ephemeral-job:latest
From source, against a dev cluster, over stdio:
go build -o mcp-k8s-ephemeral-job ./cmd/mcp-k8s-ephemeral-job
export MCP_K8S_KUBECONFIG=$HOME/.kube/config export MCP_K8S_NAMESPACE=ephemeral-dev export MCP_K8S_ALLOWED_IMAGES=busybox:1.36,python:3.12-slim ./mcp-k8s-ephemeral-job
In production the server runs in-cluster as a Deployment with its own ServiceAccount + Role/RoleBinding on the ephemeral namespace + ResourceQuota/LimitRange (+ optional egress NetworkPolicy), usually on the http transport.
Example call (run_job)
{
"image": "python:3.12-slim", "command": ["python", "gen.py"], "files": [{ "path": "gen.py", "content_b64": " " }], "limits": { "cpu": "500m", "memory": "256Mi" }, "timeout_s": 30 }
Returns exit_code, captured output, and out.png inline in artifacts. Afterwards the pod is gone (kubectl get jobs,pods -n $NS is empty).
Optional auth (HTTP/SSE)
Set MCP_K8S_AUTH_TOKEN to require every HTTP/SSE request to carry a matching X-MCP-AUTH header (constant-time compare; 401 otherwise). Empty token disables it. Not applicable to stdio.
Configuration
| Env var | Purpose | Default | ||
|---|---|---|---|---|
MCP_K8S_TRANSPORT | stdio \ | http \ | sse | stdio |
MCP_K8S_ADDR | listen address for http/sse | :8080 | ||
MCP_K8S_NAMESPACE | namespace where ephemeral pods are spawned | mcp-ephemeral | ||
MCP_K8S_DEFAULT_TIMEOUT_S | default wall-clock timeout (s) | 60 | ||
MCP_K8S_MAX_TIMEOUT_S | timeout ceiling (s) | 600 | ||
MCP_K8S_MAX_OUTPUT_BYTES | combined stdout+stderr cap | 1048576 | ||
MCP_K8S_MAX_ARTIFACT_BYTES | total artifacts size cap | 10485760 | ||
MCP_K8S_DEFAULT_CPU | pod CPU request (scheduling reservation; limits come from the caller's limits or the namespace LimitRange) | 1 | ||
MCP_K8S_DEFAULT_MEMORY | pod memory request (see above) | 512Mi | ||
MCP_K8S_MAX_CONCURRENT | max concurrent ephemeral pods (over → queue/error) | 10 | ||
MCP_K8S_ALLOWED_IMAGES | strict image allowlist (CSV); empty = deny everything | | ||
MCP_K8S_SIDECAR_IMAGE | helper sidecar image for artifact collection (pinned) | busybox:1.36 | ||
MCP_K8S_CLONE_IMAGE | image with git for the clone init container; empty = clone unavailable | | ||
MCP_K8S_CLONE_SECRET | secret holding one token per git host (key = host); mounted only on the cloner | | ||
MCP_K8S_CACHE_PVC | existing PVC mounted into every job pod as a shared cache; empty = no cache | | ||
MCP_K8S_CACHE_MOUNT_PATH | where the cache PVC is mounted, e.g. /go/pkg/mod | | ||
MCP_K8S_JOB_EXTRA_ENV | JSON object {"KEY":"value"} added to every job pod; caller keys win | | ||
MCP_K8S_KUBECONFIG | path to kubeconfig; empty = in-cluster | | ||
MCP_K8S_AUTH_TOKEN | if set, http/sse require X-MCP-AUTH header (constant-time); empty = off | |
Both cache variables must be set together for the cache to mount. The PVC itself is provisioned out-of-band (helm/manifest); the server only references it by name and fails fast at startup if it is missing.
Not implemented
PVC / object-storage delivery for artifacts too large to inline, multi-cluster support, and proxying other MCP servers into the pod.
License
MIT.