经 AI Skill Hub 精选评估,低延迟IPC库 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
用于构建持久代理工具服务器的低延迟IPC库
低延迟IPC库 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
用于构建持久代理工具服务器的低延迟IPC库
低延迟IPC库 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/stefanwebb/named-pipes
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"---ipc-": {
"command": "npx",
"args": ["-y", "named-pipes"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 低延迟IPC库 执行以下任务... Claude: [自动调用 低延迟IPC库 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"___ipc_": {
"command": "npx",
"args": ["-y", "named-pipes"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> Low-latency IPC for persistent AI tool servers — LLM inference, TTS, STT, vector search, and more — all on one machine, no network stack required. </p>
---
This library uses named pipes as the transport layer for agentic tool servers — persistent background processes that expose capabilities such as LLM inference, text-to-speech, vector search, or browser automation to a Python orchestrator running on the same machine.
Because named pipes route data through kernel memory rather than a network stack, they offer lower latency than local HTTP and far less complexity than shared memory — a practical sweet spot for real-time applications like voice agents.
The same servers can be driven directly from Claude Code. An included agent skill teaches the assistant how to discover running pipe servers with cpipe --list, inspect their capabilities, and send commands.
For a deeper look at the design decisions and API reference, see DOCS.md.
@ch.handler("CMD") linecpipe CLI — send ad-hoc commands to any running server from the terminal, like curl for pipes```bash
1. Start a server (Terminal 1):
conda activate named-pipes
cpipe --serve chat # LLM server on /tmp/tool-chat
2. Query it from the CLI (Terminal 2):
cpipe /tmp/tool-chat chat --data '{"messages": [{"role":"user","content":"Hello!"}]}'
3. Or write a client in Python:
from named_pipes.tool_client import ToolClient
import threading
class _ChatClient(ToolClient):
def on_message(self, msg):
if msg.get("done") is not True:
print(msg.get("result", ""), end="", flush=True)
done = threading.Event()
with _ChatClient("chat") as ch:
ch.send_command("chat", messages=[{"role": "user", "content": "Hello!"}])
done.wait(timeout=30)
Start order matters — server first, then client (server creates the FIFOs).
```bash
cpipe /tmp/tool-chat chat --data '{"messages": [{"role":"user","content":"Hello"}]}'
cpipe --version # show installed version
cpipe --list # discover running ToolServer instances (tool-* pipes)
cpipe --pid # same, plus PIDs that have each pipe open
cpipe --clear # delete orphaned tool pipes
See DOCS.md for all options and the full protocol reference.
cpipe --serve chat # Terminal 1: LLM (/tmp/tool-chat) cpipe --serve tts # Terminal 2: TTS (/tmp/tool-tts) python src/examples/tts_client.py # Terminal 3: pipeline client
一个低延迟的IPC库,适合构建持久代理工具服务器
该工具使用 CC-BY-SA-4.0 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 CC-BY-SA-4.0 — 请查阅原始协议条款了解具体使用限制。
AI Skill Hub 点评:低延迟IPC库 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | named-pipes |
| 原始描述 | 开源MCP工具:Low-latency IPC library for building persistent agentic tool servers (LLM infere。⭐15 · Python |
| Topics | agent-skillsagentsmcppython |
| GitHub | https://github.com/stefanwebb/named-pipes |
| License | CC-BY-SA-4.0 |
| 语言 | Python |
收录时间:2026-05-26 · 更新时间:2026-05-30 · License:CC-BY-SA-4.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端