Mcp Code Executor Server

by mouadenna

248 downloads
Not rated
GitHub

About

dedicated isolated environment for your AI agent

Details

Author
mouadenna
Downloads
248
Categories
Developer Tools

- Multi-language support: Java, Python, JavaScript, TypeScript, C++
- Secure execution in isolated containers with resource limits
- MCP integration for seamless client discovery
- Automatic compilation for Java, C++, and TypeScript
- Detailed compile-time and runtime error feedback
- Automatic cleanup of temporary files and 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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mcp Code Executor Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, build with ./mvnw clean package, and start the server with ./mvnw spring-boot:run. The server listens on port 8080 by default. Alternatively, run via Docker using docker build -t mcp-code-executor . and docker run -p 8080:8080 mcp-code-executor. Connect an MCP-compatible AI client to http://localhost:8080 and invoke the code-execution tool with a JSON payload specifying language and code.

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",
            "."
        ]
    }
}

MCP Code Executor Server

A robust Model Context Protocol (MCP) server that enables AI agents to execute code across multiple programming languages in a secure, isolated environment.

---

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.