From mcp-tools-pro
MCP API Test Tool — HTTP endpoint tests, smoke testing, contract verification, and integration tests. Use when testing MCP or HTTP API endpoints.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mcp-tools-pro:mcp-api-testerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
MCP API Tester is a skill designed to test API endpoints over the MCP protocol. It provides the capabilities to construct HTTP requests, validate responses, execute contract tests against OpenAPI schemas, and run rapid smoke tests. It is designed to accelerate developer feedback loops and detect regressions early during the API development cycle.
MCP API Tester is a skill designed to test API endpoints over the MCP protocol. It provides the capabilities to construct HTTP requests, validate responses, execute contract tests against OpenAPI schemas, and run rapid smoke tests. It is designed to accelerate developer feedback loops and detect regressions early during the API development cycle.
Core principle: EVERY TEST MUST BE AUTOMATED AND REPEATABLE — MANUAL API TESTING IS UNRELIABLE.
NO API TEST IS COMPLETE WITHOUT RESPONSE VALIDATION. STATUS CODES, RESPONSE SCHEMAS, AND HEADERS MUST BE EXPLICITLY VALIDATED FOR EVERY REQUEST.
Use this when:
Use this ESPECIALLY when:
Don't skip when:
BEFORE proceeding:
mcp-api-tester request build \
--method POST \
--url https://api.example.com/v1/users \
--header "Content-Type: application/json" \
--auth bearer --token "{{AUTH_TOKEN}}" \
--body '{"name": "Test User", "email": "[email protected]"}'
BEFORE proceeding:
mcp-api-tester request send --request-id req-123
mcp-api-tester response raw --request-id req-123
BEFORE proceeding:
mcp-api-tester validate status --request-id req-123 --expected 201
mcp-api-tester validate schema --request-id req-123 --schema '{"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}}}'
mcp-api-tester validate header --request-id req-123 --name Content-Type --expected "application/json"
mcp-api-tester validate timing --request-id req-123 --max-ms 500
BEFORE proceeding:
mcp-api-tester contract load --spec openapi.yaml
mcp-api-tester contract validate --request-id req-123 --spec openapi.yaml
mcp-api-tester contract diff --spec openapi.yaml --live https://api.example.com/v1
BEFORE proceeding:
mcp-api-tester smoke create --name health-check --endpoint GET /health --expected 200
mcp-api-tester smoke create --name user-crud --steps "POST /users -> GET /users/:id -> PUT /users/:id -> DELETE /users/:id"
mcp-api-tester smoke run --suite smoke-suite
mcp-api-tester smoke report --suite smoke-suite
Before marking complete:
If you catch yourself thinking:
ALL OF THESE MEAN: STOP. Return to the relevant phase.
Watch for these redirections:
When you see these: STOP. Return to the relevant phase.
| Excuse | Reality |
|---|---|
| "Manual inspection is faster than writing validation rules." | Manual verification misses issues; automation enforces the same standards on every run. |
| "A 200 status code guarantees success." | An endpoint can return 200 while containing empty bodies or error payloads. Validate the schema. |
| "The spec is outdated, so contract tests are useless." | Update the specification; discrepancies between docs and code lead to integration issues. |
| "Running one-off tests is sufficient." | One-off tests are not reproducible and cannot be easily run in automated pipelines. |
| "Failing tests are flaky environment issues." | Flaky tests hide actual bugs. Investigate and resolve all failures. |
After completing this process:
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub haj1t/senior-dev-squad-skills --plugin mcp-tools-pro