MCP server for code executor. Features execute code, run command, run tests. From MEOK AI Labs.
Project description
Quick Install
| Client | Install |
|---|---|
| Claude Desktop | |
| Cursor | |
| VS Code | |
| 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a9d497c0cfa3ac728ceeac66f4f14e4f09aa0e910d973929c7ca599f20c51b2
|
|
| MD5 |
d7393eabeac775655f8d85cffc27e2db
|
|
| BLAKE2b-256 |
e7107287177baa281cfa55a85d74f03afb01270d04e8a7d145280e88f11b4d2e
|
File details
Details for the file code_executor_mcp-1.0.7-py3-none-any.whl.
File metadata
- Download URL: code_executor_mcp-1.0.7-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
995f9e46de027b2243575e39910eb78f16e0fbf016c34cba53f138fc80b4b79d
|
|
| MD5 |
29438b41899d9830833c092c7452dd57
|
|
| BLAKE2b-256 |
150116c45d4f934c0b0775a10f25a3bfe06dada53b3869bdba696d791ae3144e
|