ipybox
活跃·★ 74·Apache-2.0·更新于 2026-03-24
★ 宝藏工具★ 开发者工具
ipybox 是一个Python代码执行沙箱,原生支持通过程序化方式调用MCP工具。
ipybox 是一个Python代码执行沙箱,原生支持通过程序化方式调用MCP工具。它根据MCP服务器的工具模式生成类型化的Python工具API,支持本地stdio和远程HTTP服务器。代码在沙箱化的IPython内核中执行,并需要应用层批准每次MCP工具调用以确保安全。
#Claude Code 插件#code-execution#code-interpreter#code-mode#code-sandbox#ipython#MCP 协议#MCP 客户端
01
功能特性
01跨IPython内核会话的有状态代码执行
02通过Anthropic的sandbox-runtime实现轻量级沙箱
03从Python代码以编程方式调用MCP工具
04在应用层级对MCP工具调用进行批准
05本地代码执行,无云端依赖
02
兼容性
Python
Python
已通过文档验证
IPython
IPython
已通过文档验证
MCP
MCP
已通过文档验证
03
快速开始
1
$ pip install ipybox
04
使用场景
↳构建通过Python代码执行行动(code action)的智能体应用
↳将ipybox作为Python SDK用于自定义应用程序
↳将ipybox作为MCP服务器暴露,用于代码执行和工具调用
05
同类工具
相关搜索
评论
登录后发表评论
- RRobin Johnson2026年4月11日
The programmatic tool calling from within executed code is a clever meta-capability
- CCasey Clark2026年4月8日
Isolation model is well designed, execution failures stay contained
- DDylan Patel2026年3月26日
Used for data analysis agents that generate and run their own analysis scripts
- DDrew Clark2026年3月11日
Python sandbox with MCP calling is a safe way to let agents execute arbitrary code