manage_mock_server
Start, stop, or list mock servers using OpenAPI specs to simulate APIs for frontend development, enabling complete lifecycle management.
Instructions
Manage Specmatic mock servers - start, stop, or list running servers for frontend development. Supports complete mock server lifecycle management.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The action to perform: 'start' creates a new server, 'stop' terminates a server, 'list' shows running servers | |
| openApiSpec | No | The OpenAPI specification content (YAML or JSON) - required for 'start' command | |
| port | No | Port number for the mock server - required for 'start' and 'stop' commands | |
| specFormat | No | Format of the OpenAPI spec - used with 'start' command | yaml |