A Cloudflare Workers-based API mock server with MCP support for creating, managing, and serving mock APIs from OpenAPI/Swagger specifications
Server provides 6 tools with basic descriptions and input schemas. However, critical gaps undermine quality: parameter descriptions are minimal or absent (e.g., 'serve_mock_endpoint' path/method params lack detail), output schemas are not documented, error handling is not visible in source, and no guidance on recovery paths. Tool names follow verb_noun convention (good), but descriptions average ~80 chars, below the 194-char baseline for production tools. No evidence of pagination, result limits, or structured output documentation. Schemas present but sparse; many parameters lack type constraints or validation guidance.
Create a new mock API from an OpenAPI/Swagger specification
Delete a mock API and all its associated logs
Get detailed information about a specific mock API including all endpoints
Get request logs for a specific mock API (up to 100 most recent entries)
List all created mock APIs with their metadata and statistics
Serve a mock API endpoint that matches the OpenAPI specification. Dynamically routes requests to matching endpoints and returns configured responses
Output schemas not documented. LLMs cannot plan downstream calls or extract required fields (e.g., mock IDs for chaining). list_mocks, get_mock_detail, get_mock_logs lack return type specifications.
Parameter descriptions are minimal or missing. 'path' and 'method' in serve_mock_endpoint lack format/constraint guidance. 'spec' in create_mock says 'JSON object or string' but does not explain validation or required OpenAPI fields.
No pagination or result limits documented. list_mocks and get_mock_logs may return unbounded results, risking context window exhaustion. No mention of limit, offset, or total_count fields.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 49 | 2026-07-28+ | v2 |
Error handling and recovery guidance absent from source. No evidence of actionable error messages, categorization (retryable vs fatal), or suggestions for next steps when operations fail.
Destructive operation (delete_mock) lacks confirmation or dry-run support. No evidence of permission checks or audit logging. Agents could accidentally delete mocks without safeguards.