Test Spec Generator MCP Guide

Spec-driven planning from needs or a Jira ticket: criteria, plan, and an agent prompt pack. After you approve the pack, it is handed off for test generation.

Overview

Two meta-prompt tools instruct an agent in your target repository. The agent uses the returned instructions to read a Jira ticket and the app code, then write the spec. Prefer adding .qe/ to the repo’s .gitignore before generating reports.

It can read a Jira ticket and generate the spec from that ticket’s acceptance criteria and the app code. The prompt pack is not the end of the workflow. After you approve it, it is handed off to E2E, Unit, Blocks, or Performance for immediate test generation. Test code is written only after that approval.

Use this server when the ATC, Jira ticket, or requirements are the starting point. For suite-wide “what’s untested in this repo?” use Test Gap Analyzer instead.

URL and JSON

Mount: /mcp/v2/test_spec_generator. Config key: test_spec_generator.

EnvironmentURLTransportStatus
Development https://qe-mcp.bindg.com/mcp/v2/test_spec_generator http V2
Production https://qe-mcp.bindg.com/mcp/v2/test_spec_generator http V2

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "test_spec_generator": {
      "url": "https://qe-mcp.bindg.com/mcp/v2/test_spec_generator",
      "transport": "http"
    }
  }
}

VS Code — .vscode/mcp.json

{
  "servers": {
    "test_spec_generator": {
      "url": "https://qe-mcp.bindg.com/mcp/v2/test_spec_generator",
      "type": "http"
    }
  },
  "inputs": []
}

Tools

ToolRole
generate_test_spec Guided authoring — requirements, acceptance criteria, executable test criteria, plan metadata; also review modes (requirements quality, ATC quality, dual alignment vs code + tests).
generate_test_spec_artifacts After authoring — repo/CI discovery, test plan markdown/JSON, agent prompt pack under .qe/reports/.

Run modes: plan-only | plan-and-prompts (default) | plan-prompts-and-code (test code only when you explicitly confirm).

Add to Cursor

  1. Open Cursor Settings.
  2. Search for Tools & MCP.
  3. Choose New MCP Server.
  4. Paste the JSON above (or a single entry).
  5. Save and confirm the server appears connected.

Add to VS Code

  1. Open the Command Palette.
  2. Search for MCP: Add Server and select HTTP.
  3. Enter the URL https://qe-mcp.bindg.com/mcp/v2/test_spec_generator.
  4. Provide an alias such as test_spec_generator.
  5. Save globally or to the workspace and start the server.

Authoring workflow

  1. Start from a feature need or a Jira ticket. The agent uses generate_test_spec and builds the spec from the ticket’s acceptance criteria and the app code.
  2. Confirm requirements and criteria.
  3. Agent uses generate_test_spec_artifacts for the plan, JSON, and the agent prompt pack under .qe/reports/.
  4. After you approve the prompt pack, it is handed off to E2E, Unit, Blocks, or Performance for immediate test generation. Test code is written only after that approval.

If you already have a complete payload, skip to artifacts. Prefill / QE UI paths may skip authoring.

Asking for “test prompts”, “IDE prompts”, “per-criterion prompts”, “agent prompts”, or “Cursor prompts” all mean the agent prompt pack.

Review modes

Ask generate_test_spec to review without finishing a full plan:

QuestionWhat to ask
Is this ATC well written?“Audit this ATC against INDG standards.”
Do ATCs match feature code?“Do these ATCs match src/...?”
Are ATCs covered by our tests?“Validate these ATCs against code and tests in tests/e2e/.”

Dual alignment produces a matrix per scenario (vs code: aligned / partial / mismatch / …; vs tests: covered / partial / missing / weak_assertions / …). Provide a feature path and ideally a test folder. Findings are advisory — you remain the source of truth. The agent must not invent ATCs from code or tests.

Outputs

ArtifactWhen
.qe/reports/test-spec-{date}.mdPlan document
.qe/reports/test-spec-{date}.jsonMachine-readable spec
Agent prompt packDefault mode includes prompts. After you approve the pack, it is handed off to E2E, Unit, Blocks, or Performance.
Test codeWritten only after you approve the handoff, or when you confirm plan-prompts-and-code

Example prompts

Author: Help me write a test plan for the login feature. Using MCP server test_spec_generator.
Artifacts: I have the requirements and criteria ready — generate the test plan and agent prompt pack.
Review: Validate these ATCs against the code in src/... and our tests in tests/e2e/.
ATC quality: Is this ATC good enough to test against?
Tips: Prefer observable Given/When/Then ATCs; avoid “works correctly.” For dual validation, name both feature path and test folder. Many missing scenarios → consider Test Gap Analyzer next; weak_assertions → strengthen tests with E2E/unit tools.

BBVPN proxy configuration

This MCP is hosted on qe-mcp.bindg.com. If you are on BBVPN, add qe-mcp.bindg.com to your IDE's http.noProxy setting (not in mcp.json).

{
  "http.noProxy": [
    "qe-mcp.bindg.com"
  ]
}

Validate the connection

Smoke test: Using my MCP server test_spec_generator, list available tools or capabilities and provide a short ready checklist.
← Back to MCP Server Guide ← Back to Quality Engineering Tools Suite