mcp-api-tester

Automate API testing for MCP endpoints with OpenAPI contract validation.

Updated May 24, 2026
One-click install
npx skills add https://github.com/haJ1t/senior-dev-squad-skills --skill mcp-api-tester
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-api-tester
Source: https://github.com/haJ1t/senior-dev-squad-skills/tree/main/plugins/mcp-tools-pro/skills/mcp-api-tester
Command: npx skills add https://github.com/haJ1t/senior-dev-squad-skills --skill mcp-api-tester

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, openapi-spec-validator, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines API testing for MCP endpoints, reducing manual effort and ensuring API reliability.

Core Features & Use Cases

  • Automated Testing: Execute HTTP endpoint tests, smoke testing, contract verification, and integration tests.
  • HTTP Request & Response Validation: Validate responses, status codes, response schemas, headers, and response latency.
  • OpenAPI Contract Testing: Validate API compliance with OpenAPI specifications.
  • Smoke Testing: Execute predefined test scenarios for health checks and basic CRUD sequences.
  • Use Case: Use this Skill to verify API endpoints during development and after modifications, ensuring they behave correctly and comply with specifications.

Quick Start

Run the mcp-api-tester skill to test the API endpoint at 'https://api.example.com/v1/users' with a POST request.

Frequently Asked Questions about mcp-api-tester

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate API testing for MCP endpoints?

To automate API testing for MCP endpoints, you can execute HTTP endpoint tests, smoke testing, and contract verification to ensure API reliability and compliance during development workflows.

Can I validate HTTP requests and responses against an OpenAPI schema?

Yes, you can validate HTTP requests and responses against an OpenAPI schema. The testing process verifies status codes, response schemas, headers, and response latency to ensure contract compliance.

Do I need OpenAPI specifications for contract testing?

Yes, OpenAPI specifications are required for contract testing. The testing framework uses these schemas to validate API compliance, ensuring endpoints behave correctly and adhere to predefined specifications.

What's the best way to run smoke tests for API health checks?

The best way to run smoke tests for API health checks is by executing predefined test scenarios. This includes basic CRUD sequences and health checks to verify endpoint behavior after modifications.

Does this API testing approach work in CI/CD pipelines?

Yes, this API testing approach works in CI/CD pipelines. It is designed to integrate into development workflows, allowing you to automate endpoint verification and ensure reliability during continuous integration.

Why does HTTP response validation fail for MCP endpoints?

HTTP response validation fails for MCP endpoints when responses deviate from OpenAPI specifications. The validation process checks status codes, headers, and response schemas, failing if the endpoint does not comply with the contract.