tailtest-cline
This MCP server integrates AI-driven testing into Cline, enabling automated test generation, classification, and project setup across multiple editors.
tailtest_ping: Health check to verify the server is reachable and retrieve its version.tailtest_setup: Bootstraps tailtest in a project by detecting language/framework/runner, writing.clinerules/rule packs and slash workflows, seeding the Memory Bank (tailtestContext.md), and initializing.tailtest/config.jsonandsession.json— idempotently, without overwriting existing files. Supportsmanualorautomode.tailtest_scenario_plan: Generates structured scaffolding for composing test scenarios for a given source file, including language/framework detection, depth settings, adversarial count requirements, baseline scenarios, and test file path guidance.tailtest_classify_failures: Parses test runner output (pytest, jest, vitest, mocha) and classifies failures into categories —real_bug,environment,test_bug, orunknown— with detailed metadata and summary counts.tailtest_pick_template: Returns the full framework-specific test template for a source file, including baseline scenarios, framework-specific patterns (e.g., NestJS, Spring, Flask), and test file path conventions.
When in auto mode, the server can automatically pick up file edits, generate production-shaped test scenarios (including adversarial mode), run them, and return structured failure data. Testing depth is configurable via levels such as simple, standard, thorough, and adversarial.
Enables AI software testing for Cline within JetBrains IDEs, allowing automated test generation and execution on code changes.
Enables AI software testing for Cline within Neovim, allowing automated test generation and execution on code changes.
Enables AI software testing for Cline within VSCodium, allowing automated test generation and execution on code changes.
tailtest-cline -- AI software testing for Cline (8+ editors)
You build. Claude builds. tailtest makes sure it works -- across 8+ editors at once.
tailtest-cline is the open-source AI software testing layer for Cline, the autonomous coding agent that runs across 8+ editors (VS Code, Cursor, JetBrains IDEs, Antigravity, Zed, Neovim, VSCodium, Windsurf, plus the Cline CLI). MCP-driven test generation: every time Cline edits a file, tailtest's MCP server picks up the change, generates production-shaped scenarios via the R1-R15 rule layer, runs them, and returns structured failure data to Cline. Adversarial mode (R15) included from day one.
Open source (MIT), no telemetry, no SaaS account. Same R1-R15 rule layer + adversarial mode as the Claude Code, Cursor, and Codex CLI variants -- 1,234 plugin tests total across the four hosts.
Read more on tailtest.com · Platform overview · Agent-edit testing deep dive · Cline docs
Cline reach: VS Code, Cursor, JetBrains IDEs, Antigravity, Zed, Neovim, VSCodium, Windsurf, plus the Cline CLI. One plugin, eight-plus editors.
What's different from the other variants
Cline does not have hooks (Claude Code's PostToolUse, Cursor's afterFileEdit, Codex's Stop). Instead, tailtest-cline uses three Cline-native primitives:
.clinerules/carries the rule layer (R1-R14 + R15 adversarial mode)tailtest-mcpserver (this repo) provides structured tools for the agent:tailtest_setup,tailtest_scenario_plan,tailtest_classify_failures,tailtest_pick_template,tailtest_pingMemory Bank (
tailtestContext.md) holds the per-project profile across Cline sessions
The deterministic policy (depth tiers, R15 adversarial counts, framework templates, file paths) lives in MCP server code rather than rule text. The agent calls the tools when it needs scaffolding rather than relying on rule recall over long sessions.
Related MCP server: Qlane MCP
Install
Three install paths:
1. Cline MCP Marketplace (recommended; one click)
Open Cline's Extensions panel inside your IDE. Search tailtest. Click install. Cline clones, installs deps, registers the server in cline_mcp_settings.json automatically.
2. Direct GitHub install
Paste https://github.com/avansaber/tailtest-cline into Cline's MCP server install dialog. Cline does the same clone + install + register flow.
3. Manual cline_mcp_settings.json edit
{
"mcpServers": {
"tailtest": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "/path/to/tailtest-cline/mcp_server",
"alwaysAllow": [
"tailtest_ping",
"tailtest_scenario_plan",
"tailtest_classify_failures",
"tailtest_pick_template"
]
}
}
}First run
After install, type in Cline chat: "set up tailtest in this project".
Cline calls tailtest_setup. The tool detects language / framework / runner, writes .clinerules/, writes .clinerules/workflows/, seeds memory-bank/tailtestContext.md, and initialises .tailtest/config.json + .tailtest/session.json. Idempotent: existing files preserved.
Important: Cline does not auto-reload .clinerules mid-conversation. Start a new conversation (or reload the window) to activate.
Two operating modes
Manual mode (default)
You invoke the test cycle explicitly:
/tailtest-test <file>-- run the cycle on a specific file/tailtest hunt <file>-- one-shot adversarial pass on a specific fileOr natural language ("test the file I just edited")
Each step (file write, terminal command, MCP call) prompts for approval. Safer default for first-time users.
Auto mode (opt-in)
Enable Cline auto-approve for: Edit files (workspace), Execute safe commands, Use MCP servers. Then run /tailtest-mode auto and reload. After every edit, tailtest fires the test cycle automatically.
Plan / Act mode (Cline-native UX bonus)
Cline's Plan / Act toggle maps to tailtest's SCENARIO PLAN convention: Plan mode produces the SCENARIO PLAN (read-only); review and amend; Act mode writes the test file, runs it, and applies R12 classification. Recommended for high-stakes files.
Configuration
.tailtest/config.json:
{
"depth": "standard",
"mode": "manual"
}Depth options:
simple-- 2-3 happy-path scenariosstandard-- 5-8 scenarios including 2+ adversarial probes (default)thorough-- 10-15 scenarios including 4+ adversarial probesadversarial-- 8-12 scenarios biased toward breakage
See tailtest.com/docs/config for all options and tailtest.com/docs/adversarial for adversarial mode details.
Other tailtest variants
Same R1-R15 rule layer, same adversarial test mode, different host integration. This repo is the Cline variant.
tailtest -- Claude Code plugin (hook-driven)
tailtest-cursor -- Cursor plugin (hook-driven)
tailtest-codex -- Codex CLI plugin (hook-driven)
tailtest-cline -- Cline plugin (MCP-driven; this repo)
See tailtest.com/demo/cline for a live walkthrough of this variant, or tailtest.com/comparison for a feature matrix across all four.
License
MIT.
Available Tools
5 toolstailtest_classify_failuresA
Parse runner output (pytest, jest, etc.) into structured failure records and apply heuristic R12 classification. Returns failures with type (real_bug / environment / test_bug / unknown), reason, test name, file, line, error type, message, and a summary count per R12 category. The agent verifies or overrides the heuristic when context warrants.
Inputs: runner_output (required), runner.
tailtest_pick_templateA
Return the full framework R2 template for a given source file: language baseline scenarios, framework baseline scenarios, framework-specific test pattern (e.g., NestJS Test.createTestingModule, Spring @WebMvcTest, Flask test_client), and test file path pattern. Returns just language baseline when no framework matches.
Inputs: file_path (required), project_root.
tailtest_pingA
Health check. Returns server version and confirms the MCP server is reachable.
Inputs: no named parameters.
tailtest_scenario_planA
Return structured scaffolding the agent uses to write its SCENARIO PLAN: language, framework, depth, R15 adversarial count requirement, language and framework baseline scenarios, test file path, and prose instructions. The agent uses this scaffolding to compose the actual SCENARIO PLAN scenario lines.
Inputs: file_path (required), project_root.
tailtest_setupA
Bootstrap entry point for tailtest in a Cline project. Detects language / framework / runner, writes the .clinerules/ rule pack, writes .clinerules/workflows/ slash workflows, seeds Memory Bank with tailtestContext.md (a 7th file alongside the 6 core ones; existing files are not overwritten), and initialises .tailtest/config.json + session.json. Returns a structured report including the user-facing 'reload required' warning (Cline does not auto-reload .clinerules mid-conversation).
Inputs: project_root, mode.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool serves a distinct purpose: setup, health check, template selection, scenario planning, and failure classification. There is no overlap or ambiguity between them.
All tools follow a consistent snake_case pattern with the prefix 'tailtest_' and a verb_noun structure (e.g., tailtest_classify_failures, tailtest_pick_template). No deviations.
With 5 tools, the server is tightly scoped to test analysis and scaffolding. Each tool earns its place without being too few or too many for the domain.
The tools cover setup, health, template selection, scenario planning, and failure classification. While not a full test framework, it appears complete for its intended planning/analysis purpose. Minor gap: no tool for running tests or generating code.
Maintenance
Related MCP Connectors
Let your coding agent QA what it builds: plain-English tests run in real Chrome or on iPhone, iPad and Android, with a verdict, replay and evidence for every check, and a fix prompt when something fails. Get your first 10 tests free, no card needed: https://testsy.dev
Writes adversarial test suites for AI-built code. Your agent's test engineer.
Generate and run tests, manage test cases, and inspect results from your AI assistant.
Test analytics for AI agents: test history, flaky tests, failure clusters, coverage.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceOpenTester is a testing execution engine designed for AI coding tools (Claude Code, Cursor, OpenCode, etc.). It provides a unified DSL format and MCP interface, enabling Agents to generate, execute, and manage test cases, achieving an automated "code-test-fix" workflow.29MIT
- AlicenseNot gradedqualityCmaintenanceIntegrates Qlane test management into AI coding editors, enabling agents to view projects, test targets, and test case counts, and plan tests for local diffs.MIT
- AlicenseAqualityBmaintenanceProvides coding agents with visibility into test health through tools for flaky test detection, test quality linting, and LLM evaluation harness, enabling them to triage failures, review test quality, and check prompt changes for regressions.9Apache 2.0

Pluswithai MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to run tests, read failures, push new tests, and schedule them, either by connecting directly to a hosted endpoint or via a local stdio bridge.13 npmMIT