home / mcp / api tester mcp server
Provides API testing capabilities from OpenAPI/Swagger, Postman collections, and GraphQL with multi-language test generation and HTML reports.
Configuration
View docs{
"mcpServers": {
"kirti676-api_tester_mcp": {
"command": "npx",
"args": [
"@kirti676/api-tester-mcp@latest"
],
"env": {
"baseUrl": "https://api.example.com/v1",
"BASE_URL": "YOUR_BASE_URL_PLACEHOLDER",
"auth_basic": "base64encodedstring",
"auth_apikey": "your-api-key",
"auth_bearer": "your-jwt-token",
"auth_password": "pass",
"auth_username": "user"
}
}
}
}You can use the API Tester MCP Server to automatically generate and run API tests from OpenAPI/Swagger, Postman collections, or GraphQL schemas. It provides multi-language test generation, real-time progress, HTML reports, and easy integration with MCP clients so you can orchestrate tests from your preferred workflow.
You work with an MCP client to connect to the API Tester MCP Server. Start the server with a simple command, ingest your API specification, configure authentication, generate test scenarios and cases, and then run tests with detailed reports. You can generate tests in multiple languages and frameworks, customize environment variables, and view results in accessible HTML reports.
Typical usage pattern:
Prerequisites: you need Node.js 14 or higher installed on your machine. You do not need a separate Python setup to run the MCP server if you use the NPX option.
Install and run the MCP server directly using NPX:
# Run the server
npx @kirti676/api-tester-mcp@latest
# Check version
npx @kirti676/api-tester-mcp@latest --version
# Get help
npx @kirti676/api-tester-mcp@latest --helpUse a standard MCP client configuration to run the server. This example shows how to point a client at the NPX-based server.
{
"mcpServers": {
"api-tester": {
"command": "npx",
"args": ["@kirti676/api-tester-mcp@latest"]
}
}
}- You can also install the package locally or run from source if you prefer. Follow the steps to clone the project, install dependencies, and run the server from your development environment.
Load API specifications such as OpenAPI/Swagger, Postman collections, or GraphQL schemas with language/framework preferences
Configure authentication and environment variables with guidance and validation
Create test scenarios from ingested specifications including negative tests and edge cases
Convert scenarios into executable tests in a chosen language and framework
Execute API tests with detailed results and reporting
Run load/performance tests with configurable duration and user load
List available language and framework options for test generation
Generate a complete project scaffold with dependencies and configuration
Provide information about workspace directory and file generation locations
Diagnostics for file system and workspace state
Retrieve current session information and progress