AE

ai-ecoverse/mcpcat

部署与 DevOps

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

0 stars 0 forks 质量 70 趋势 20Apache-2.0

模型上下文协议的curl。一个命令,可以从shell与任意MCP服务器通信,并将任何shell命令转换为MCP服务器。

概览

模型上下文协议的curl。一个命令,可以从shell与任意MCP服务器通信,并将任何shell命令转换为MCP服务器。 如果短URL无法访问,使用GitHub版本中的同一个安装程序: 选项会传递,例如 curl -fsSL https://get.sliccy.ai/mcpcat |sh -s -- --帮助。 mcpcat 原生运行于 macOS、Linux 和 Windows(Node ≥ 24),并在 Sliccy Seven 内作为内核程序运行,两者在两地拥有相同的标志、相同的输出和配置文件。内核中 stdio 服务器树的无孤儿关闭需要 slicc-kernel ≥ 1.74.0;在较旧的内核中,只有直接子节点被发送信号。SIGKILLed mcpcat 不运行处理程序。在 slicc-kernel ≥ 1.88.0 中,mcpcat 会生成 stdio 服务器并发送带有父死亡信号的命令(类似 Linux PR_SET_PDEATHSIG),因此当 mcpcat 失效时,内核会对每个服务器的进程组进行 SIGKILL。

概述(AI 翻译)

模型上下文协议的curl。一个命令,可以从shell与任意MCP服务器通信,并将任何shell命令转换为MCP服务器。

安装

如果短URL无法访问,使用GitHub版本中的同一个安装程序:

期权通过,例如curl -fsSL https://get.sliccy.ai/mcpcat | sh -s -- --help。

mcpcat upgrade(别名 update)在与发布版本的 SHA256SUMS 进行检查后,用最新版本替换安装安装程序;仅有 mcpcat upgrade --check 报告。

或者通过非自恋者(NPM):

mcpcat 原生运行于 macOS、Linux 和 Windows(Node ≥ 26),并在 Sliccy Seven 中作为内核程序运行,两个地方的标志、输出和配置文件相同。内核中 stdio 服务器树的无孤儿关闭需要 slicc-kernel ≥ 1.74.0;在较旧的内核中,只有直接子节点被发出信号。经过 SIGKILLed 的 mcpcat 不运行处理器。在 slicc-kernel 1.88.0 ≥ 中,mcpcat 会生成 stdio 服务器并发送带有父死亡信号的命令(类似 Linux PR_SET_PDEATHSIG),因此当 mcpcat 失效时,内核会 SIGKILL 每个服务器的进程组。

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

README

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

mcpcat

A curl for the Model Context Protocol. One command that talks to any MCP server from a shell, and turns any shell command into an MCP server.

Install

curl -fsSL https://get.sliccy.ai/mcpcat | sh

The same installer from the GitHub release, if the short URL is unreachable:

curl -fsSL https://github.com/ai-ecoverse/mcpcat/releases/latest/download/install.sh | sh

Options pass through, for example curl -fsSL https://get.sliccy.ai/mcpcat | sh -s -- --help.

mcpcat upgrade (alias update) replaces an installer install with the latest release, after checking it against the release’s SHA256SUMS; mcpcat upgrade --check only reports.

Or via npm:

npm install -g @ai-ecoverse/mcpcat

mcpcat runs natively on macOS, Linux and Windows (Node ≥ 26), and inside Sliccy Seven as a kernel program, with the same flags, the same output and the same config file in both places. Orphan-free shutdown of stdio server trees in the kernel needs slicc-kernel ≥ 1.74.0; on older kernels only the direct child is signalled. A SIGKILLed mcpcat runs no handler. On slicc-kernel ≥ 1.88.0, mcpcat spawns stdio servers and served commands with a parent death signal (like Linux PR_SET_PDEATHSIG), so the kernel SIGKILLs each server’s process group when mcpcat dies. On older kernels, and on the host, where there is no portable equivalent, servers that exit on stdin EOF (most MCP servers) still stop, but servers that ignore it keep running.

CI and releases

.github/workflows/ci.yml is the only workflow. It calls slicc-shared-web’s pipeline: lint (Biome, tsc and the shared rules) on every event; on pull requests and in the merge queue the integration suite (npm test, every test/integration/*.test.mjs on Node 26, split over Linux shards); on pull requests a Claude and a Codex review. The checks to require are ci / integration and ci / review. Every merge to main is released to npm as latest by semantic-release, with provenance, through trusted publishing bound to ci.yml. When a merge releases (a new v* tag at the commit), the binaries job packs the published tarball, runs the installer tests on Ubuntu (with and without Node) and Alpine, and attaches the tarball, install.sh and SHA256SUMS to the GitHub release. kernel-floor.test.mjs runs the kernel tests on the engines.slicc-kernel floor; MCPCAT_KERNEL_DIR points the kernel tests at any installed @ai-ecoverse/slicc-kernel.

Quick start

mcpcat https://mcp.example.com/mcp
mcpcat weather get-forecast --lat 51.5 --lon -0.12
mcpcat serve --http 8808 ./scripts/jira.jsh

Agent skill

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →