Skip to main content
Glama
MaaBlock
by MaaBlock

AutoTest AI — Model Context Protocol (MCP) Server

glama badge License: MIT

AutoTest AI is an industrial-grade defensive testing and refactoring engine embedded directly inside your AI IDE via the Model Context Protocol (MCP). It synthesizes parameterized boundary suites, audits cyclomatic branch depth, and flags missing exception boundaries with 96%+ branch coverage.

Native zero-friction support for Cursor, Claude Desktop, Windsurf, and any MCP-compliant client.


⚡ Features & MCP Tools

  1. generate_edge_tests:

    • Synthesizes production Pytest and Jest/Vitest test suites targeting mathematical extremes, empty/zero boundaries, type invariance, and fault injection.

    • Dual-tier synthesis:

      • Community (Free): Comprehensive boundary test suites and AST defensive auditing.

      • Enterprise Pro: Mutation fuzz matrices and invariant verification.

  2. audit_code_defenses:

    • Calculates AST cyclomatic complexity, branch depth, and identifies unhandled exception vectors.

  3. get_paywall_status:

    • Inspects active Web3 payment gateways, verified on-chain sponsorship wallets, and RPC endpoints.

  4. Zero-Overhead Native Execution:

    • Zero external third-party dependencies required. Starts in < 50ms, consumes < 15MB RAM.


🚀 1-Click Installation via Smithery CLI

Install directly into your IDE with a single command via Smithery:

For Cursor IDE:

npx -y @smithery/cli install @MaaBlock/autotest-mcp --client cursor

For Claude Desktop:

npx -y @smithery/cli install @MaaBlock/autotest-mcp --client claude

🛠️ Manual Configuration

1. Cursor IDE (.cursor/mcp.json)

Add the following to your workspace .cursor/mcp.json or global Cursor settings:

{
  "mcpServers": {
    "autotest": {
      "command": "python",
      "args": ["mcp_server.py"],
      "env": {
        "POLYGON_PAYOUT_ADDRESS": "0x267e548ab3444aa0a671914ac7c644306a6b90b4",
        "TRON_PAYOUT_ADDRESS": "TWvzvF4FszbXM6qnBS947aNJHfyvA1kdZC"
      }
    }
  }
}

2. Claude Desktop (claude_desktop_config.json)

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "autotest": {
      "command": "python",
      "args": ["<PATH_TO_AUTOTEST_MCP>/mcp_server.py"],
      "env": {
        "POLYGON_PAYOUT_ADDRESS": "0x267e548ab3444aa0a671914ac7c644306a6b90b4",
        "TRON_PAYOUT_ADDRESS": "TWvzvF4FszbXM6qnBS947aNJHfyvA1kdZC"
      }
    }
  }
}

💡 Usage in Chat

Ask Cursor or Claude:

"Use autotest to generate full edge-case unit tests for this function."

"Audit code defenses and cyclomatic complexity for the active file."


💎 Web3 Paywall & Pro Upgrades

AutoTest AI operates on an autonomous Web3 freemium model:

  • Free Community Tier: Unlimited defensive test synthesis and complexity auditing.

  • Enterprise Pro Tier: Unlocks mutation fuzz matrices and property-based invariance testing.

  • Direct Paywall Gateway: https://autotest-ai.sweet-possum.workers.dev

  • Official Payout Addresses:


📜 License

Released under the MIT License. Copyright (c) 2026 AutoTest AI.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaaBlock/autotest-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server