mcp-code-runner

mcp-code-runner

A Docker-based code runner implementing the MCP protocol

14
Stars
4
Forks
14
Watchers
1
Issues
mcp-code-runner is a code execution service built on top of the Model Context Protocol (MCP). It enables users to execute code securely within Docker containers and retrieve the execution results. The tool is designed to support code execution use cases while adhering to the MCP standard for interoperability. A local Docker environment is required for operation.

Key Features

Implements the MCP protocol
Executes code within Docker containers
Returns code execution results
Supports isolated code execution environments
Planned support for time and memory usage reporting
Requires local Docker setup
Focuses on security and reproducibility
Designed for standardization and interoperability
Suitable for integrating with automated systems
Supports multiple code execution use cases

Use Cases

Secure code evaluation in educational platforms
Automated grading of programming assignments
Online code runner services
Integrating standardized code execution into AI workflows
Building remote code execution APIs
Developing safe sandbox environments for user-submitted code
Prototyping containerized code execution pipelines
Compliance testing for MCP implementations
Benchmarking code snippets in a controlled setting
Enabling reproducible code runs in research

README

mcp-code-runner

smithery badge

基于 MCP 协议的代码执行器,最后是通过 Docker 来进行代码执行的,所以本机上需要有 Docker 的环境.

支持功能

  • 支持 MCP 协议
  • 支持代码执行,获得代码执行的结果
  • 获取代码执行的时间、内存等信息

Star History

Star History Chart

Repository Owner

axliupore
axliupore

User

Repository Details

Language TypeScript
Default Branch main
Size 4 KB
Contributors 1
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

TypeScript
79.58%
JavaScript
14.79%
Dockerfile
5.63%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Semgrep MCP Server

    Semgrep MCP Server

    A Model Context Protocol server powered by Semgrep for seamless code analysis integration.

    Semgrep MCP Server implements the Model Context Protocol (MCP) to enable efficient and standardized communication for code analysis tasks. It facilitates integration with platforms like LM Studio, Cursor, and Visual Studio Code, providing both Docker and Python (PyPI) deployment options. The tool is now maintained in the main Semgrep repository with continued updates, enhancing compatibility and support across developer tools.

    • 611
    • MCP
    • semgrep/mcp
  • Edge Delta MCP Server

    Edge Delta MCP Server

    Seamlessly integrate Edge Delta APIs into the Model Context Protocol ecosystem.

    Edge Delta MCP Server is a Model Context Protocol server enabling advanced integration with Edge Delta APIs. It allows developers and tools to extract, analyze, and automate observability data from Edge Delta through standardized MCP interfaces. The server supports AI-powered applications and automations, and can be deployed via Docker for straightforward operation. The Go API is available for experimental programmatic access.

    • 5
    • MCP
    • edgedelta/edgedelta-mcp-server
  • Endor

    Endor

    Instant, private, sandboxed environments for popular services with seamless AI agent integration.

    Endor provides on-demand, ephemeral local environments for databases and other services, running securely in isolated VMs. It includes a Model Context Protocol (MCP) mode, enabling AI agents and tools to launch and manage services programmatically and securely. Users can deploy services like MariaDB, PostgreSQL, and more, with no complex system setup required. Integration guides and support for IDEs and agent tools like Claude Code, Cursor, and VSCode are provided.

    • 25
    • MCP
    • endorhq/cli
  • MCP Unity Editor

    MCP Unity Editor

    A Model Context Protocol implementation for Unity game development.

    MCP Unity Editor implements the Model Context Protocol within the Unity Editor environment, enabling standardized management of model context. It provides tools and infrastructure for developers to build and integrate AI and model-driven workflows in Unity projects. Built with support for Unity and Node.js, it aims to facilitate robust context handling and protocol compliance for model interactions.

    • 1,075
    • MCP
    • CoderGamester/mcp-unity
  • CMD MCP Server

    CMD MCP Server

    Execute CMD commands via the Model Context Protocol with cross-platform and SSH support.

    CMD MCP Server is an implementation of the Model Context Protocol (MCP) for executing CMD commands on Windows and Linux systems, with additional support for SSH connections. It enables seamless integration of command-line operations with MCP-compatible applications, leveraging the official MCP SDK. Written in TypeScript for cross-platform compatibility, it allows programmatic execution, configuration, and extension of CMD operations through standardized protocols. The server is designed for easy installation, robust configuration, and developer-friendly extension.

    • 22
    • MCP
    • PhialsBasement/CMD-MCP-Server
  • mcp-server-docker

    mcp-server-docker

    Natural language management of Docker containers via Model Context Protocol.

    mcp-server-docker enables users to manage Docker containers using natural language instructions through the Model Context Protocol. It allows composing, introspecting, and debugging containers, as well as managing persistent Docker volumes. The tool is suitable for server administrators, tinkerers, and AI enthusiasts looking to leverage LLM capabilities for Docker management. Integration with tools like Claude Desktop and Docker ensures flexible deployment and easy connectivity to Docker engines.

    • 648
    • MCP
    • ckreiling/mcp-server-docker
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results