
mallikarjun-roddannavar/ai-testcase-generator-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
An Model Context Protocol(MCP) server that generates comprehensive API test cases (positive, negative, edge cases) from endpoint metadata, powered by AI/LLMs
概要
An that generates comprehensive (positive, negative, and boundary/edge cases) directly from endpoint metadata—powered by . This is a TypeScript-based Model Context Protocol(MCP) server for QA engineers. It demonstrates core Model Context Protocol concepts by providing: - AI-powered tool for generating exhaustive test case plans from API endpoints and payloads - Prompt-driven LLM integration for quality and coverage - Extensible structure for future automation tooling - 🔌 (stdio transport). - 📝 Tool: generate_tests_excel - Input: endpoint, HTTP method, payload, extra context. - : - : endpoint, HTTP method, payload - Use extraContext to provide any additional testing notes or constraints - : 📊 with columns: Sl no, Test Name, Pre-Condition, Steps, Expected Result. - 🧠 with configurable LLM (Groq, OpenAI, Anthropic). - 📜 Detailed logging with . - : Handles all Excel (.xlsx) file creation and test plan export (modularized).
README
以下は原文 README の抜粋です。原文を見る。
🤖 AI Testcase Generator MCP
An Model Context Protocol(MCP) server that generates comprehensive API test plans (positive, negative, and boundary/edge cases) directly from endpoint metadata—powered by LLMs.
This is a TypeScript-based Model Context Protocol(MCP) server for QA engineers. It demonstrates core Model Context Protocol concepts by providing:
- AI-powered tool for generating exhaustive test case plans from API endpoints and payloads
- Prompt-driven LLM integration for quality and coverage
- Extensible structure for future automation tooling
✨ Features
- 🔌 MCP-compliant server (
stdiotransport). - 📝 Tool:
generate_tests_excel- Input: endpoint, HTTP method, payload, extra context.
- Input options:
- Direct endpoint details: endpoint, HTTP method, payload
- Use extraContext to provide any additional testing notes or constraints
- OutputPut: 📊 Excel test plan with columns: Sl no, Test Name, Pre-Condition, Steps, Expected Result.
- 🧠 Prompt-driven test generation with configurable LLM (Groq, OpenAI, Anthropic).
- 📜 Detailed logging with Winston.
🏗️ Architecture
flowchart TD
A[Claude / MCP Client] -->|Run Tool| B[MCP Server]
B -->|Prompt| C[LLM API]
C -->|Test Cases JSON| B
B -->|Excel Export| D[(Test Plan .xlsx)]
B -->|Logs| E[Server Log File]
📂 Project Structure
🎥 Demo
Here’s the MCP generating test cases and exporting to Excel:
🔍 Excel Preview
Below is a quick preview of the generated test cases:
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
⚙️ Installation
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"ai-testcase-designer-mcp": {
"disabled": false,
"timeout": 60,
"command": "node",
"args": [
"c:/Auto_WS/ai-testcase-designer-mcp/build/index.js"
],
"transportType": "stdio"
}
}
}