code-executor-mcp 1.0.7__tar.gz → 1.0.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/.github/FUNDING.yml +1 -1
  2. code_executor_mcp-1.0.9/.github/dependabot.yml +16 -0
  3. code_executor_mcp-1.0.9/.github/workflows/codeql.yml +44 -0
  4. code_executor_mcp-1.0.9/.github/workflows/scorecard.yml +45 -0
  5. code_executor_mcp-1.0.9/.well-known/agent-card.json +117 -0
  6. code_executor_mcp-1.0.9/.well-known/agent.json +86 -0
  7. code_executor_mcp-1.0.9/CHANGELOG.md +11 -0
  8. code_executor_mcp-1.0.9/PKG-INFO +166 -0
  9. code_executor_mcp-1.0.9/README.md +128 -0
  10. code_executor_mcp-1.0.9/acp.json +25 -0
  11. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/auth_middleware.py +3 -3
  12. code_executor_mcp-1.0.9/icon.png +0 -0
  13. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/pyproject.toml +2 -2
  14. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/server.py +19 -2
  15. code_executor_mcp-1.0.7/PKG-INFO +0 -128
  16. code_executor_mcp-1.0.7/README.md +0 -90
  17. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/.cursorrules +0 -0
  18. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/.github/workflows/mcp-smithery-publish.yml +0 -0
  19. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/.github/workflows/test.yml +0 -0
  20. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/.gitignore +0 -0
  21. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/.mcp.json +0 -0
  22. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/.well-known/mcp/server-card.json +0 -0
  23. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/.well-known/mcp-server-card.json +0 -0
  24. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/CODE_OF_CONDUCT.md +0 -0
  25. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/CONTRIBUTING.md +0 -0
  26. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/Dockerfile +0 -0
  27. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/Dockerfile.glama +0 -0
  28. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/LICENSE +0 -0
  29. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/SECURITY.md +0 -0
  30. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/SKILL.md +0 -0
  31. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/glama.json +0 -0
  32. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/llms.txt +0 -0
  33. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/mcp-wrapper.py +0 -0
  34. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/package.json +0 -0
  35. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/pytest.ini +0 -0
  36. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/server.json +0 -0
  37. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/smithery.yaml +0 -0
  38. {code_executor_mcp-1.0.7 → code_executor_mcp-1.0.9}/tests/test_server.py +0 -0
@@ -3,6 +3,6 @@
3
3
 
4
4
  github: [CSOAI-ORG]
5
5
  custom:
6
- - "https://buy.stripe.com/eVq9AV4O87sudMF42k8k839"
6
+ - "https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j"
7
7
  - "https://meok.ai/sponsor"
8
8
  - "https://nlnet.nl/propose"
