MCP server intelligence profile

Mockzilla MCP Server

MCP server for mockzilla. Lets coding agents (Claude Desktop, Cursor, etc.) install the mockzilla CLI, stand up API mocks from an OpenAPI spec or a single endpoint, and — with an account — deploy hosted mocks on mockzilla.org

HybridOfficial distributionmockzilla
Verified cleanNpm · 0.2.13

Our scanner tested version 0.2.13 without proving a finding in the methods exercised. This is not a guarantee that every deployment is secure.

1Distribution channel
17Independently observed tools
1Linked remote endpoint
AvailableVersion intelligence

Install and connect

Installation and connection instructions are shown only when supported by retained package, repository, or endpoint evidence.

Install @mockzilla/mcp from npm

Version 0.2.13 declares 1 executable entrypoint.

npm install --save-exact @mockzilla/mcp@0.2.13
npx -y -p @mockzilla/mcp@0.2.13 @mockzilla/mcp
MCP client configuration example
{
  "mcpServers": {
    "@mockzilla/mcp": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "@mockzilla/mcp@0.2.13",
        "@mockzilla/mcp"
      ]
    }
  }
}

Identity

Canonical slugmockzilla-50f0acd5DeploymentHybrid
Canonical packagenpm:@mockzilla/mcpRepositorymockzilla/mockzilla-mcp
First publishedLatest release
Last security verificationAug 21, 2026Classification confidence82%
PublicationPublishedOfficial distributionYes

Distributions

ChannelIdentifierCurrent versionVersionsSource
npm@mockzilla/mcp0.2.131Repository

Current release

PackageVersionPublished / observedInventorySecurity scan
npm@mockzilla/mcp0.2.13CurrentSep 5, 202617 toolsSucceeded · 0 resources · 0 promptsVerified clean
Enterprise protection

Continuously monitor this MCP for security risk

Independently scan the exact version your agents use, receive alerts when its risk changes, and investigate every finding with retained version evidence.

  • Independent exact-version security scans
  • Continuous release and vulnerability monitoring
  • Risk-change alerts with capability context
  • Historical evidence and API exports
Custom pricingContact salesTailored to your organization, integrations, data needs, and support requirements.

Current version evidence

Provenanceartifact_hash_verifiedSignature
MCP SDKArtifact SHA-256221b1952b7936f758a64a9adaf29571938a2c6a64bb62988a83fa0c0e2daf759
Scannermcp-proof-engine 0.1.0Scan completedAug 21, 2026
Security rating60 / 100Methodologyversion-rating-1.0
Executable entrypoints
[
  "@mockzilla/mcp"
]
Rating reasons
[
  "security_policy_not_observed"
]
0Proven
994Clean
0Inconclusive
0Flaky
0Errors

Current protocol inventory

2025-06-18Negotiated protocol
mockzilla-bridgeServer-reported name
1Capability groups
Aug 21, 2026Observed

Tools 17

ToolCategoryAnnotationsRisk
bridge_statusReport the bridge's own version and check whether a newer one is on npm. Returns {bridge_version, bridge_latest, update_available, upgrade_steps}. Call this when the user asks 'is mockzilla-mcp up to date?', or proactively if a tool starts failing in a way that could be a stale-bridge issue.
Input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
call_endpointMake an HTTP request to a URL and return {status, headers, body}. Use this to demonstrate a mock by hitting it after `serve_locally` (e.g. `http://localhost:PORT/openapi/pet/findByStatus`), to inspect the admin API (`/.services` returns the registered services, `/healthz` for liveness), or to verify a freshly-mocked endpoint works. Default scope is localhost only; pass `allow_remote: true` for arbitrary URLs (rare — the bridge isn't a general-purpose HTTP client).
Input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD",
        "OPTIONS"
      ],
      "default": "GET"
    },
    "headers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "body": {},
    "allow_remote": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
