技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
eyaushev/swagger-testcase-mcp

eyaushev/swagger-testcase-mcp

MCP server for API testing: generates test cases, validates specs, compares versions, and creates mock data from Swagger/OpenAPI specifications
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add swagger-testcase-mcp -- npx -y swagger-testcase-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
2 ★ · eyaushev/swagger-testcase-mcp · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 2 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 eyaushev/swagger-testcase-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

swagger-testcase-mcp

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

MCP server for API testing: generates test cases, validates specs, compares versions, and creates mock data from Swagger/OpenAPI specifications.
Feed it your API spec URL — get structured, categorized test cases (positive, negative, boundary, auth, security, idempotency, pagination) ready for manual testing or import into your TMS.
Why
- **Writing test cases manually is slow.** A single endpoint with 10+ parameters can require 30-50 test cases across positive, negative, boundary, and security scenarios. Multiply that by dozens of endpoints — and you're spending days on routine work instead of actual testing.
- **Negative and boundary cases get skipped.** Under deadline pressure, QA focuses on happy paths. Edge cases, invalid inputs, and security checks are the first to be cut — and the first to cause production incidents.
- **Specs change faster than test docs, and internal APIs get left behind.** New endpoints, renamed fields, changed constraints — keeping test cases in sync is constant overhead. Corporate APIs behind VPN or custom auth make it even harder, since most tooling doesn't support authenticated spec access.
- **Getting test cases into your TMS takes extra steps.** Even if you write great test cases, formatting them for TestRail, Allure, or Postman import is tedious work that adds no value.
This tool automates the baseline: point it at any Swagger/OpenAPI spec (public, internal, localhost), get categorized test cases in seconds, and save ready-to-import files for your TMS or test runner. You focus on business logic and exploratory testing — the tool handles the rest.
Features
- **Parses Swagger 2.0 and OpenAPI 3.x** — JSON and YAML
- **Smart test case generation** — analyzes parameters, schemas, constraints, response codes, and security to produce relevant test cases
- **8 test categories** — positive, negative, boundary, authorization, business logic, security injection, idempotency, pagination & sorting
- **9 export formats** — Markdown, JSON, CSV, Allure CSV, Gherkin, Postman, k6, pytest, TestRail CSV (two templates: Steps and Text)
- **Spec validation** — quality scoring with 11 rules and actionable suggestions
- **Spec comparison** — diff two versions with breaking change detection
- **Mock data generation** — realistic test data from schemas with locale support
- **Coverage analysis** — identify gaps in test coverage with prioritized recommendations
- **Auto-save to file** — exports are saved to the working directory automatically, no manual copy-paste
- **Configurable generation** — filter by category, priority, locale, custom preconditions
- **Batch generation** — filter by tag, HTTP method, path prefix, deprecated status
- **Works with any MCP client** — Claude Desktop, Cursor, VS Code + Cline, etc.
Generated test case categories
| Category | What it covers |
|----------|---------------|
| ✅ Positive | Happy path with required fields, happy path with all fields |
| ❌ Negative | Missing required fields, invalid types, empty strings, nulls, invalid enums, empty body |
| 📏 Boundary | Min/max values for numbers, minLength/maxLength for strings |
| 🔐 Auth | No token, invalid token, insufficient permissions |
| 💼 Business Logic | 404 for non-existent resources, 409 conflicts, 429 rate limiting, concurrency |
| 🛡️ Security | XSS, SQL injection, path traversal, command injection, CRLF injection |
| 🔄 Idempotency | Repeated PUT/DELETE, POST with Idempotency-Key |
| 📄 Pagination | First/last page, negative offset, zero limit, invalid sort fields |
Installation
Or run directly with npx:
Configuration
Claude Desktop
Add to claude_desktop_config.json:
Cursor
Add to .cursor/mcp.json:
VS Code + Claude Code
Add to .vscode/mcp.json:
VS Code + Cline
Add to Cline MCP settings:
来源
awesome · https://github.com/eyaushev/swagger-testcase-mcp
按领域浏览
MCP 服务
Traction
2 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引