@@ -0,0 +1,16 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "pip"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ open-pull-requests-limit: 10
8
+ labels:
9
+ - "dependencies"
10
+ - package-ecosystem: "github-actions"
11
+ directory: "/"
12
+ schedule:
13
+ interval: "weekly"
14
+ open-pull-requests-limit: 10
15
+ labels:
16
+ - "github-actions"
@@ -0,0 +1,44 @@
1
+ name: "CodeQL"
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+ schedule:
9
+ - cron: '21 5 * * 1' # weekly, Monday 05:21 UTC
10
+
11
+ permissions:
12
+ contents: read
13
+
14
+ jobs:
15
+ analyze:
16
+ name: Analyze (${{ matrix.language }})
17
+ runs-on: ubuntu-latest
18
+ permissions:
19
+ actions: read
20
+ contents: read
21
+ security-events: write
22
+
23
+ strategy:
24
+ fail-fast: false
25
+ matrix:
26
+ language: [ 'python' ]
27
+
28
+ steps:
29
+ - name: Checkout repository
30
+ uses: actions/checkout@v4
31
+
32
+ - name: Initialize CodeQL
33
+ uses: github/codeql-action/init@v3
34
+ with:
35
+ languages: ${{ matrix.language }}
36
+ queries: security-and-quality
37
+
38
+ - name: Autobuild
39
+ uses: github/codeql-action/autobuild@v3
40
+
41
+ - name: Perform CodeQL Analysis
42
+ uses: github/codeql-action/analyze@v3
43
+ with:
44
+ category: "/language:${{ matrix.language }}"
@@ -0,0 +1,45 @@
1
+ name: Scorecard supply-chain security
2
+
3
+ on:
4
+ branch_protection_rule:
5
+ schedule:
6
+ - cron: '32 6 * * 1' # weekly, Monday 06:32 UTC
7
+ push:
8
+ branches: [ "main" ]
9
+
10
+ permissions: read-all
11
+
12
+ jobs:
13
+ analysis:
14
+ name: Scorecard analysis
15
+ runs-on: ubuntu-latest
16
+ permissions:
17
+ security-events: write
18
+ id-token: write
19
+ contents: read
20
+ actions: read
21
+
22
+ steps:
23
+ - name: "Checkout code"
24
+ uses: actions/checkout@v4
25
+ with:
26
+ persist-credentials: false
27
+
28
+ - name: "Run analysis"
29
+ uses: ossf/scorecard-action@v2.4.0
30
+ with:
31
+ results_file: results.sarif
32
+ results_format: sarif
33
+ publish_results: true
34
+
35
+ - name: "Upload artifact"
36
+ uses: actions/upload-artifact@v4
37
+ with:
38
+ name: SARIF file
39
+ path: results.sarif
40
+ retention-days: 5
41
+
42
+ - name: "Upload to code-scanning"
43
+ uses: github/codeql-action/upload-sarif@v3
44
+ with:
45
+ sarif_file: results.sarif
@@ -0,0 +1,117 @@
1
+ {
2
+ "name": "Meok Mcp",
3
+ "version": "1.0.0",
4
+ "url": "https://mcp.meok.ai/meok-mcp/a2a",
5
+ "capabilities": {
6
+ "streaming": false,
7
+ "pushNotifications": false,
8
+ "stateTransitionHistory": false
9
+ },
10
+ "protocolVersion": "0.3.0",
11
+ "description": "Meok Mcp — a MEOK compliance MCP, exposed over A2A.",
12
+ "provider": {
13
+ "organization": "MEOK AI LABS",
14
+ "url": "https://meok.ai"
15
+ },
16
+ "defaultInputModes": [
17
+ "application/json",
18
+ "text/plain"
19
+ ],
20
+ "defaultOutputModes": [
21
+ "application/json",
22
+ "text/plain"
23
+ ],
24
+ "skills": [
25
+ {
26
+ "id": "execute_code",
27
+ "name": "Execute Code",
28
+ "description": "MCP tool from MEOK AI Labs",
29
+ "tags": [
30
+ "compliance",
31
+ "a2a"
32
+ ],
33
+ "inputModes": [
34
+ "application/json",
35
+ "text/plain"
36
+ ],
37
+ "outputModes": [
38
+ "application/json",
39
+ "text/plain"
40
+ ]
41
+ },
42
+ {
43
+ "id": "run_command",
44
+ "name": "Run Command",
45
+ "description": "MCP tool from MEOK AI Labs",
46
+ "tags": [
47
+ "compliance",
48
+ "a2a"
49
+ ],
50
+ "inputModes": [
51
+ "application/json",
52
+ "text/plain"
53
+ ],
54
+ "outputModes": [
55
+ "application/json",
56
+ "text/plain"
57
+ ]
58
+ },
59
+ {
60
+ "id": "run_tests",
61
+ "name": "Run Tests",
62
+ "description": "MCP tool from MEOK AI Labs",
63
+ "tags": [
64
+ "compliance",
65
+ "a2a"
66
+ ],
67
+ "inputModes": [
68
+ "application/json",
69
+ "text/plain"
70
+ ],
71
+ "outputModes": [
72
+ "application/json",
73
+ "text/plain"
74
+ ]
75
+ },
76
+ {
77
+ "id": "read_file",
78
+ "name": "Read File",
79
+ "description": "MCP tool from MEOK AI Labs",
80
+ "tags": [
81
+ "compliance",
82
+ "a2a"
83
+ ],
84
+ "inputModes": [
85
+ "application/json",
86
+ "text/plain"
87
+ ],
88
+ "outputModes": [
89
+ "application/json",
90
+ "text/plain"
91
+ ]
92
+ },
93
+ {
94
+ "id": "list_sandbox_files",
95
+ "name": "List Sandbox Files",
96
+ "description": "MCP tool from MEOK AI Labs",
97
+ "tags": [
98
+ "compliance",
99
+ "a2a"
100
+ ],
101
+ "inputModes": [
102
+ "application/json",
103
+ "text/plain"
104
+ ],
105
+ "outputModes": [
106
+ "application/json",
107
+ "text/plain"
108
+ ]
109
+ }
110
+ ],
111
+ "documentationUrl": "https://meok.ai/developers",
112
+ "x-meok": {
113
+ "mcp_name": "meok-mcp",
114
+ "verifier": "https://proofof.ai/verify",
115
+ "governed_by": "CSOAI 52-article charter"
116
+ }
117
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "code-executor-mcp",
3
+ "description": "Code Executor MCP Server by MEOK AI Labs",
4
+ "url": "https://proofof.ai/scorecard/code-executor-mcp.html",
5
+ "version": "1.0.7",
6
+ "protocolVersion": "0.2.0",
7
+ "provider": {
8
+ "organization": "MEOK AI Labs",
9
+ "url": "https://meok.ai"
10
+ },
11
+ "capabilities": {
12
+ "streaming": false,
13
+ "pushNotifications": false
14
+ },
15
+ "defaultInputModes": [
16
+ "text"
17
+ ],
18
+ "defaultOutputModes": [
19
+ "text"
20
+ ],
21
+ "skills": [
22
+ {
23
+ "id": "execute_code",
24
+ "name": "Execute Code",
25
+ "description": "execute_code via code-executor-mcp",
26
+ "tags": [
27
+ "mcp",
28
+ "compliance"
29
+ ]
30
+ },
31
+ {
32
+ "id": "run_command",
33
+ "name": "Run Command",
34
+ "description": "run_command via code-executor-mcp",
35
+ "tags": [
36
+ "mcp",
37
+ "compliance"
38
+ ]
39
+ },
40
+ {
41
+ "id": "run_tests",
42
+ "name": "Run Tests",
43
+ "description": "run_tests via code-executor-mcp",
44
+ "tags": [
45
+ "mcp",
46
+ "compliance"
47
+ ]
48
+ },
49
+ {
50
+ "id": "read_file",
51
+ "name": "Read File",
52
+ "description": "read_file via code-executor-mcp",
53
+ "tags": [
54
+ "mcp",
55
+ "compliance"
56
+ ]
57
+ },
58
+ {
59
+ "id": "list_sandbox_files",
60
+ "name": "List Sandbox Files",
61
+ "description": "list_sandbox_files via code-executor-mcp",
62
+ "tags": [
63
+ "mcp",
64
+ "compliance"
65
+ ]
66
+ },
67
+ {
68
+ "id": "get_safety_rules",
69
+ "name": "Get Safety Rules",
70
+ "description": "get_safety_rules via code-executor-mcp",
71
+ "tags": [
72
+ "mcp",
73
+ "compliance"
74
+ ]
75
+ },
76
+ {
77
+ "id": "execute_code_docker",
78
+ "name": "Execute Code Docker",
79
+ "description": "execute_code_docker via code-executor-mcp",
80
+ "tags": [
81
+ "mcp",
82
+ "compliance"
83
+ ]
84
+ }
85
+ ]
86
+ }
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+
3
+ All notable changes are documented here, following
4
+ [Keep a Changelog](https://keepachangelog.com/) and [SemVer](https://semver.org/).
5
+
6
+ ## [1.0.7] - 2026-06-07
7
+ ### Added
8
+ - Production-readiness surface: server card (`.well-known/mcp-server-card.json`),
9
+ `llms.txt`, security policy, configuration + examples in the README.
10
+ ### Changed
11
+ - Verified clean install + import; published to PyPI.
@@ -0,0 +1,166 @@
1
+ Metadata-Version: 2.4
2
+ Name: code-executor-mcp
3
+ Version: 1.0.9
4
+ Summary: MCP server for code executor. Features execute code, run command, run tests. From MEOK AI Labs.
5
+ Project-URL: Homepage, https://meok.ai
6
+ Project-URL: Repository, https://github.com/CSOAI-ORG/code-executor-mcp
7
+ Author-email: MEOK AI Labs <nicholas@meok.ai>
8
+ License: MIT License
9
+
10
+ Copyright (c) 2026 MEOK AI Labs (meok.ai)
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+ License-File: LICENSE
30
+ Keywords: ai,mcp,meok
31
+ Classifier: License :: OSI Approved :: MIT License
32
+ Classifier: Operating System :: OS Independent
33
+ Classifier: Programming Language :: Python :: 3
34
+ Classifier: Topic :: Software Development :: Libraries
35
+ Requires-Python: >=3.10
36
+ Requires-Dist: mcp>=1.0.0
37
+ Description-Content-Type: text/markdown
38
+
39
+ <!-- mcp-name: CSOAI-ORG/code-executor-mcp -->
40
+ [![MCP Scorecard: 74/100](https://img.shields.io/badge/proofof.ai-74%2F100-5b21b6)](https://proofof.ai/scorecard/code-executor-mcp.html)
41
+
42
+ # Code Executor MCP
43
+
44
+ [![MEOK AI Labs](https://img.shields.io/badge/MEOK-AI%20Labs-667eea)](https://meok.ai)
45
+ [![EU AI Act](https://img.shields.io/badge/EU%20AI%20Act-Compliant-22c55e)](https://councilof.ai)
46
+ [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
47
+ [![PyPI](https://img.shields.io/badge/PyPI-Install-3775a9)](https://pypi.org/project/code_executor_mcp/)
48
+
49
+ > Sandboxed code execution: Python, JavaScript, and shell commands with safety guards, output captu...
50
+
51
+ Sandboxed code execution: Python, JavaScript, and shell commands with safety guards, output capture, and timeout protection.
52
+
53
+ ---
54
+
55
+ ## Quick Install
56
+
57
+ | Client | Install |
58
+ |--------|---------|
59
+ | **Claude Desktop** | [![Install in Claude](https://img.shields.io/badge/Install-Claude-blue)](https://claude.ai) |
60
+ | **Cursor** | [![Install in Cursor](https://img.shields.io/badge/Install-Cursor-black)](https://cursor.com) |
61
+ | **VS Code** | [![Install in VS Code](https://img.shields.io/badge/Install-VS_Code-blue)](https://code.visualstudio.com) |
62
+ | **Windsurf** | [![Install in Windsurf](https://img.shields.io/badge/Install-Windsurf-purple)](https://codeium.com/windsurf) |
63
+ | **Docker** | `docker run -p 8000:8000 code-executor-mcp` |
64
+ | **pip** | `pip install code-executor-mcp` |
65
+
66
+ ## Overview
67
+
68
+ ## 🚀 Quick Start
69
+
70
+ ```bash
71
+ # Install via pip
72
+ pip install code_executor_mcp
73
+
74
+ # Or install via Smithery
75
+ npx -y @smithery/cli@latest install code-executor-mcp --client claude
76
+ ```
77
+
78
+ ## ✨ Features
79
+
80
+ - MCP protocol compliant
81
+ - Easy installation
82
+ - Well-documented API
83
+ - Production-ready
84
+ - Active maintenance
85
+
86
+ ## 📖 Documentation
87
+
88
+ - [Full Documentation](https://docs.meok.ai/code-executor-mcp)
89
+ - [API Reference](https://api.meok.ai)
90
+ - [EU AI Act Compliance Guide](https://councilof.ai/compliance)
91
+
92
+ ## 🛡️ Compliance
93
+
94
+ This MCP server is built with **EU AI Act compliance** built-in:
95
+
96
+ - ✅ Article 9 — Risk Management System
97
+ - ✅ Article 13 — Transparency & Instructions for Use
98
+ - ✅ Article 15 — Bias Detection & Testing
99
+ - ✅ Article 26 — FRIA Support (where applicable)
100
+ - ✅ Article 50 — AI Content Watermarking (where applicable)
101
+
102
+ Need help getting compliant? **[Book a free 15-min diagnostic →](https://cal.com/csoai/august-audit)**
103
+
104
+ ## 🏢 Enterprise
105
+
106
+ Need custom development, SLA guarantees, or white-label deployment?
107
+
108
+ - **Pro:** $99/mo — Full MCP suite + EU AI Act tracking
109
+ - **Enterprise:** $499/mo — Custom dev + SLA + Dedicated support
110
+
111
+ [View Pricing →](https://councilof.ai/pricing) | [Contact Sales →](mailto:sales@csoai.org)
112
+
113
+ ## 🤝 Part of the MEOK Ecosystem
114
+
115
+ This server is part of the **[MEOK AI Labs](https://meok.ai)** ecosystem — 300+ MCP servers for sovereign AI governance.
116
+
117
+ | Domain | Purpose |
118
+ |--------|---------|
119
+ | [councilof.ai](https://councilof.ai) | EU AI Act compliance marketplace |
120
+ | [safetyof.ai](https://safetyof.ai) | AI safety & monitoring |
121
+ | [meok.ai](https://meok.ai) | Sovereign AI platform |
122
+ | [cobolbridge.ai](https://cobolbridge.ai) | Legacy modernization |
123
+
124
+ ## 📜 License
125
+
126
+ MIT © [CSOAI-ORG](https://github.com/CSOAI-ORG)
127
+
128
+ ---
129
+
130
+ <p align="center">
131
+ <sub>Built with 💜 by <a href="https://meok.ai">MEOK AI Labs</a> · UK Companies House 16939677</sub>
132
+ </p>
133
+ MIT © [MEOK AI Labs](https://meok.ai)
134
+
135
+ <!-- meok-moat-footer-v1 -->
136
+ ---
137
+
138
+ ## Pairs with MEOK Governance Suite
139
+
140
+ 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.
141
+
142
+ ```bash
143
+ # One-shot install of the governance pack
144
+ npx meok-setup --pack governance
145
+ ```
146
+
147
+ Free tier: 10 calls/day per MCP. Pro tier (£79/mo): unlimited + cryptographically signed compliance attestations your auditor verifies independently.
148
+
149
+ → Full catalogue: [councilof.ai/catalogue](https://councilof.ai/catalogue)
150
+ → MEOK AI Labs: [meok.ai](https://meok.ai)
151
+
152
+ <!-- BUY-LADDER:START -->
153
+
154
+ ## 💸 Try MEOK in 30 seconds — instant buy ladder
155
+
156
+ | Tier | Price | What you get | Stripe |
157
+ |---|---|---|---|
158
+ | Smoke test | **£1** | Signed sample MCP-Hardening report + Article 50 PDF | <https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j> |
159
+ | Quick Kit | **£9** | EU AI Act Article 50 implementation guide (C2PA + EU-Icon) | <https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j> |
160
+ | Founder Call | **£29** | 30-min 1-on-1 with the founder | <https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j> |
161
+
162
+ > Refundable. UK Stripe — VAT-clean. Builds on the 81-MCP MEOK fleet.
163
+ > Verify any signed report at <https://meok.ai/verify>.
164
+
165
+ <!-- BUY-LADDER:END -->
166
+
@@ -0,0 +1,128 @@
1
+ <!-- mcp-name: CSOAI-ORG/code-executor-mcp -->
2
+ [![MCP Scorecard: 74/100](https://img.shields.io/badge/proofof.ai-74%2F100-5b21b6)](https://proofof.ai/scorecard/code-executor-mcp.html)
3
+
4
+ # Code Executor MCP
5
+
6
+ [![MEOK AI Labs](https://img.shields.io/badge/MEOK-AI%20Labs-667eea)](https://meok.ai)
7
+ [![EU AI Act](https://img.shields.io/badge/EU%20AI%20Act-Compliant-22c55e)](https://councilof.ai)
8
+ [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
9
+ [![PyPI](https://img.shields.io/badge/PyPI-Install-3775a9)](https://pypi.org/project/code_executor_mcp/)
10
+
11
+ > Sandboxed code execution: Python, JavaScript, and shell commands with safety guards, output captu...
12
+
13
+ Sandboxed code execution: Python, JavaScript, and shell commands with safety guards, output capture, and timeout protection.
14
+
15
+ ---
16
+
17
+ ## Quick Install
18
+
19
+ | Client | Install |
20
+ |--------|---------|
21
+ | **Claude Desktop** | [![Install in Claude](https://img.shields.io/badge/Install-Claude-blue)](https://claude.ai) |
22
+ | **Cursor** | [![Install in Cursor](https://img.shields.io/badge/Install-Cursor-black)](https://cursor.com) |
23
+ | **VS Code** | [![Install in VS Code](https://img.shields.io/badge/Install-VS_Code-blue)](https://code.visualstudio.com) |
24
+ | **Windsurf** | [![Install in Windsurf](https://img.shields.io/badge/Install-Windsurf-purple)](https://codeium.com/windsurf) |
25
+ | **Docker** | `docker run -p 8000:8000 code-executor-mcp` |
26
+ | **pip** | `pip install code-executor-mcp` |
27
+
28
+ ## Overview
29
+
30
+ ## 🚀 Quick Start
31
+
32
+ ```bash
33
+ # Install via pip
34
+ pip install code_executor_mcp
35
+
36
+ # Or install via Smithery
37
+ npx -y @smithery/cli@latest install code-executor-mcp --client claude
38
+ ```
39
+
40
+ ## ✨ Features
41
+
42
+ - MCP protocol compliant
43
+ - Easy installation
44
+ - Well-documented API
45
+ - Production-ready
46
+ - Active maintenance
47
+
48
+ ## 📖 Documentation
49
+
50
+ - [Full Documentation](https://docs.meok.ai/code-executor-mcp)
51
+ - [API Reference](https://api.meok.ai)
52
+ - [EU AI Act Compliance Guide](https://councilof.ai/compliance)
53
+
54
+ ## 🛡️ Compliance
55
+
56
+ This MCP server is built with **EU AI Act compliance** built-in:
57
+
58
+ - ✅ Article 9 — Risk Management System
59
+ - ✅ Article 13 — Transparency & Instructions for Use
60
+ - ✅ Article 15 — Bias Detection & Testing
61
+ - ✅ Article 26 — FRIA Support (where applicable)
62
+ - ✅ Article 50 — AI Content Watermarking (where applicable)
63
+
64
+ Need help getting compliant? **[Book a free 15-min diagnostic →](https://cal.com/csoai/august-audit)**
65
+
66
+ ## 🏢 Enterprise
67
+
68
+ Need custom development, SLA guarantees, or white-label deployment?
69
+
70
+ - **Pro:** $99/mo — Full MCP suite + EU AI Act tracking
71
+ - **Enterprise:** $499/mo — Custom dev + SLA + Dedicated support
72
+
73
+ [View Pricing →](https://councilof.ai/pricing) | [Contact Sales →](mailto:sales@csoai.org)
74
+
75
+ ## 🤝 Part of the MEOK Ecosystem
76
+
77
+ This server is part of the **[MEOK AI Labs](https://meok.ai)** ecosystem — 300+ MCP servers for sovereign AI governance.
78
+
79
+ | Domain | Purpose |
80
+ |--------|---------|
81
+ | [councilof.ai](https://councilof.ai) | EU AI Act compliance marketplace |
82
+ | [safetyof.ai](https://safetyof.ai) | AI safety & monitoring |
83
+ | [meok.ai](https://meok.ai) | Sovereign AI platform |
84
+ | [cobolbridge.ai](https://cobolbridge.ai) | Legacy modernization |
85
+
86
+ ## 📜 License
87
+
88
+ MIT © [CSOAI-ORG](https://github.com/CSOAI-ORG)
89
+
90
+ ---
91
+
92
+ <p align="center">
93
+ <sub>Built with 💜 by <a href="https://meok.ai">MEOK AI Labs</a> · UK Companies House 16939677</sub>
94
+ </p>
95
+ MIT © [MEOK AI Labs](https://meok.ai)
96
+
97
+ <!-- meok-moat-footer-v1 -->
98
+ ---
99
+
100
+ ## Pairs with MEOK Governance Suite
101
+
102
+ 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.
103
+
104
+ ```bash
105
+ # One-shot install of the governance pack
106
+ npx meok-setup --pack governance
107
+ ```
108
+
109
+ Free tier: 10 calls/day per MCP. Pro tier (£79/mo): unlimited + cryptographically signed compliance attestations your auditor verifies independently.
110
+
111
+ → Full catalogue: [councilof.ai/catalogue](https://councilof.ai/catalogue)
112
+ → MEOK AI Labs: [meok.ai](https://meok.ai)
113
+
114
+ <!-- BUY-LADDER:START -->
115
+
116
+ ## 💸 Try MEOK in 30 seconds — instant buy ladder
117
+
118
+ | Tier | Price | What you get | Stripe |
119
+ |---|---|---|---|
120
+ | Smoke test | **£1** | Signed sample MCP-Hardening report + Article 50 PDF | <https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j> |
121
+ | Quick Kit | **£9** | EU AI Act Article 50 implementation guide (C2PA + EU-Icon) | <https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j> |
122
+ | Founder Call | **£29** | 30-min 1-on-1 with the founder | <https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j> |
123
+
124
+ > Refundable. UK Stripe — VAT-clean. Builds on the 81-MCP MEOK fleet.
125
+ > Verify any signed report at <https://meok.ai/verify>.
126
+
127
+ <!-- BUY-LADDER:END -->
128
+
@@ -0,0 +1,25 @@
1
+ {
2
+ "acpVersion": "0.1",
3
+ "agent": {
4
+ "name": "code-executor-mcp",
5
+ "description": "Code Executor MCP Server by MEOK AI Labs",
6
+ "version": "1.0.7",
7
+ "provider": "MEOK AI Labs",
8
+ "interfaces": [
9
+ {
10
+ "type": "mcp",
11
+ "transport": "stdio",
12
+ "package": "code-executor-mcp"
13
+ }
14
+ ],
15
+ "capabilities": [
16
+ "execute_code",
17
+ "run_command",
18
+ "run_tests",
19
+ "read_file",
20
+ "list_sandbox_files",
21
+ "get_safety_rules",
22
+ "execute_code_docker"
23
+ ]
24
+ }
25
+ }
@@ -12,7 +12,7 @@ Usage in any server.py:
12
12
  async def my_tool(query: str, api_key: str = "") -> str:
13
13
  allowed, msg, tier = check_access(api_key)
14
14
  if not allowed:
15
- return json.dumps({"error": msg, "upgrade_url": "https://meok.ai/pricing"})
15
+ return json.dumps({"error": msg, "upgrade_url": "https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j"})
16
16
  # ... tool logic ...
17
17
  audit_log(api_key, "my_tool", "eu_ai_act", "result_summary", tier)
18
18
  return json.dumps(result)
@@ -121,7 +121,7 @@ def check_access(api_key: str = "", framework: str = None) -> Tuple[bool, str, T
121
121
  return (
122
122
  False,
123
123
  f"Rate limit reached ({max_calls}/day on {tier.value} tier). "
124
- f"Upgrade at https://meok.ai/pricing",
124
+ f"Upgrade at https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j",
125
125
  tier,
126
126
  )
127
127
 
@@ -141,7 +141,7 @@ def require_tier(minimum: Tier, current: Tier) -> Tuple[bool, str]:
141
141
  return (
142
142
  False,
143
143
  f"Requires {minimum.value} tier. Current: {current.value}. "
144
- f"Upgrade at https://meok.ai/pricing",
144
+ f"Upgrade at https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j",
145
145
  )
146
146
  return True, "OK"
147
147
 
Binary file
@@ -3,7 +3,7 @@ requires = ["hatchling"]
3
3
  build-backend = "hatchling.build"
4
4
  [project]
5
5
  name = "code-executor-mcp"
6
- version = "1.0.7"
6
+ version = "1.0.9"
7
7
  readme = "README.md"
8
8
  description = "MCP server for code executor. Features execute code, run command, run tests. From MEOK AI Labs."
9
9
  license = {file = "LICENSE"}
@@ -22,7 +22,7 @@ Homepage = "https://meok.ai"
22
22
  Repository = "https://github.com/CSOAI-ORG/code-executor-mcp"
23
23
  [tool.hatch.build.targets.wheel]
24
24
  packages = ["."]
25
- only-include = ["server.py"]
25
+ only-include = ["server.py", "auth_middleware.py"]
26
26
 
27
27
  [project.scripts]
28
28
  code_executor_mcp = "server:main"
@@ -666,7 +666,7 @@ async def execute_code_docker(code: str, language: str = "python", timeout_sec:
666
666
  """Execute code inside a temporary Docker container for isolation."""
667
667
  import subprocess, tempfile, os
668
668
 
669
- STRIPE_199 = "https://buy.stripe.com/14A4gB3K4eUWgYR56o8k836"
669
+ STRIPE_199 = "https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j"
670
670
 
671
671
  def _add_upgrade_tail(response, tier="free"):
672
672
  """Append upgrade nudge to free-tier success responses."""
@@ -717,4 +717,21 @@ def main():
717
717
  mcp.run()
718
718
 
719
719
  if __name__ == '__main__':
720
- main()
720
+ main()
721
+
722
+
723
+ # ── MEOK monetization layer (Stripe upgrade · PAYG · pricing) ──────────
724
+ # Free tier is zero-config. Upgrade to Pro (unlimited) or pay-as-you-go per call.
725
+ import os as _meok_os
726
+ MEOK_STRIPE_UPGRADE = "https://buy.stripe.com/5kQ6oJ0xS3ce8sl7ew8k91j" # Pro (unlimited)
727
+ MEOK_PAYG_KEY = _meok_os.environ.get("MEOK_PAYG_KEY", "") # set to enable PAYG (x402 / ~GBP0.05 per call)
728
+ MEOK_PRICING = "https://meok.ai/pricing"
729
+
730
+
731
+ def meok_upsell(tier: str = "free") -> dict:
732
+ """Monetization options for free-tier callers: Pro upgrade, PAYG, or pricing page."""
733
+ if tier != "free":
734
+ return {}
735
+ return {"upgrade_url": MEOK_STRIPE_UPGRADE,
736
+ "payg_enabled": bool(MEOK_PAYG_KEY),
737
+ "pricing": MEOK_PRICING}
@@ -1,128 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: code-executor-mcp
3
- Version: 1.0.7
4
- Summary: MCP server for code executor. Features execute code, run command, run tests. From MEOK AI Labs.
5
- Project-URL: Homepage, https://meok.ai
6
- Project-URL: Repository, https://github.com/CSOAI-ORG/code-executor-mcp
7
- Author-email: MEOK AI Labs <nicholas@meok.ai>
8
- License: MIT License
9
-
10
- Copyright (c) 2026 MEOK AI Labs (meok.ai)
11
-
12
- Permission is hereby granted, free of charge, to any person obtaining a copy
13
- of this software and associated documentation files (the "Software"), to deal
14
- in the Software without restriction, including without limitation the rights
15
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
- copies of the Software, and to permit persons to whom the Software is
17
- furnished to do so, subject to the following conditions:
18
-
19
- The above copyright notice and this permission notice shall be included in all
20
- copies or substantial portions of the Software.
21
-
22
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
- SOFTWARE.
29
- License-File: LICENSE
30
- Keywords: ai,mcp,meok
31
- Classifier: License :: OSI Approved :: MIT License
32
- Classifier: Operating System :: OS Independent
33
- Classifier: Programming Language :: Python :: 3
34
- Classifier: Topic :: Software Development :: Libraries
35
- Requires-Python: >=3.10
36
- Requires-Dist: mcp>=1.0.0
37
- Description-Content-Type: text/markdown
38
-
39
- <div align="center">
40
-
41
- # Code Executor MCP
42
-
43
- **MCP server for code executor mcp operations**
44
-
45
- [![PyPI](https://img.shields.io/pypi/v/meok-code-executor-mcp)](https://pypi.org/project/meok-code-executor-mcp/)
46
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
47
- [![MEOK AI Labs](https://img.shields.io/badge/MEOK_AI_Labs-MCP_Server-purple)](https://meok.ai)
48
-
49
- </div>
50
-
51
-
52
- ## Quick Install
53
-
54
- | Client | Install |
55
- |--------|---------|
56
- | **Claude Desktop** | [![Install in Claude](https://img.shields.io/badge/Install-Claude-blue)](https://claude.ai) |
57
- | **Cursor** | [![Install in Cursor](https://img.shields.io/badge/Install-Cursor-black)](https://cursor.com) |
58
- | **VS Code** | [![Install in VS Code](https://img.shields.io/badge/Install-VS_Code-blue)](https://code.visualstudio.com) |
59
- | **Windsurf** | [![Install in Windsurf](https://img.shields.io/badge/Install-Windsurf-purple)](https://codeium.com/windsurf) |
60
- | **Docker** | `docker run -p 8000:8000 code-executor-mcp` |
61
- | **pip** | `pip install code-executor-mcp` |
62
-
63
- ## Overview
64
-
65
- Code Executor MCP provides AI-powered tools via the Model Context Protocol (MCP).
66
-
67
- ## Tools
68
-
69
- | Tool | Description |
70
- |------|-------------|
71
- | `execute_code` | Execute code in a sandboxed environment with safety checks. |
72
- | `run_command` | Execute a shell command and return stdout/stderr/exit_code. |
73
- | `run_tests` | Run a test suite and return results. Default: pytest. |
74
- | `read_file` | Read contents of a file (restricted to allowed directories: Desktop, |
75
- | `list_sandbox_files` | List files in the sandbox working directory. All code execution |
76
- | `get_safety_rules` | Get the current safety rules and blocked patterns for code execution. |
77
-
78
- ## Installation
79
-
80
- ```bash
81
- pip install meok-code-executor-mcp
82
- ```
83
-
84
- ## Usage with Claude Desktop
85
-
86
- Add to your Claude Desktop MCP config (`claude_desktop_config.json`):
87
-
88
- ```json
89
- {
90
- "mcpServers": {
91
- "code-executor-mcp": {
92
- "command": "python",
93
- "args": ["-m", "meok_code_executor_mcp.server"]
94
- }
95
- }
96
- }
97
- ```
98
-
99
- ## Usage with FastMCP
100
-
101
- ```python
102
- from mcp.server.fastmcp import FastMCP
103
-
104
- # This server exposes 6 tool(s) via MCP
105
- # See server.py for full implementation
106
- ```
107
-
108
- ## License
109
-
110
- MIT © [MEOK AI Labs](https://meok.ai)
111
-
112
- <!-- meok-moat-footer-v1 -->
113
- ---
114
-
115
- ## Pairs with MEOK Governance Suite
116
-
117
- 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.
118
-
119
- ```bash
120
- # One-shot install of the governance pack
121
- npx meok-setup --pack governance
122
- ```
123
-
124
- Free tier: 10 calls/day per MCP. Pro tier (£79/mo): unlimited + cryptographically signed compliance attestations your auditor verifies independently.
125
-
126
- → Full catalogue: [councilof.ai/catalogue](https://councilof.ai/catalogue)
127
- → MEOK AI Labs: [meok.ai](https://meok.ai)
128
-
@@ -1,90 +0,0 @@
1
- <div align="center">
2
-
3
- # Code Executor MCP
4
-
5
- **MCP server for code executor mcp operations**
6
-
7
- [![PyPI](https://img.shields.io/pypi/v/meok-code-executor-mcp)](https://pypi.org/project/meok-code-executor-mcp/)
8
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
9
- [![MEOK AI Labs](https://img.shields.io/badge/MEOK_AI_Labs-MCP_Server-purple)](https://meok.ai)
10
-
11
- </div>
12
-
13
-
14
- ## Quick Install
15
-
16
- | Client | Install |
17
- |--------|---------|
18
- | **Claude Desktop** | [![Install in Claude](https://img.shields.io/badge/Install-Claude-blue)](https://claude.ai) |
19
- | **Cursor** | [![Install in Cursor](https://img.shields.io/badge/Install-Cursor-black)](https://cursor.com) |
20
- | **VS Code** | [![Install in VS Code](https://img.shields.io/badge/Install-VS_Code-blue)](https://code.visualstudio.com) |
21
- | **Windsurf** | [![Install in Windsurf](https://img.shields.io/badge/Install-Windsurf-purple)](https://codeium.com/windsurf) |
22
- | **Docker** | `docker run -p 8000:8000 code-executor-mcp` |
23
- | **pip** | `pip install code-executor-mcp` |
24
-
25
- ## Overview
26
-
27
- Code Executor MCP provides AI-powered tools via the Model Context Protocol (MCP).
28
-
29
- ## Tools
30
-
31
- | Tool | Description |
32
- |------|-------------|
33
- | `execute_code` | Execute code in a sandboxed environment with safety checks. |
34
- | `run_command` | Execute a shell command and return stdout/stderr/exit_code. |
35
- | `run_tests` | Run a test suite and return results. Default: pytest. |
36
- | `read_file` | Read contents of a file (restricted to allowed directories: Desktop, |
37
- | `list_sandbox_files` | List files in the sandbox working directory. All code execution |
38
- | `get_safety_rules` | Get the current safety rules and blocked patterns for code execution. |
39
-
40
- ## Installation
41
-
42
- ```bash
43
- pip install meok-code-executor-mcp
44
- ```
45
-
46
- ## Usage with Claude Desktop
47
-
48
- Add to your Claude Desktop MCP config (`claude_desktop_config.json`):
49
-
50
- ```json
51
- {
52
- "mcpServers": {
53
- "code-executor-mcp": {
54
- "command": "python",
55
- "args": ["-m", "meok_code_executor_mcp.server"]
56
- }
57
- }
58
- }
59
- ```
60
-
61
- ## Usage with FastMCP
62
-
63
- ```python
64
- from mcp.server.fastmcp import FastMCP
65
-
66
- # This server exposes 6 tool(s) via MCP
67
- # See server.py for full implementation
68
- ```
69
-
70
- ## License
71
-
72
- MIT © [MEOK AI Labs](https://meok.ai)
73
-
74
- <!-- meok-moat-footer-v1 -->
75
- ---
76
-
77
- ## Pairs with MEOK Governance Suite
78
-
79
- 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.
80
-
81
- ```bash
82
- # One-shot install of the governance pack
83
- npx meok-setup --pack governance
84
- ```
85
-
86
- Free tier: 10 calls/day per MCP. Pro tier (£79/mo): unlimited + cryptographically signed compliance attestations your auditor verifies independently.
87
-
88
- → Full catalogue: [councilof.ai/catalogue](https://councilof.ai/catalogue)
89
- → MEOK AI Labs: [meok.ai](https://meok.ai)
90
-