Pipe Docs (SPR) MCP Server
概览
作者提供的说明(英文原文)
Docs + source RAG for Pipe language: semantic search, cited answers, code symbol lookup.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 MachuraHarry 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5724 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5724 个服务器的 33% 更新
- 基础检查结果等于或优于此分类中其他 5724 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Pipe Docs (SPR) MCP Server 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.1.0)于3个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Pipe — The MCP-native runtime, production-ready
The first language with built-in MCP — server and client. 249 builtins, single ~8 MB binary. Zero dependencies.
Officially listed in the [official MCP Registry](https://registry.modelcontextprotocol.io/?q=MachuraHarry) (v1.1.1, active). One-click install from GitHub MCP Registry for Copilot & VS Code.
What's New in v1.3
Pipe v1.3.0 builds on the multi-agent and vision work from v1.2.0:
- Multi-agent swarms —
ai_swarm/ai_swarm_trace/swarm_agent: named agents hand a conversation off to one another via a reserved tool call, with the full message history carried forward.ai_swarm_streamadds live progress observation (tool calls, handoffs, reasoning, round-check callbacks to intervene mid-run) and now runs independent tool calls within a round in parallel where safe. - `ai_vision` — ask a question about an image (an http(s) URL, local file, or raw bytes) via an OpenAI-compatible vision model.
- OpenCode Zen AI provider — 6th provider, with free-tier models usable without any API key.
- Built-in self-updater —
pipe --update/--update-checkfetch, checksum-verify and swap in the latest GitHub release. - `tool_call` — direct, LLM-free invocation of a registered tool.
- `file_lock` / `file_unlock` — real cross-process advisory file locking.
- `elif` keyword in
if/elsechains. - `ai_tool`: `parallel_safe` flag — batches of Pipe-defined
fntools can now run in parallel too, not just builtins. - `pipe -build` now supports real multi-file projects, preserving relative subdirectory paths.
- Hardened sandbox — audit rounds 7-11: closed filesystem-write gate gaps, the
wiki_searchegress gap, anexec_whitelistshell-injection gap, and a hard-link escape. - 249 builtins — 41 AI + 13 MCP + 195 standard, up from 226 in v0.9.3
- 23 modules — MQTT, SQLite, pipe-http, pipe-web, pipe-orm, pipe-cli, and more
Quick Install
curl -fsSL https://pipe-lang.com/install.sh | bash # Linux & macOS
Windows (PowerShell): irm https://pipe-lang.com/install.ps1 | iex
The installer downloads the latest release, verifies its SHA256 checksum and installs pipe into ~/.local/bin (or /usr/local/bin when run as root). Pin a version with PIPE_VERSION=v1.0.0. See the full install docs.
Installed copies update themselves against the latest GitHub release: pipe --update (or pipe --update-check to only look, pipe --version to show what you are on). The updater verifies the release checksum and replaces the binary in place.
Privacy & DSGVO
Pipe is DSGVO-konform / GDPR-compliant by design:
- Zero telemetry & analytics — the binary never phones home, nothing leaves your machine
- Self-hosted single binary — runs entirely on your infrastructure
- No cloud — no vendor server processes your data
- Open source (MIT) — fully auditable
- Local AI — with Ollama, not a single byte leaves your network; cloud providers are used only if you configure one
The Problem
Running AI in production is harder than it should be:
- Security — LLMs with file access, network, and
execare a liability. You need fine-grained sandboxing at the language level, not afterthought middleware. - Performance — Sequential API calls turn a 1-second pipeline into a 10-second bottleneck. Parallelism shouldn't require
asyncio.gather()boilerplate. - Vendor Lock-in — Switching from OpenAI to DeepSeek means rewriting your Python SDK code. Provider changes should be one line.
- Tool Integration — Connecting LLMs to external tools (GitHub, databases, filesystems) is a maze of SDKs and API wrappers. MCP should be a language primitive, not a library.
Pipe fixes this at the language level.
What is Pipe?
Pipe is a Semantic Pipeline Runtime (SPR) — a pipeline-native language where summarize, translate, and classify sit on the same syntax level as +, sort, and len. Data flows top to bottom through composable transformations. One binary. Zero dependencies.
Python + LangChain (~80 lines):
import openai
client = openai.OpenAI() def summarize(text): r = client.chat.completions.create(model="gpt-4o", messages=[{"role":"user","content":text}]) return r.choices[0].message.content def translate(text, lang): r = client.chat.completions.create(model="gpt-4o", messages=[{"role":"system","content":f"Translate to {lang}"},{"role":"user","content":text}]) return r.choices[0].message.content text = open("news.txt").read() print(translate(summarize(text), "de"))
Pipe (5 lines):
read_file "news.txt"
summarize -- LLM call
translate "de" -- LLM call
Model Context Protocol
Pipe has built-in MCP — both as a server and client. No SDKs, no npm packages, no Python. Pure Go stdlib.
MCP Server — Expose your tools
fn get_weather city
match city | "Berlin" -> "22°C, sunny" | "London" -> "15°C, rainy" | _ -> city ++ ": no data"
ai_tool "get_weather" "Get weather for a city" {city: "City name"} get_weather mcp_server "Weather Agent" "1.0.0" mcp_serve_stdio
Configure in Claude Desktop (claude_desktop_config.json):
{ "mcpServers": { "pipe": { "command": "/tmp/pipe", "args": ["agent.pipe"] } } }
MCP Client — Use external tools
ai_provider "deepseek"
ai_set_key "deepseek" (env "DEEPSEEK_API_KEY")
-- Connect to GitHub + Filesystem MCP servers mcp_use_stdio "npx" "-y" "@modelcontextprotocol/server-github" {GITHUB_TOKEN: (env "GITHUB_TOKEN")} mcp_use_stdio "npx" "-y" "@modelcontextprotocol/server-filesystem" "/tmp"
-- AI discovers and uses all tools automatically result: ai_with_tools "You are a DevOps assistant." "Search pipe's open issues and list files in /tmp." 10 print result
Any stdio MCP server works immediately: Filesystem, GitHub, Git, Postgres, SQLite, Slack, Brave Search, Memory, Sequential Thinking — anything on npm/uvx.
Use Cases
Log Analysis → Incident Report
is_critical: fn line
contains line "critical"
read_file "/var/log/app/errors.log"
split "\n"
filter is_critical
summarize
translate "de"
save "incident_report.txt"
RAG Pipeline
ai_provider "deepseek"
docs: read_lines "knowledge_base.txt" vectors: embed_batch docs
question: "How does the bytecode VM work?" q_vec: embed question top: nearest q_vec vectors 3
context: "" for idx in top context: context ++ (at docs idx) ++ "\n---\n"
ask ("Context:\n" ++ context ++ "\nQuestion: " ++ question)
AI Agent with Tool Calling
fn get_weather city
match city | "Berlin" -> "22°C, sunny" | "London" -> "15°C, rainy" | _ -> city ++ ": no data"
ai_tool "get_weather" "Get current weather for a city" {city: "Name of the city"} get_weather
ai_with_tools "You are a weather assistant." "What's the weather in Berlin and London?"
Concurrency — 3 LLM Calls in 1.5s, Not 4s
ai_provider "deepseek"
a: "Explain monads" >> ask b: "What is CP/M?" >> ask c: "Explain RFC 791" >> ask
print a ++ b ++ c -- Future auto-resolution
Discord CI/CD Notifications
import "discord.pipe" as d
ai_provider "deepseek"
-- AI code review per commit, sent as Discord embed review: ai_chat "Review this code change" diff 800
d.d_webhook_embed (env "DISCORD_WEBHOOK") { title: "CI: Push to master", color: 3447003, fields: [ {name: "Changed Files", value: stat}, {name: "AI Review", value: review} ] }
Comparison: Pipe vs Python + LangChain
| Python + LangChain | Pipe | |
|---|---|---|
| RAG pipeline | ~80 LOC | ~8 LOC |
| Sandbox LLM access | Custom middleware | One sandbox_profile block |
| Switch AI provider | Rewrite SDK calls | ai_provider "deepseek" |
| Deploy to server | Docker + venv + pip | scp pipe binary |
| Parallel LLM calls | asyncio.gather() boilerplate | >> operator, ai_batch |
| MCP Server + Client | Library-dependent | 13 builtins, zero deps, 100+ servers |
| Binary size | ~500 MB (with deps) | ~8 MB |
Features
- MCP-native — 13 builtins for MCP Server + Client. Pure Go stdlib. Connect to any stdio MCP server
- Ship AI pipelines 10x faster — 41 AI + 13 MCP builtins: no imports, no SDKs, no API wrappers
- Lock down AI agents in one line — Declarative sandbox profiles: restrict
exec,write_file,http_getwith a single block - Deploy in seconds — One statically-linked ~8 MB binary. No venv, no pip, no Docker. Linux, macOS, Windows, Raspberry Pi, or your browser via WebAssembly
- 3 LLM calls in 1.5s, not 4s —
>>starts any pipeline stage in the background. Futures auto-resolve.ai_batchhandles hundreds of texts concurrently with built-in rate limiting - No vendor lock-in — OpenAI, Anthropic (Claude), DeepSeek, Ollama. Switch with one line. Same code works everywhere
- Concurrency primitives — channels (
send/recv), mutex (lock/unlock), counting semaphore (acquire/release) - Pipeline-native syntax —
>sequential,>>parallel. Data flows top to bottom — readable, composable, debuggable - Social platforms built in — Discord webhooks and Telegram bots as Pipe modules. AI code reviews, notifications, chat — zero API costs for sending
- Bytecode VM — Compile to bytecode, run on a stack VM with automatic caching. Measured 0.6x-55x vs tree-walker depending on workload (recursion-heavy code up to ~55x)
- Module ecosystem — 23 curated modules, registry with version pinning (
@1.0.0).pipe -getinstalls, import by name - Built-in testing —
testblocks withassert_eq,assert_error. Run withpipe -test. Zero setup - GitHub Action — Run Pipe directly in CI/CD. No installation needed
- VSCode Extension — Syntax highlighting, IntelliSense, LSP-powered diagnostics and completions
- Self-extracting binary — Ship your pipeline as a standalone executable (
pipe -build)
Quick Start
git clone https://github.com/MachuraHarry/pipe && cd pipe && make build
export DEEPSEEK_API_KEY="sk-..." ./bin/pipe -vm -q -c 'ai_provider "deepseek"; ask "What makes Pipe different?" > print'
Try it in your browser
No install needed — Pipe runs fully in your browser via WebAssembly:
Open the Pipe Playground
-- Paste this into the playground and hit Run
le
只显示了开头部分;其余内容请在仓库中阅读