APIMock
Server Details
Build, debug and break hosted mock APIs from Claude: endpoints, stateful CRUD data, OpenAPI import, response variants and fault injection.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- APIMock
TDQS
Scored across 20 tools
Most tools target distinct resources and actions (endpoints, folders, resources, fault rules, diagnostics), so selection is generally clear. Slight overlap exists between specialized heal_mock_endpoint and generic update_endpoint, and between import_openapi/scaffold_backend/create_resource for bulk creation, but descriptions differentiate them well.
All tools use snake_case with a consistent verb_noun pattern (create_endpoint, list_folders, delete_resource, set_fault_rule, simulate_request). Minor variations like heal_mock_endpoint and singular/plural on fault rules do not break the predictable convention.
20 tools is on the high side, but the server spans several subdomains: workspace listing, endpoint CRUD, folder management, stateful resources, fault injection, OpenAPI import, diagnostics, simulation, and scaffolding. Each tool appears to earn its place, though consolidation could reduce mild redundancy.
The surface covers the full mock API lifecycle: endpoint and folder CRUD, stateful resource creation and deletion, fault-rule management, OpenAPI import, failure inspection, request simulation, and backend scaffolding. Workspace creation is absent but appears out of scope, as workspaces are pre-provisioned.
Publisher details
- Operator
- Rikesh Shrestha · Publisher source
- Operator website
- https://apimock.dev
- Vendor relationship
- First-party
- Documentation
- https://apimock.dev/docs/mcp
- Privacy policy
- Not provided
- Trust center
- https://apimock.dev/privacy
- Restrictions
- No paid plan.
Available Tools
20 toolsclear_fault_rulesClear fault rulesADestructiveIdempotentInspect
Delete one fault rule (rule_id) or every fault rule in a workspace, restoring normal responses.
Inputs: workspace (required), rule_id.
create_endpointCreate endpointBInspect
Create a mock HTTP endpoint in a workspace. Provide the workspace slug, method, route (must start with /), and response_body (served as-is; JSON is typical). Pass folder_id to place it in a folder.
Inputs: route (required), method (required), workspace (required), response_body (required), +11 more.
create_folderCreate folderAInspect
Create a folder in a workspace. Pass parent_folder_id to nest it as a subfolder (create the parent first, or find its id with list_folders). Returns the new folder id to use as create_endpoint's folder_id.
Inputs: name (required), workspace (required), parent_folder_id.
create_resourceCreate resourceAInspect
Declare a single new stateful CRUD collection with typed fields and initial seed records. Materializes live CRUD endpoints (list, get, create, patch, put, delete) immediately.
Inputs: slug (required), fields (required), workspace (required), folder_id, +2 more.
delete_endpointDelete endpointADestructiveIdempotentInspect
Delete one endpoint, identified by endpoint_id or by method and route. To remove a resource's generated CRUD routes, use delete_resource.
Inputs: workspace (required), route, method, endpoint_id.
delete_folderDelete folderADestructiveIdempotentInspect
Delete a folder with its subfolders and every endpoint in them. Refuses folders that hold a resource's CRUD routes; delete those resources with delete_resource first.
Inputs: folder_id (required), workspace (required).
delete_resourceDelete resourceADestructiveIdempotentInspect
Delete a resource with its fields, records, seed data and generated CRUD routes. Other endpoints in its folder are kept; the folder is removed only if it ends up empty.
Inputs: resource (required), workspace (required).
get_endpointGet endpointARead-onlyInspect
Get one endpoint's full configuration (response body, status, headers, delay, auth, template and validation settings) and its live URL. Identify it by endpoint_id, or by method and route.
Inputs: workspace (required), route, method, endpoint_id.
heal_mock_endpointHeal mock endpointADestructiveIdempotentInspect
Update an existing mock endpoint's response body, status code, or request schema directly to fix integration failures identified via inspect_failed_requests.
Inputs: workspace (required), route, method, endpoint_id, +3 more.
import_openapiImport an OpenAPI specADestructiveIdempotentInspect
Import an OpenAPI/Swagger spec (v2, v3.0, v3.1; JSON or YAML) into a workspace, generating one mock endpoint per operation with responses taken from the spec's examples. Clean CRUD path-groups become live stateful Resources (with inferred fields and seed records) served at the spec's own paths, instead of static endpoints. Provide either spec (the raw text) or url. Generated objects are placed in a folder named after the spec; re-importing the same spec reconciles instead of duplicating.
Inputs: workspace (required), url, spec.
inspect_failed_requestsInspect failed requestsARead-onlyInspect
Inspect recent failed, 404/unmatched, or errored requests in a workspace. Returns paths, methods, headers, offending payloads, and match diagnostics to diagnose integration issues.
Inputs: workspace (required), limit, status_filter, include_injected.
list_endpointsList endpointsARead-onlyInspect
List existing endpoints in a workspace. Use this before create_endpoint to avoid a duplicate method+route.
Inputs: workspace (required).
list_fault_rulesList fault rulesARead-onlyInspect
List a workspace's active fault rules with their match, probability, config and minutes remaining.
Inputs: workspace (required), include_expired.
list_foldersList foldersARead-onlyInspect
List folders (and subfolders) in a workspace, with their ids and paths. Use a folder id as create_endpoint's folder_id, or as create_folder's parent_folder_id.
Inputs: workspace (required).
list_resourcesList resourcesARead-onlyInspect
List a workspace's stateful CRUD resources with their live collection URL, typed fields and record count.
Inputs: workspace (required).
list_workspacesList workspacesARead-onlyInspect
List the APIMock workspaces you can access, with their slug and your role. Pass a slug as the workspace argument to list_endpoints / create_endpoint.
Inputs: no named parameters.
scaffold_backendScaffold backendAInspect
Atomically scaffold an entire relational domain backend in a single call with structured resources, typed fields, seed records, and custom endpoints. Returns live CRUD URLs, curl snippets, and contract links.
Inputs: resources (required), workspace (required), title, endpoints.
set_fault_ruleSet fault ruleAInspect
Inject failures into a workspace's mock responses so you can test how the client copes: error statuses (e.g. 503, or 429 with Retry-After), latency, null or dropped JSON fields, or empty lists. Matches by optional method and a path glob, fires with the given probability, and expires automatically (default 60 minutes). For a fault on a single request, send the X-APIMock-Fault header instead (e.g. X-APIMock-Fault: 429;retry-after=2).
Inputs: kind (required), workspace (required), body, name, +11 more.
simulate_requestSimulate requestARead-onlyInspect
Show which endpoint and which response (including response variants) a request would get, and why, without sending it or logging anything. Reports each variant's conditions as matched or not, and probabilities for weighted endpoints. Use it to check response variants after create_endpoint or update_endpoint.
Inputs: path (required), method (required), workspace (required), body, +1 more.
update_endpointUpdate endpointADestructiveIdempotentInspect
Change any setting of an existing endpoint, including its method, route or folder. Pass only the fields to change in changes; the rest keep their current values. Identify the endpoint by endpoint_id, or by method and route. A resource's generated CRUD routes can't be edited.
Inputs: changes (required), workspace (required), route, method, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Hosted mock APIs from OpenAPI, TypeScript or Postman: realistic data, errors and latency on demand.
AI-native mock API server with MCP. Create REST/SOAP mocks from Claude, Cursor, or Windsurf.
AI-callable tools for API mocking, testing, monitoring, security, and automation.
Mock REST APIs, fake OAuth2/OIDC provider, uptime monitors + heartbeats, live badge/QR images.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to build, debug, and test hosted mock REST APIs by scaffolding persistent CRUD resources, importing OpenAPI specs, simulating requests, auto-healing failing endpoints, and injecting latency or error faults. It also exposes live OpenAPI and TypeScript contract resources for each workspace.MIT
- AlicenseAqualityCmaintenanceEnables Claude to create local, persistent mock REST APIs on demand from plain-language descriptions, with data written to disk so it survives restarts.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables instant creation of mock API servers from OpenAPI specs or natural language descriptions, with built-in fake data generation, CRUD endpoints, and configurable delays/errors for testing.MIT
- AlicenseAqualityCmaintenanceEnables creating mock API endpoints and responses, including mock collections and status checks.38 npmISC
Glama MCP Gateway
Add one secure layer between your agents and this server.