Skip to main content
Glama

APIMock

Server Details

Build, debug and break hosted mock APIs from Claude: endpoints, stateful CRUD data, OpenAPI import, response variants and fault injection.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
APIMock

TDQS

A4/5.0

Scored across 20 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count4/5

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.

Completeness5/5

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
Privacy policy
Not provided
Restrictions
No paid plan.

Available Tools

20 tools
clear_fault_rulesClear fault rulesA
DestructiveIdempotent
Inspect

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 endpointA
DestructiveIdempotent
Inspect

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 folderA
DestructiveIdempotent
Inspect

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 resourceA
DestructiveIdempotent
Inspect

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 endpointA
Read-only
Inspect

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 endpointA
DestructiveIdempotent
Inspect

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 specA
DestructiveIdempotent
Inspect

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 requestsA
Read-only
Inspect

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 endpointsA
Read-only
Inspect

List existing endpoints in a workspace. Use this before create_endpoint to avoid a duplicate method+route.

Inputs: workspace (required).

list_fault_rulesList fault rulesA
Read-only
Inspect

List a workspace's active fault rules with their match, probability, config and minutes remaining.

Inputs: workspace (required), include_expired.

list_foldersList foldersA
Read-only
Inspect

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 resourcesA
Read-only
Inspect

List a workspace's stateful CRUD resources with their live collection URL, typed fields and record count.

Inputs: workspace (required).

list_workspacesList workspacesA
Read-only
Inspect

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 requestA
Read-only
Inspect

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 endpointA
DestructiveIdempotent
Inspect

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

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources