Skip to content
Back to search
100
MCP live MCP 2025-06-18 streamable-http

Python Code Validator

ai.statemind/python-code-validator

Validates, repairs and sandbox-runs AI-generated Python: lint, types, security, exact fixes.

Uptime
100.0%
1 direct probes · 30d
Response
188ms
last probe
Tools
3
callable
Resources
0
readable
Prompts
0
available

Tools · 3

validate_python

Check Python source without running it: parse, lint (ruff), type-check (mypy), AST security policy, credential scan. Safe on code you do not trust. Use it on every Python file you generated or edited,…

repair_python

Everything validation does, plus deterministic fixes: the corrected source comes back in fixed_code, and the original is kept whenever the fix cannot be proven safe. The code is still never run. Use i…

execute_python

Everything repair does, and then RUNS the code in a throwaway container — no network, read-only filesystem, killed at options.timeout_s — reporting exit code, stdout and stderr. Any '>>>' examples in …

How to use

Add to your Claude Desktop / Cursor / Cline MCP config:

{
  "mcpServers": {
    "python_code_validator": {
      "url": "https://api.statemind.ai/mcp",
      "transport": "streamable-http"
    }
  }
}