autotest-mcp
Enables automatic generation of edge-case and boundary test suites for JavaScript/TypeScript projects using Jest.
Enables automatic generation of edge-case and boundary test suites for Python projects using Pytest, along with AST-based defensive auditing.
Enables automatic generation of edge-case and boundary test suites for JavaScript/TypeScript projects using Vitest.
AutoTest AI β Model Context Protocol (MCP) Server
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
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.
audit_code_defenses:Calculates AST cyclomatic complexity, branch depth, and identifies unhandled exception vectors.
get_paywall_status:Inspects active Web3 payment gateways, verified on-chain sponsorship wallets, and RPC endpoints.
Zero-Overhead Native Execution:
Zero external third-party dependencies required. Starts in < 50ms, consumes < 15MB RAM.
Related MCP server: mcp-doctor
π 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 cursorFor 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.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.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:
Polygon (ERC-20 USDC):
0x267e548ab3444aa0a671914ac7c644306a6b90b4(View on PolygonScan)TRON (TRC-20 USDT):
TWvzvF4FszbXM6qnBS947aNJHfyvA1kdZC(View on TronScan)
π License
Released under the MIT License. Copyright (c) 2026 AutoTest AI.
Available Tools
3 toolsaudit_code_defensesA
Audits AST cyclomatic complexity, branch depth, and detects unhandled exception vectors in source code.
Inputs: code (required), language.
generate_edge_testsA
Synthesizes industrial-grade defensive unit tests with 96%+ branch coverage, boundary invariance, and exception handling for any source code.
Inputs: code (required), tier, tx_hash, language, +1 more.
get_paywall_statusA
Retrieves official sponsorship wallet addresses, live Web3 paywall gateway, and pro tier pricing.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
Each tool targets a clearly distinct action and resource: generating tests, auditing code defenses, and fetching paywall status. Even though get_paywall_status is unrelated to the testing domain, there is no ambiguity between the tools.
All tool names follow a consistent snake_case verb_noun pattern: generate_edge_tests, audit_code_defenses, get_paywall_status. The naming convention is uniform and predictable.
Three tools is a reasonable count and not excessive, but the inclusion of get_paywall_status feels tangential to the autotest theme, and two core tools is a slightly small surface for a testing/auditing server.
The server can generate tests and audit code defenses, but there are no tools to run tests, retrieve generated test outputs, manage configurations, or handle results. The paywall status tool is unrelated and does not fill these workflow gaps, leaving the domain only partially covered.
Maintenance
Related MCP Connectors
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Zero-log MCP server with 49 tools for AI guardrails, secret scanning, MCP linting & EU compliance.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server that lets coding agents test AI agents. Create YAML test cases, snapshot golden baselines, check for regressions, and generate visual reports all from inside Claude Code or any MCP-compatible tool. Works with LangGraph, CrewAI, OpenAI, Claude, Mistral, and any HTTP API.10143 npm2,124 PyPI142Apache 2.0
- AlicenseAqualityDmaintenanceDiagnose, secure, and benchmark your MCP servers. Zero-config CLI for Claude Code, Cursor, VS Code, and Windsurf.48 npm3MIT
- AlicenseCqualityBmaintenanceAn MCP server implementing Spec-Driven Development workflows for AI-agent CLIs and IDEs like Claude Code and Cursor, enabling spec-first development with automated workflow guidance and quality checks.1783 npm54MIT
- AlicenseNot gradedqualityDmaintenanceMulti-language SAST and AI-powered fuzzing MCP server for Claude Code integration, enabling static and dynamic security analysis of code.MIT