Skip to main content
Glama
eyaushev

Swagger Testcase MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_swaggerA

Fetch and parse an OpenAPI/Swagger specification. Supports:

  • Public URLs: https://api.example.com/swagger.json

  • Internal URLs (accessible from user's machine/VPN): https://internal-api.company.com/docs/swagger.json

  • Local files: /path/to/swagger.json, ./api-spec.yaml

  • Auth-protected specs: pass auth_header for Bearer/Basic/API-Key auth

analyze_endpointC

Analyze a specific endpoint from a loaded Swagger spec. Returns detailed info about parameters, request body, responses, and security.

generate_test_casesA

Generate QA test cases for a specific API endpoint. Produces positive, negative, boundary, auth, security, idempotency, pagination, and business logic test cases based on the OpenAPI spec.

generate_test_cases_batchB

Generate QA test cases for multiple endpoints at once. Optionally filter by tag, methods, or path prefix.

export_test_casesA

Export previously generated test cases in various formats: markdown, json, csv, allure_csv, gherkin, postman, k6, pytest, testrail_csv (Steps template), testrail_csv_text (Text template).

compare_specsB

Compare two versions of an OpenAPI spec. Detects added/removed/modified endpoints, schema changes, and breaking changes.

validate_specA

Validate an OpenAPI spec for quality and completeness. Checks for missing descriptions, orphaned schemas, naming inconsistencies, missing error responses, and more. Returns a quality score (0-100).

generate_mock_dataB

Generate realistic mock/sample data from an endpoint's request or response schema. Useful for populating Postman, tests, or documentation.

suggest_missing_testsB

Analyze test coverage for generated test cases. Shows which response codes, parameters, and boundary conditions are covered or missing. Provides prioritized suggestions for additional tests.

clear_cacheA

Clear cached specs and/or generated test cases. Useful when the spec has been updated and needs to be reloaded.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyaushev/swagger-testcase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server