code-executor-mcp 1.0.3__tar.gz → 1.0.4__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.
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/PKG-INFO +5 -1
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/README.md +4 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/pyproject.toml +1 -1
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/server.py +118 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/.github/FUNDING.yml +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/.github/workflows/mcp-smithery-publish.yml +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/.github/workflows/test.yml +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/.gitignore +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/.mcp.json +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/.well-known/mcp/server-card.json +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/CODE_OF_CONDUCT.md +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/CONTRIBUTING.md +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/Dockerfile.glama +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/LICENSE +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/SECURITY.md +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/glama.json +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/mcp-wrapper.py +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/package.json +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/pytest.ini +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/server.json +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/smithery.yaml +0 -0
- {code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/tests/test_server.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-executor-mcp
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: MCP server for code executor. Features execute code, run command, run tests. From MEOK AI Labs.
|
|
5
5
|
Project-URL: Homepage, https://meok.ai
|
|
6
6
|
Project-URL: Repository, https://github.com/CSOAI-ORG/code-executor-mcp
|
|
@@ -36,6 +36,10 @@ Requires-Python: >=3.10
|
|
|
36
36
|
Requires-Dist: mcp>=1.0.0
|
|
37
37
|
Description-Content-Type: text/markdown
|
|
38
38
|
|
|
39
|
+
[](https://glama.ai/mcp/servers/CSOAI-ORG/code-executor-mcp)
|
|
40
|
+
[](https://registry.modelcontextprotocol.io)
|
|
41
|
+
[](https://pypi.org/project/code-executor-mcp/)
|
|
42
|
+
|
|
39
43
|
[](https://glama.ai/mcp/servers/CSOAI-ORG/code-executor-mcp)
|
|
40
44
|
|
|
41
45
|
<div align="center">
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
[](https://glama.ai/mcp/servers/CSOAI-ORG/code-executor-mcp)
|
|
2
|
+
[](https://registry.modelcontextprotocol.io)
|
|
3
|
+
[](https://pypi.org/project/code-executor-mcp/)
|
|
4
|
+
|
|
1
5
|
[](https://glama.ai/mcp/servers/CSOAI-ORG/code-executor-mcp)
|
|
2
6
|
|
|
3
7
|
<div align="center">
|
|
@@ -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.
|
|
6
|
+
version = "1.0.4"
|
|
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"}
|
|
@@ -285,6 +285,27 @@ def execute_code(code: str, language: str = "python", timeout: int = 30, api_key
|
|
|
285
285
|
When NOT to use:
|
|
286
286
|
Not suitable for real-time production decision-making without
|
|
287
287
|
human review of results.
|
|
288
|
+
|
|
289
|
+
Args:
|
|
290
|
+
code (str): The code to analyze or process.
|
|
291
|
+
language (str): The language to analyze or process.
|
|
292
|
+
timeout (int): The timeout to analyze or process.
|
|
293
|
+
api_key (str): The api key to analyze or process.
|
|
294
|
+
|
|
295
|
+
Behavioral Transparency:
|
|
296
|
+
- Side Effects: This tool is read-only and produces no side effects. It does not modify
|
|
297
|
+
any external state, databases, or files. All output is computed in-memory and returned
|
|
298
|
+
directly to the caller.
|
|
299
|
+
- Authentication: No authentication required for basic usage. Pro/Enterprise tiers
|
|
300
|
+
require a valid MEOK API key passed via the MEOK_API_KEY environment variable.
|
|
301
|
+
- Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are
|
|
302
|
+
included in responses (X-RateLimit-Remaining, X-RateLimit-Reset).
|
|
303
|
+
- Error Handling: Returns structured error objects with 'error' key on failure.
|
|
304
|
+
Never raises unhandled exceptions. Invalid inputs return descriptive validation errors.
|
|
305
|
+
- Idempotency: Fully idempotent — calling with the same inputs always produces the
|
|
306
|
+
same output. Safe to retry on timeout or transient failure.
|
|
307
|
+
- Data Privacy: No input data is stored, logged, or transmitted to external services.
|
|
308
|
+
All processing happens locally within the MCP server process.
|
|
288
309
|
"""
|
|
289
310
|
allowed, msg, tier = check_access(api_key)
|
|
290
311
|
if not allowed:
|
|
@@ -325,6 +346,26 @@ def run_command(command: str, timeout: int = 30, api_key: str = "") -> dict:
|
|
|
325
346
|
When NOT to use:
|
|
326
347
|
Not suitable for real-time production decision-making without
|
|
327
348
|
human review of results.
|
|
349
|
+
|
|
350
|
+
Args:
|
|
351
|
+
command (str): The command to analyze or process.
|
|
352
|
+
timeout (int): The timeout to analyze or process.
|
|
353
|
+
api_key (str): The api key to analyze or process.
|
|
354
|
+
|
|
355
|
+
Behavioral Transparency:
|
|
356
|
+
- Side Effects: This tool is read-only and produces no side effects. It does not modify
|
|
357
|
+
any external state, databases, or files. All output is computed in-memory and returned
|
|
358
|
+
directly to the caller.
|
|
359
|
+
- Authentication: No authentication required for basic usage. Pro/Enterprise tiers
|
|
360
|
+
require a valid MEOK API key passed via the MEOK_API_KEY environment variable.
|
|
361
|
+
- Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are
|
|
362
|
+
included in responses (X-RateLimit-Remaining, X-RateLimit-Reset).
|
|
363
|
+
- Error Handling: Returns structured error objects with 'error' key on failure.
|
|
364
|
+
Never raises unhandled exceptions. Invalid inputs return descriptive validation errors.
|
|
365
|
+
- Idempotency: Fully idempotent — calling with the same inputs always produces the
|
|
366
|
+
same output. Safe to retry on timeout or transient failure.
|
|
367
|
+
- Data Privacy: No input data is stored, logged, or transmitted to external services.
|
|
368
|
+
All processing happens locally within the MCP server process.
|
|
328
369
|
"""
|
|
329
370
|
allowed, msg, tier = check_access(api_key)
|
|
330
371
|
if not allowed:
|
|
@@ -361,6 +402,27 @@ def run_tests(test_command: str = "python -m pytest", working_dir: str = "",
|
|
|
361
402
|
When NOT to use:
|
|
362
403
|
Not suitable for real-time production decision-making without
|
|
363
404
|
human review of results.
|
|
405
|
+
|
|
406
|
+
Args:
|
|
407
|
+
test_command (str): The test command to analyze or process.
|
|
408
|
+
working_dir (str): The working dir to analyze or process.
|
|
409
|
+
timeout (int): The timeout to analyze or process.
|
|
410
|
+
api_key (str): The api key to analyze or process.
|
|
411
|
+
|
|
412
|
+
Behavioral Transparency:
|
|
413
|
+
- Side Effects: This tool is read-only and produces no side effects. It does not modify
|
|
414
|
+
any external state, databases, or files. All output is computed in-memory and returned
|
|
415
|
+
directly to the caller.
|
|
416
|
+
- Authentication: No authentication required for basic usage. Pro/Enterprise tiers
|
|
417
|
+
require a valid MEOK API key passed via the MEOK_API_KEY environment variable.
|
|
418
|
+
- Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are
|
|
419
|
+
included in responses (X-RateLimit-Remaining, X-RateLimit-Reset).
|
|
420
|
+
- Error Handling: Returns structured error objects with 'error' key on failure.
|
|
421
|
+
Never raises unhandled exceptions. Invalid inputs return descriptive validation errors.
|
|
422
|
+
- Idempotency: Fully idempotent — calling with the same inputs always produces the
|
|
423
|
+
same output. Safe to retry on timeout or transient failure.
|
|
424
|
+
- Data Privacy: No input data is stored, logged, or transmitted to external services.
|
|
425
|
+
All processing happens locally within the MCP server process.
|
|
364
426
|
"""
|
|
365
427
|
allowed, msg, tier = check_access(api_key)
|
|
366
428
|
if not allowed:
|
|
@@ -434,6 +496,26 @@ def read_file(path: str, limit: int = 200, api_key: str = "") -> dict:
|
|
|
434
496
|
When NOT to use:
|
|
435
497
|
Not suitable for real-time production decision-making without
|
|
436
498
|
human review of results.
|
|
499
|
+
|
|
500
|
+
Args:
|
|
501
|
+
path (str): The path to analyze or process.
|
|
502
|
+
limit (int): The limit to analyze or process.
|
|
503
|
+
api_key (str): The api key to analyze or process.
|
|
504
|
+
|
|
505
|
+
Behavioral Transparency:
|
|
506
|
+
- Side Effects: This tool is read-only and produces no side effects. It does not modify
|
|
507
|
+
any external state, databases, or files. All output is computed in-memory and returned
|
|
508
|
+
directly to the caller.
|
|
509
|
+
- Authentication: No authentication required for basic usage. Pro/Enterprise tiers
|
|
510
|
+
require a valid MEOK API key passed via the MEOK_API_KEY environment variable.
|
|
511
|
+
- Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are
|
|
512
|
+
included in responses (X-RateLimit-Remaining, X-RateLimit-Reset).
|
|
513
|
+
- Error Handling: Returns structured error objects with 'error' key on failure.
|
|
514
|
+
Never raises unhandled exceptions. Invalid inputs return descriptive validation errors.
|
|
515
|
+
- Idempotency: Fully idempotent — calling with the same inputs always produces the
|
|
516
|
+
same output. Safe to retry on timeout or transient failure.
|
|
517
|
+
- Data Privacy: No input data is stored, logged, or transmitted to external services.
|
|
518
|
+
All processing happens locally within the MCP server process.
|
|
437
519
|
"""
|
|
438
520
|
allowed, msg, tier = check_access(api_key)
|
|
439
521
|
if not allowed:
|
|
@@ -486,6 +568,24 @@ def list_sandbox_files(api_key: str = "") -> dict:
|
|
|
486
568
|
When NOT to use:
|
|
487
569
|
Not suitable for real-time production decision-making without
|
|
488
570
|
human review of results.
|
|
571
|
+
|
|
572
|
+
Args:
|
|
573
|
+
api_key (str): The api key to analyze or process.
|
|
574
|
+
|
|
575
|
+
Behavioral Transparency:
|
|
576
|
+
- Side Effects: This tool is read-only and produces no side effects. It does not modify
|
|
577
|
+
any external state, databases, or files. All output is computed in-memory and returned
|
|
578
|
+
directly to the caller.
|
|
579
|
+
- Authentication: No authentication required for basic usage. Pro/Enterprise tiers
|
|
580
|
+
require a valid MEOK API key passed via the MEOK_API_KEY environment variable.
|
|
581
|
+
- Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are
|
|
582
|
+
included in responses (X-RateLimit-Remaining, X-RateLimit-Reset).
|
|
583
|
+
- Error Handling: Returns structured error objects with 'error' key on failure.
|
|
584
|
+
Never raises unhandled exceptions. Invalid inputs return descriptive validation errors.
|
|
585
|
+
- Idempotency: Fully idempotent — calling with the same inputs always produces the
|
|
586
|
+
same output. Safe to retry on timeout or transient failure.
|
|
587
|
+
- Data Privacy: No input data is stored, logged, or transmitted to external services.
|
|
588
|
+
All processing happens locally within the MCP server process.
|
|
489
589
|
"""
|
|
490
590
|
allowed, msg, tier = check_access(api_key)
|
|
491
591
|
if not allowed:
|
|
@@ -526,6 +626,24 @@ def get_safety_rules(api_key: str = "") -> dict:
|
|
|
526
626
|
When NOT to use:
|
|
527
627
|
Not suitable for real-time production decision-making without
|
|
528
628
|
human review of results.
|
|
629
|
+
|
|
630
|
+
Args:
|
|
631
|
+
api_key (str): The api key to analyze or process.
|
|
632
|
+
|
|
633
|
+
Behavioral Transparency:
|
|
634
|
+
- Side Effects: This tool is read-only and produces no side effects. It does not modify
|
|
635
|
+
any external state, databases, or files. All output is computed in-memory and returned
|
|
636
|
+
directly to the caller.
|
|
637
|
+
- Authentication: No authentication required for basic usage. Pro/Enterprise tiers
|
|
638
|
+
require a valid MEOK API key passed via the MEOK_API_KEY environment variable.
|
|
639
|
+
- Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are
|
|
640
|
+
included in responses (X-RateLimit-Remaining, X-RateLimit-Reset).
|
|
641
|
+
- Error Handling: Returns structured error objects with 'error' key on failure.
|
|
642
|
+
Never raises unhandled exceptions. Invalid inputs return descriptive validation errors.
|
|
643
|
+
- Idempotency: Fully idempotent — calling with the same inputs always produces the
|
|
644
|
+
same output. Safe to retry on timeout or transient failure.
|
|
645
|
+
- Data Privacy: No input data is stored, logged, or transmitted to external services.
|
|
646
|
+
All processing happens locally within the MCP server process.
|
|
529
647
|
"""
|
|
530
648
|
allowed, msg, tier = check_access(api_key)
|
|
531
649
|
if not allowed:
|
|
File without changes
|
{code_executor_mcp-1.0.3 → code_executor_mcp-1.0.4}/.github/workflows/mcp-smithery-publish.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|