@j0kz/test-generator-mcp
v1.1.1
Published
Test Intelligence Generator MCP - Automated test generation with edge cases and coverage analysis. Works with Claude Code, Cursor, Windsurf, Roo Code, and any MCP-compatible editor.
Maintainers
Readme
@j0kz/test-generator-mcp
Generate comprehensive test suites with edge cases and mocks
🎉 What's New in v1.0.26
- 🔒 Security Hardened: Fixed ReDoS vulnerabilities with input validation
- 📚 Comprehensive Examples: New example files in
examples/test-generator/ - 🎯 Better Error Messages: Structured error codes (TEST_GEN_001-008) with actionable suggestions
- ⚡ Performance Benchmarks: Benchmarking infrastructure in
benchmarks/test-generator/ - ✅ Production Ready: Enhanced validation and error handling
🚀 Quick Start
⭐ Option 1: Install ALL 8 Tools (Recommended)
Get the complete suite with ONE command:
Claude Code:
# Mac/Linux
curl -fsSL https://raw.githubusercontent.com/j0kz/mcp-agents/main/install-all.sh | bash
# Windows (PowerShell)
irm https://raw.githubusercontent.com/j0kz/mcp-agents/main/install-all.ps1 | iexCursor/Windsurf:
# Download complete config
curl -o ~/.cursor/mcp_config.json https://raw.githubusercontent.com/j0kz/mcp-agents/main/mcp_config_all.json
# Or for Windsurf
curl -o ~/.windsurf/mcp_config.json https://raw.githubusercontent.com/j0kz/mcp-agents/main/mcp_config_all.jsonOption 2: Install Only This Tool
Claude Code:
claude mcp add test-generator "npx @j0kz/test-generator-mcp" --scope userCursor/Windsurf: Add to mcp_config.json:
{
"mcpServers": {
"test-generator": {
"command": "npx",
"args": ["@j0kz/test-generator-mcp"]
}
}
}Start Using Immediately
After setup, just chat naturally with your AI:
💬 You: "Generate tests for calculatePrice function"
🤖 AI: *Creates test file* Generated 15 tests covering: happy path, edge cases (negative prices, zero), error handling, boundary conditions...
💬 You: "Add tests for the UserService class"
🤖 AI: Created UserService.test.js with: 8 unit tests, 4 integration tests, mocked dependencies, 95% coverage...
💬 You: "What test cases am I missing for login.js?"
🤖 AI: Missing: Invalid email format, expired tokens, rate limiting, concurrent sessions, SQL injection attempts...✨ Features
✨ Smart Test Generation - Creates complete test suites automatically 🎯 Edge Case Detection - Finds boundary conditions you might miss 🔧 Mock Generation - Auto-creates mocks for dependencies 📈 Coverage Optimization - Targets high coverage with minimal tests
📦 Complete @j0kz MCP Suite
Get all 8 professional development tools - install individually or all at once:
# 🎯 Code Quality Suite
npx @j0kz/smart-reviewer-mcp # AI code review
npx @j0kz/test-generator-mcp # Auto-generate tests
npx @j0kz/refactor-assistant-mcp # Refactoring help
# 🏗️ Architecture & Design
npx @j0kz/architecture-analyzer-mcp # Architecture analysis
npx @j0kz/api-designer-mcp # API design
npx @j0kz/db-schema-mcp # Database schemas
# 📚 Documentation & Security
npx @j0kz/doc-generator-mcp # Auto-generate docs
npx @j0kz/security-scanner-mcp # Security scanning👉 View complete collection on GitHub
🎯 How It Works
- Install once - Run the setup command for your editor
- Restart editor - Reload to activate the MCP
- Chat naturally - Just ask your AI assistant to help
- Get results - The MCP tools work behind the scenes
No configuration files, no complex setup, no API keys needed!
🔧 Editor Support
| Editor | Status | Notes | | --------------- | --------------- | -------------- | | Claude Code | ✅ Full support | Recommended | | Cursor | ✅ Full support | Native MCP | | Windsurf | ✅ Full support | Built-in MCP | | Roo Code | ✅ Full support | MCP compatible | | Continue | ✅ Full support | MCP plugin | | Zed | ✅ Full support | MCP support |
Any MCP-compatible editor works!
❓ Troubleshooting
MCP not showing up?
- Restart your editor after installation
- Check:
claude mcp list(Claude Code) to verify connection
Commands not working?
- Make sure Node.js is installed (
node --version) - Try reinstalling: Remove and re-add the MCP
Still stuck?
📄 License
MIT © j0KZ
Explore more tools: github.com/j0KZ/mcp-agents | npm: @j0kz
