MCP Code Runner
A code executor based on the MCP protocol, which executes code in a Docker environment and returns the result.
rating : 2.5 points
downloads : 24
What is MCP Code Runner?
MCP Code Runner is a code execution tool based on the Model Context Protocol (MCP), allowing users to submit and run code in a simple way. It utilizes Docker container technology to ensure code security and isolation.How to use MCP Code Runner?
You just need to provide the code snippet to be executed, and MCP Code Runner will automatically run the code in an isolated environment and return the execution result.Applicable scenarios
Suitable for developers and technicians who need to quickly test code, verify algorithm logic, or execute small scripts.Main features
Support for MCP protocolMCP Code Runner follows the Model Context Protocol standard, facilitating integration into existing systems.
Code executionUsers can submit code snippets in multiple programming languages and execute them in a secure environment.
Planned expansionFuture versions may support recording code execution time and memory usage.
Advantages and limitations
Advantages
Easy to use, no complex configuration required.
Provides a code isolation environment to ensure security.
Supports multiple mainstream programming languages.
Very friendly to beginners.
Limitations
Requires a local Docker environment to use.
Currently only supports simple code snippet execution.
Does not support long - running tasks.
How to use
Install Docker
Ensure that Docker is installed and running properly on your computer.
Upload code
Paste the code to be executed into the specified area.
Start execution
Click the button to start executing the code.
Usage examples
Print Hello, World!Test if the code runs successfully.
Calculate a mathematical expressionVerify basic mathematical operations.
Frequently Asked Questions
Why do I need to install Docker?
Which programming languages are supported?
Can long - running tasks be executed?
Related resources
Docker official documentation
Understand the basic usage of Docker.
GitHub project repository
Access the open - source code of MCP Code Runner.
Example code set
More usage cases and example code.
Featured MCP Services

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
827
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
140
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
563
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
752
4.8 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
282
4.5 points