Get Mock Server
get_mock_serverGet the mock server status and URL for the active project. Returns server details including MockCode, URL, active status, rule count, and Smart Mock settings. Returns null if no mock server exists yet (use create_mock_server to create one). Set includeStats to also get rule, request-log and spec-coverage statistics. The access token is never returned; when requireToken is on, the only way to obtain one is 'regenerate_mock_server_token' (which invalidates the old token). Requires project context (call set_context first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeStats | No | Also return rule counts, request-log aggregates and which spec endpoints have no mock rule yet. Defaults to false. |