Mcp Code Executor Server
About
dedicated isolated environment for your AI agent
Details
- License
- MIT license
Explore
Multi-Language Support: Java, Python, JavaScript, TypeScript, and C++.
Secure Execution: Isolated containers with resource limits (CPU, memory, timeouts).
MCP Integration: Conformant MCP server for seamless client discovery.
Automatic Compilation: Handles compile-and-run for Java, C++, and TypeScript.
Detailed Error Feedback: Returns both compile-time and runtime error messages.
Resource Cleanup: Automatically deletes temporary files and enforces execution timeouts.
---
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Mcp Code Executor ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Java 17+
Python 3.8+
Node.js & npm
g++ or another C++ compiler
1. Clone the repository:
git clone https://github.com/yourusername/mcp-code-executor-server.git
cd mcp-code-executor-server
2. Build & Run:
```bash
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp code executor server": {
"mcp-code-executor-server": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-code-executor",
"."
]
}
}
}
}
McpServers
{
"mcp-code-executor-server": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-code-executor",
"."
]
}
}
A robust Model Context Protocol (MCP) server that enables AI agents to execute code across multiple programming languages in a secure, isolated environment.
---
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



