article
README
🚀 mcp-code-runner
基于 MCP 协议的代码执行器,借助 Docker 环境实现代码执行,因此需要本机具备 Docker 环境。
🚀 快速开始
本项目是基于 MCP 协议的代码执行器,最终通过 Docker 进行代码执行,所以请确保本机已配置好 Docker 环境。
✨ 主要特性
- [x] 支持 MCP 协议
- [x] 支持代码执行,并获取代码执行的结果
- [ ] 获取代码执行的时间、内存等信息
基于 MCP 协议的代码执行器,借助 Docker 环境实现代码执行,因此需要本机具备 Docker 环境。
本项目是基于 MCP 协议的代码执行器,最终通过 Docker 进行代码执行,所以请确保本机已配置好 Docker 环境。
Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive
Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed