Basic information
About mcp-code-runner Server
# mcp-code-runner [](https://smithery.ai/server/@axliupore/mcp-code-runner) 基于 MCP 协议的代码执行器,最后是通过 Docker 来进行代码执行的,所以本机上需要有 Docker 的环境. ## 支持功能 - [x] 支持 MCP 协议 - [x] 支持代码执行,获得代码执行的结果 - [ ] 获取代码执行的时间、内存等信息
mcp-code-runner is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by axliupore. Supported transport: stdio. Runtime: node. License: MIT. The repository has 18 GitHub stars. Source code is hosted on github.com.
mcp-code-runner config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
mcp-code-runner tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mcp-code-runner?
mcp-code-runner is a code executor that implements the Model Context Protocol (MCP). It runs code inside Docker containers and returns the execution results. It is designed for developers who need to safely execute code through an MCP-compatible client.
How to use mcp-code-runner?
The README does not provide specific installation or invocation instructions. It only states that Docker must be installed on the host machine because all code execution happens inside Docker containers.
Key features of mcp-code-runner
- Implements the MCP protocol.
- Executes code and returns results.
- Uses Docker for isolated execution.
- Requires Docker to be installed locally.
Use cases of mcp-code-runner
- Execute code snippets from an MCP client.
- Run user-provided code in a sandboxed Docker environment.
- Integrate code execution capabilities into AI assistants or tools that speak MCP.
Frequently asked questions
1 What does mcp-code-runner do?
It is a code executor that uses Docker to safely run code and return the output. It communicates via the MCP protocol.
2 Does mcp-code-runner require any special setup?
Yes. You must have Docker installed on the machine where the server runs, because all code execution happens inside Docker containers.
3 Can mcp-code-runner report execution time or memory usage?
Currently, no. The README lists these as planned features, but they are not yet implemented. Only the code output is returned.
4 Is mcp-code-runner an MCP server?
Yes. It implements the Model Context Protocol, so it can be used with any MCP-compatible client.
5 What programming languages does mcp-code-runner support?
The README does not specify supported languages. The only detail given is that execution happens via Docker, so the actual language support likely depends on the Docker image used.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In