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.6.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.6-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: code_executor_mcp-1.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 d83d86a9a29e286a2c4926d00120cd56ddeca73d6606093ba79ee997ae410603
MD5 a0497782d88d5f8ff34990e3a26c5acb
BLAKE2b-256 24bea9f7c5ffe49d227017d5ce60f45b9f490a615087ab2af282a9901a052b98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for code_executor_mcp-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8070110ef62105951dbde3a34672d732331eb12625a4fe9e431341526ef97214
MD5 a57340710d215992c1a15cb6e7e0f202
BLAKE2b-256 21d5e078373e456c4dfb696301b03073dddb729769944d0a80259188d8b8399d

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