mcp-api-test
v0.3.0MCP server for testing REST API with built-in assertions
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run_test_api
Test a given API services, it will supports either: 1. Shared cURL command and it will be structured 2. Or, pre-defined structured requests data Use ``${ENV_VAR}`` in the cURL command, URL, headers, query params or payload to inject secrets from the server environment (or its .env file) without handling them directly. Example prompt: `Please test this API based on this cURL, ensure status code is 2xx, and response contains 'id'`
| Parameter | Type | Description |
|---|---|---|
api_name * | string | |
base_url | ||
curl_command | ||
endpoint | ||
follow_redirects | boolean | |
headers | ||
include_response_headers | boolean | |
max_body_chars | integer | |
max_response_time_ms | ||
method | string | |
output_format | string | |
payload | ||
query_params | ||
required_response_contains | ||
required_response_fields | ||
required_response_headers | ||
required_response_values | ||
required_status_code | ||
required_status_code_range | ||
response_not_contains | ||
timeout | number | |
verify_tls | boolean |