MCP server for API test case generation from Swagger/OpenAPI specs. Parses Swagger 2.0 and OpenAPI 3.x, generates test cases across 8 categories (positive, negative, boundary, auth, security, idempotency, pagination, business logic), and exports to Postman, TestRail, Allure, k6, pytest, Gherkin, and CSV. Supports internal corporate APIs with auth headers. Auto-saves export files to your working directory.
Tools
fetch_swagger
analyze_endpoint
generate_test_cases
generate_test_cases_batch
export_test_cases
compare_specs
validate_spec
generate_mock_data
suggest_missing_tests
clear_cache
Server Config
{
"mcpServers": {
"swagger-testcase-mcp": {
"command": "npx",
"args": [
"-y",
"swagger-testcase-mcp"
]
}
}
}