check_cliCheck whether the mockzilla CLI is available — either on the system PATH, in the bridge's own cache (~/.cache/mockzilla-mcp/), or via a `go run` invocation. Call FIRST when the user wants to try mockzilla locally. If nothing resolves, the response carries `install_options`; suggest `install_cli` to the user and ask them which method (download / go-install / go-run) they prefer.
Input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
clear_mock_endpointsWipe ALL mocks created via `mock_endpoint` and stop the managed server. Equivalent to `rm -rf ~/.cache/mockzilla-mcp/mocks` plus `stop_locally`. Use when the user wants to start fresh. Does not touch the mockzilla CLI binary or other bridge state.
Input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
discover_specsScan a directory and report what mockzilla can do with it: top-level OpenAPI spec files (with title and endpoint count) plus any `static/` subdirs that mockzilla can auto-mock. Returns a `suggested_input` the agent can hand directly to `serve_locally`. Use this when the user says 'I have a folder of specs/files, what's in it?' or 'mock this directory'.
Input schema
{
  "type": "object",
  "properties": {
    "dir": {
      "type": "string"
    }
  },
  "required": [
    "dir"
  ],
  "additionalProperties": false
}
infoPrint a JSON summary of a spec, URL, or .mockz package — title, version, OpenAPI version, endpoint count, and the full path list with operation IDs. Pass `input` as a local spec file, a public https URL, or a `.mockz` package (mockzilla unpacks and summarises it). Use this to look inside something before serving or deploying it, or to inspect what a package contains.
Input schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Spec file path, public https URL, or .mockz package."
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
install_cliInstall the mockzilla CLI for this user. Three methods — ASK the user which one they want before calling: • download (recommended): fetch the prebuilt binary for this OS/arch from github.com/mockzilla/mockzilla releases (~38MB). Fast, no toolchain needed. • go-install: run `go install <module>@v<version>` to compile from source. Needs Go on PATH. • go-run: don't install at all — the bridge stores a `go run <module>@v<version>` invocation. First serve_locally compiles into Go's module cache; later runs are instant. Needs Go. Files land in the bridge's own cache, never on system PATH; blow it away with `rm -rf ~/.cache/mockzilla-mcp`.
Input schema
{
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "enum": [
        "download",
        "go-install",
        "go-run"
      ],
      "default": "download"
    }
  },
  "additionalProperties": false
}
list_mock_endpointsList all endpoints currently mocked via `mock_endpoint`. Returns {endpoints: [{method, service, path, file}], server_url, ui_url}. If a managed server is running, `ui_url` is the mockzilla UI (opens in a browser, shows endpoints grouped by service plus request inspection). Suggest the UI to the user when they want to explore beyond what the agent can show in chat.
Input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
mock_endpointQuickly mock a single HTTP endpoint without writing an OpenAPI spec. Pass `method` (default GET), `path` (the EXACT HTTP path the user described, including all segments), and the `response` body (object → JSON, string → text). The bridge writes the response into a managed static dir at ~/.cache/mockzilla-mcp/mocks/ and (re)starts a single shared mockzilla server pointing at it. Pass `path` AS IS. Do NOT prepend or duplicate any segment. The bridge derives the service name from the first segment for internal grouping, but it does not change the URL the user hits. Examples: • User says `GET /pets/{id}` → call mock_endpoint with path=`/pets/{id}` → URL is http://HOST:PORT/pets/{id} • User says `POST /orders` → path=`/orders` → URL is http://HOST:PORT/orders • User says `GET /v1/users/me` → path=`/v1/users/me` → URL is http://HOST:PORT/v1/users/me Path placeholders like `{id}` are stored as literal directory names — by default ALL placeholder values share the same response. To return different responses for specific values, call mock_endpoint again with a literal value (e.g. /pets/123). Calling this multiple times accumulates endpoints in the same server — adding `POST /pets` after `GET /pets/{id}` keeps both. Mutually exclusive with `serve_locally`: stop any ad-hoc server first. See `mockzilla_docs_search('static directory')` for the underlying convention.
Input schema
{
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD",
        "OPTIONS"
      ],
      "default": "GET"
    },
    "path": {
      "type": "string",
      "description": "Path beginning with /. First segment is the service name."
    },
    "response": {
      "description": "Response body. Object → JSON. String → text. Default {}."
    },
    "status": {
      "type": "integer",
      "minimum": 100,
      "maximum": 599,
      "default": 200
    },
    "content_type": {
      "type": "string",
      "description": "Override content type. Inferred from response type if omitted (object → application/json, string → text/plain)."
    }
  },
  "required": [
    "path"
  ],
  "additionalProperties": false
}
mockzilla_docs_readReturn the full markdown for one mockzilla doc topic. Use this when the user asks a deep question about a specific area (middleware, contexts, codegen, config) and you want full context. For broader questions or when you don't know the right topic, use `mockzilla_docs_search` first.
Input schema
{
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "description": "Topic name from `mockzilla_docs_topics` (e.g. 'middleware', 'usage/portable')."
    }
  },
  "required": [
    "topic"
  ],
  "additionalProperties": false
}
mockzilla_docs_searchSearch the mockzilla docs by keyword. Returns the top-scoring sections {topic, heading, snippet} so you can identify which topic to read in full. Use this BEFORE answering questions about mockzilla syntax, conventions, or features you're not 100% sure of — the docs are the source of truth, your training is not.
Input schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Free-text query, e.g. 'static directory layout'."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 5
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
mockzilla_docs_topicsList the available mockzilla doc topics (e.g. 'usage/portable', 'middleware', 'config/service'). Call this once at the start of a session involving non-trivial mockzilla usage to know what knowledge is available; then call `mockzilla_docs_search` with a query or `mockzilla_docs_read` for a specific topic.
Input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
packPack a directory of mockzilla services into a `.mockz` archive for easier distribution or sharing. The archive carries a manifest (name, description, mounts, modes, git source) so the runtime can register every service without re-walking the tree. Hand the resulting .mockz to anyone — they can serve it with `serve_locally`, even from a URL. Use this when the user wants to share a working mock setup, snapshot one for a teammate, or publish it. Defaults: output is `<basename>.mockz` next to `dir`. Git metadata (remote, ref, commit) is auto-embedded when `dir` is inside a git tree — pass `skip_git: true` to suppress.
Input schema
{
  "type": "object",
  "properties": {
    "dir": {
      "type": "string",
      "description": "Directory containing services / specs to pack."
    },
    "output": {
      "type": "string",
      "description": "Output .mockz path. Defaults to <basename>.mockz next to dir."
    },
    "name": {
      "type": "string",
      "description": "Display name embedded in the archive manifest."
    },
    "description": {
      "type": "string",
      "description": "Free-text description embedded in the manifest."
    },
    "min_version": {
      "type": "string",
      "description": "Minimum mockzilla version required to load this archive (e.g. '2.5.3'). Useful when the archive relies on newer features."
    },
    "skip_git": {
      "type": "boolean",
      "description": "Don't auto-embed git remote/ref/commit in the manifest.",
      "default": false
    }
  },
  "required": [
    "dir"
  ],
  "additionalProperties": false
}
peek_openapiSummarise an OpenAPI spec without serving it. Returns {title, version, openapi_version, endpoint_count, paths}. Pass `input` as a file path or a public https URL. Use this when the user wants to know what's in a spec before deciding whether to serve or deploy it.
Input schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "string"
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
serve_locallyStart ONE mockzilla portable mock server on this machine that serves any number of APIs together — no mockzilla account needed. Pass `input` as a single spec path / directory / public https URL, OR an array of them to combine multiple APIs into the same server (each becomes a service mounted at /<service>/...). Returns {url, port, pid, services} once listening. Pair with `stop_locally(pid)` to clean up. Prefer this over `deploy_mock_from_*` whenever the user says 'try locally', 'experiment', or 'play with' — those tools create persistent hosted bundles, this one is ephemeral. The bridge only runs ONE local server at a time on purpose: if the user wants more APIs, stop the current server and restart with all of them in `input`. If the user names a well-known API (stripe, twilio, github, openai, slack, etc.) WITHOUT providing a URL, recall the public OpenAPI spec URL from your training knowledge and pass that. Do NOT pass a catalog ID or slug from `list_catalog_products` — that catalog is for the HOSTED `deploy_mock_from_catalog` flow, its ids are not URLs. Examples of public OpenAPI URLs: • Stripe: https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json • Twilio: https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_api_v2010.json • GitHub: https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json • Petstore: https://petstore3.swagger.io/api/v3/openapi.json
Input schema
{
  "type": "object",
  "properties": {
    "input": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          },
          "minItems": 1
        }
      ],
      "description": "Spec file path(s), directory, or public OpenAPI URL(s). Pass an array to combine multiple APIs into one server."
    },
    "port": {
      "type": "integer",
      "minimum": 0,
      "maximum": 65535,
      "description": "Port to bind on. Omit or pass 0 to let the OS pick a free port."
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
simplifySimplify an OpenAPI spec: drop or reduce union types (anyOf/oneOf), strip x-* extensions, and optionally limit the number of optional properties per schema. Writes the simplified spec to disk and returns its path. Use this when a spec is too large or too complex to mock cleanly (deeply nested unions, hundreds of optional fields) — the output is a faithful subset the agent can hand to `serve_locally`. Optional-property handling: • omit `optional` to keep every optional property • `optional: N` keeps exactly N per schema (0 drops them all) • `optional_min`/`optional_max` (must come together) picks a random count in that range per schema Pass `config` for an oapi-codegen-dd codegen.yml when the user wants filter + overlay + prune applied before simplification.
Input schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Spec file path or public https URL."
    },
    "output": {
      "type": "string",
      "description": "Where to write the simplified spec. Omit to write into ~/.cache/mockzilla-mcp/simplified/ and let the bridge pick a name."
    },
    "optional": {
      "type": "integer",
      "minimum": 0,
      "description": "Keep exactly N optional properties per schema. Mutually exclusive with optional_min/optional_max."
    },
    "optional_min": {
      "type": "integer",
      "minimum": 0,
      "description": "Range mode lower bound (use with optional_max)."
    },
    "optional_max": {
      "type": "integer",
      "minimum": 0,
      "description": "Range mode upper bound (use with optional_min)."
    },
    "config": {
      "type": "string",
      "description": "Path to an oapi-codegen-dd codegen.yml. Applies filter + overlay + prune before simplification."
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
stop_locallyStop the mockzilla server started by `serve_locally`. Takes no arguments — there's only ever one local server running. Returns {stopped: bool, pid?, reason?}.
Input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Resources 0

  • None observed.

Resource templates 0

  • None observed.

Prompts 0

  • None observed.

Remote endpoints

EndpointTransportAuthenticationHealthObserved
https://platform.mockzilla.org/mcp/Declared in Repository Readme · repositorystreamable_httprequired_unknown_typeAuthentication required · 1 attemptHTTP 401 · 289 msSep 4, 2026

Mockzilla MCP Server questions

How do I install Mockzilla MCP Server?

Install the selected package version with: npm install --save-exact @mockzilla/mcp@0.2.13

What tools does Mockzilla MCP Server provide?

Mockzilla MCP Server exposed 17 tools during independent protocol observation, including bridge_status, call_endpoint, check_cli, clear_mock_endpoints, discover_specs, info, install_cli, list_mock_endpoints, and others.

Is Mockzilla MCP Server secure?

Our scanner tested version 0.2.13 without proving a finding in the methods exercised. This is not a guarantee that every deployment is secure.

Explore related MCP server guides

Curated product and capability guides containing this catalog record.

Developer Tool MCP ServersOfficial vs Community MCP ServersMCP Servers With Completed Verification

Let’s talk about MCP security.

Share your details and our security team will contact you.