Skip to main content

MCP server for code executor. Features execute code, run command, run tests. From MEOK AI Labs.

Project description

Code Executor MCP

MCP server for code executor mcp operations

PyPI License: MIT MEOK AI Labs

Quick Install

Client Install
Claude Desktop Install in Claude
Cursor Install in Cursor
VS Code Install in VS Code
Windsurf Install in Windsurf
Docker docker run -p 8000:8000 code-executor-mcp
pip pip install code-executor-mcp

Overview

Code Executor MCP provides AI-powered tools via the Model Context Protocol (MCP).

Tools

Tool Description
execute_code Execute code in a sandboxed environment with safety checks.
run_command Execute a shell command and return stdout/stderr/exit_code.
run_tests Run a test suite and return results. Default: pytest.
read_file Read contents of a file (restricted to allowed directories: Desktop,
list_sandbox_files List files in the sandbox working directory. All code execution
get_safety_rules Get the current safety rules and blocked patterns for code execution.

Installation

pip install meok-code-executor-mcp

Usage with Claude Desktop

Add to your Claude Desktop MCP config (claude_desktop_config.json):

{
  "mcpServers": {
    "code-executor-mcp": {
      "command": "python",
      "args": ["-m", "meok_code_executor_mcp.server"]
    }
  }
}

Usage with FastMCP

from mcp.server.fastmcp import FastMCP

# This server exposes 6 tool(s) via MCP
# See server.py for full implementation

License

MIT © MEOK AI Labs


Pairs with MEOK Governance Suite

Build something that touches users? You need compliance. MEOK ships 38 governance MCPs that drop in alongside this tool — EU AI Act, DORA, NIS2, CRA, GDPR, ISO 42001, FDA SaMD, MDR, Basel, MiFID II, MiCA, COPPA, and more.

# One-shot install of the governance pack
npx meok-setup --pack governance

Free tier: 10 calls/day per MCP. Pro tier (£79/mo): unlimited + cryptographically signed compliance attestations your auditor verifies independently.

→ Full catalogue: councilof.ai/catalogue → MEOK AI Labs: meok.ai

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

code_executor_mcp-1.0.7.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

code_executor_mcp-1.0.7-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file code_executor_mcp-1.0.7.tar.gz.

File metadata

  • Download URL: code_executor_mcp-1.0.7.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for code_executor_mcp-1.0.7.tar.gz
Algorithm Hash digest
SHA256 6a9d497c0cfa3ac728ceeac66f4f14e4f09aa0e910d973929c7ca599f20c51b2
MD5 d7393eabeac775655f8d85cffc27e2db
BLAKE2b-256 e7107287177baa281cfa55a85d74f03afb01270d04e8a7d145280e88f11b4d2e

See more details on using hashes here.

File details

Details for the file code_executor_mcp-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for code_executor_mcp-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 995f9e46de027b2243575e39910eb78f16e0fbf016c34cba53f138fc80b4b79d
MD5 29438b41899d9830833c092c7452dd57
BLAKE2b-256 150116c45d4f934c0b0775a10f25a3bfe06dada53b3869bdba696d791ae3144e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page