mocop
Browse · Docs · Guide · Analyze

Python Code Validator

MCP server by StateMind.AI · mcp

Proves AI-generated Python does what you asked: syntax, lint, types, an AST security policy and a credential scan, then runs the code in a throwaway container against the examples you state and repairs it until they pass — returning a fix only when running it satisfies every one of them. Send what the code was supposed to do in options.examples (assertions or doctest lines): it is the only check that can fail code which parses, lints, types and runs. Validate every edit; run execute_python once a function is finished and again only when its behaviour changed. Repeating a call within ten minutes is answered from the previous answer and costs nothing.

Endpoint: https://api.statemind.ai/mcp

Verification: observed. Source: crawl.

Capabilities (3)

  • validate_python
  • repair_python
  • execute_python
About · Contact · Privacy