{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "ai.statemind/python-code-validator",
  "slug": "ai.statemind.python-code-validator",
  "title": "Python Code Validator",
  "summary": "Proves AI-generated Python does what you asked: lint, types, security, sandbox run, exact fixes.",
  "version": "1.22.0",
  "serverKey": "python-code-validator",
  "pageUrl": "https://mcpkglabs.com/tool/ai.statemind.python-code-validator",
  "installMdUrl": "https://mcpkglabs.com/tool/ai.statemind.python-code-validator/install.md",
  "trust": {
    "score": 81,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:56:03.133295714Z"
  },
  "methods": [
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://api.statemind.ai/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "Bearer <key>. Get one for free, no account: curl -X POST https://api.statemind.ai/v1/keys",
          "isRequired": true,
          "isSecret": true
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http python-code-validator https://api.statemind.ai/mcp --header 'Authorization: <Authorization>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"python-code-validator\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://api.statemind.ai/mcp\",\n        \"--header\",\n        \"Authorization: <Authorization>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"python-code-validator\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"url\": \"https://api.statemind.ai/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"python-code-validator\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://api.statemind.ai/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.python-code-validator]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://api.statemind.ai/mcp\", \"--header\", \"Authorization: <Authorization>\"]"
        }
      ]
    }
  ],
  "env": null,
  "expectedTools": [
    "validate_python",
    "repair_python",
    "execute_python"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: validate_python, repair_python, execute_python.",
    "If it fails, check that the required runtime is installed (none) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:56:03.133295714Z"
}
