Mockzilla
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_cliA | Check whether the mockzilla CLI is available — either on the system PATH, in the bridge's own cache (~/.cache/mockzilla-mcp/), or via a |
| install_cliA | Install 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 |
| serve_locallyA | Start ONE mockzilla portable mock server on this machine that serves any number of APIs together — no mockzilla account needed. Pass 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 |
| call_endpointA | Make an HTTP request to a URL and return {status, headers, body}. Use this to demonstrate a mock by hitting it after |
| mock_endpointA | Quickly mock a single HTTP endpoint without writing an OpenAPI spec. Pass Pass Path placeholders like Calling this multiple times accumulates endpoints in the same server — adding |
| list_mock_endpointsA | List all endpoints currently mocked via |
| clear_mock_endpointsA | Wipe ALL mocks created via |
| stop_locallyA | Stop the mockzilla server started by |
| mockzilla_docs_topicsA | List 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_readA | Return 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_searchA | Search 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. |
| bridge_statusA | Report 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. |
| discover_specsA | Scan a directory and report what mockzilla can do with it: top-level OpenAPI spec files (with title and endpoint count) plus any |
| peek_openapiA | Summarise an OpenAPI spec without serving it. Returns {title, version, openapi_version, endpoint_count, paths}. Pass |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mockzilla/mockzilla-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server