经 AI Skill Hub 精选评估,Elixir MCP工具:pi-elixir 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Elixir MCP工具:pi-elixir 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Elixir MCP工具:pi-elixir 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/dannote/pi-elixir
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"elixir-mcp---pi-elixir": {
"command": "npx",
"args": ["-y", "pi-elixir"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Elixir MCP工具:pi-elixir 执行以下任务... Claude: [自动调用 Elixir MCP工具:pi-elixir MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"elixir_mcp___pi-elixir": {
"command": "npx",
"args": ["-y", "pi-elixir"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
pi-elixir is the pi bridge for BEAM-native, verifiable Elixir development.
It gives pi a live connection to the running Elixir system, structural Elixir AST tools, supervised BEAM sessions, and resumable eval state. The emphasis is on callable capabilities and verifiers, not only instructions: the agent can inspect runtime state, make syntax-aware changes, and validate them from formatter/compile/test checks up through duplication, static analysis, and architecture/smell checks.
This follows the broader Vibe direction: few model-facing tools outside, rich composable Elixir APIs inside, structured BEAM payloads rendered by pi, and verification through runtime state plus structural analysis.
Real pi TUI output looks like this — compact tool calls, real BEAM status, and session trees rendered in the transcript/widget:
iex case Pi.Agent.parallel(["Reply only: child A ok", "Reply only: child B ok"], name: :review_smoke, timeout: 60000) d…
(70000ms)
%{status: :ok, kind: :parallel, results: ["child A ok", "child B ok"]}
Took 6.8s
✓ review_smoke
2 done
├─ ✓ review_smoke child A ok
└─ ✓ review_smoke child B ok
(ctrl+o to expand)
~/my_app
↑37k ↓156 $0.190 (sub) 6.9%/272k (auto) (openai-codex) gpt-5.5 • medium
⬡ BEAM (embedded)
pi install npm:pi-elixir
When a Mix project needs embedded runtime access, pi asks before adding the exact dev-only Hex dependency:
{:pi_bridge, "== 0.6.2", only: :dev}
The exact version matters: npm pi-elixir and Hex pi_bridge are released together and must speak the same protocol.
For local development:
git clone https://github.com/dannote/pi-elixir
cd pi-elixir
pnpm install
cd packages/bridge && mix deps.get && cd ../..
pi install "$PWD"
export PI_MCP_URL=http://localhost:4001/mcp export PI_DISABLE_EMBEDDED=1 ```
Status is actionable: external/embedded/starting/missing/incompatible/offline plus integration-specific status such as Phoenix endpoints.
Feature flags are escape hatches for noisy, sensitive, or experimental environments:
| Capability | Default | Escape hatch |
|---|---|---|
Stateful elixir_eval | on | PI_ELIXIR_STATEFUL_EVAL=0 |
| Eval sidecar snapshots | on | PI_ELIXIR_EVAL_SIDECAR=0 |
| BEAM LLM / ReqLLM | on | PI_ELIXIR_LLM=0 |
| BEAM sessions/widgets/control | on | PI_ELIXIR_SESSIONS=0 |
| Project plugins/hooks/UI/commands | on | PI_ELIXIR_PLUGINS=0 |
| Executable Elixir skills | on | PI_ELIXIR_SKILLS=0 |
| Extra-short eval previews | off | PI_ELIXIR_COMPACT_EVAL_PREVIEW=1 |
pi-elixir是一个开源的MCP工具,连接到运行中的Elixir应用,提供BEAM runtime工具,支持live-introspection和coding-agent功能,提高开发效率和应用性能,值得关注。
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:Elixir MCP工具:pi-elixir 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | pi-elixir |
| 原始描述 | 开源MCP工具:BEAM runtime tools for pi — connects to the running Elixir app via Tidewave。⭐74 · Elixir |
| Topics | ElixirMCPBEAM |
| GitHub | https://github.com/dannote/pi-elixir |
| 语言 | Elixir |
收录时间:2026-06-09 · 更新时间:2026-06-09 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端