ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Mockzilla MCP

โดย mockzillaรุ่น 0.2.28i★ –iรันบนเครื่อง
ชื่อใน registryio.github.mockzilla/mockzilla-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Mock OpenAPI specs locally, or log in to deploy hosted mocks on mockzilla.org from your MCP client.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา
  • ต้องใส่ค่าเหล่านี้: MOCKZILLA_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "mockzilla": {
      "command": "npx",
      "args": [
        "-y",
        "@mockzilla/mcp"
      ],
      "env": {
        "MOCKZILLA_TOKEN": "ใส่ค่าของคุณ",
        "MOCKZILLA_MCP_URL": "ใส่ค่าของคุณ",
        "MOCKZILLA_MANAGED_PORT": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add mockzilla --env MOCKZILLA_TOKEN='ใส่ค่าของคุณ' --env MOCKZILLA_MCP_URL='ใส่ค่าของคุณ' --env MOCKZILLA_MANAGED_PORT='ใส่ค่าของคุณ' -- npx -y @mockzilla/mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "mockzilla": {
      "command": "npx",
      "args": [
        "-y",
        "@mockzilla/mcp"
      ],
      "env": {
        "MOCKZILLA_TOKEN": "ใส่ค่าของคุณ",
        "MOCKZILLA_MCP_URL": "ใส่ค่าของคุณ",
        "MOCKZILLA_MANAGED_PORT": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "mockzilla": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mockzilla/mcp"
      ],
      "env": {
        "MOCKZILLA_TOKEN": "ใส่ค่าของคุณ",
        "MOCKZILLA_MCP_URL": "ใส่ค่าของคุณ",
        "MOCKZILLA_MANAGED_PORT": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • MOCKZILLA_TOKEN ความลับ env
    API key (mz_*) to use instead of logging in with the login tool, for machines without a browser. Leave unset to log in from your agent.
  • MOCKZILLA_MCP_URL env
    Override the hosted MCP endpoint (staging or local development). Defaults to https://platform.mockzilla.org/mcp.
  • MOCKZILLA_MANAGED_PORT env
    Preferred port for the local managed mock server. Defaults to 2200; falls back to a kernel-picked port if busy.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub mockzilla ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1386 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 64% ของอีก 1386 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1386 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Mockzilla MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: MOCKZILLA_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.28) เข้า registry 27 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 15 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

@mockzilla/mcp

MCP server for Mockzilla - an open-source API mock server for OpenAPI specifications. Let Claude Code, Claude Desktop, Cursor, or Gemini CLI install Mockzilla, inspect OpenAPI specs, and spin up realistic local mock APIs in seconds. No account required for local use.

Source: github.com/mockzilla/mockzilla-mcp

Use cases

  • Local API development - mock any OpenAPI spec without a real backend or sandbox account
  • CI/CD integration testing - zero external dependencies in your pipeline
  • PSP and payment API mocking - Stripe, PayPal, Adyen from your editor without test accounts
  • Crypto exchange API mocking - Binance, Bybit without registered accounts
  • Rate limit protection - develop against OpenAI, Twilio without burning quota
  • Agentic workflows - let Claude or Cursor spin up and manage mock servers automatically

Two planes

@mockzilla/mcp exposes two planes of tools to your MCP client.

Local plane (no account required)

Runs on your machine. No Mockzilla account needed.

From an agent you can:

  • Check whether the Mockzilla CLI is installed, and install it into a managed cache (no changes to system PATH).
  • Inspect and lint an OpenAPI spec, or scan a folder for specs.
  • Simplify a spec that is too heavy to mock, or pack services into a .mockz archive.
  • Generate Go code from a spec: models, a server for one of 14 routers, a client, or MCP tools.
  • Serve any OpenAPI spec locally as a portable mock server, and call its endpoints.
  • Mock a single HTTP endpoint without a spec.
  • List, stop, and clear locally managed mocks.
Hosted plane (log in once)

Ask your agent to log in, or ask for something hosted. The agent calls the login tool, your browser opens the Mockzilla login, and you pick an organization and read-only or read-and-write access. The bridge keeps the login on your machine and renews it by itself. Hosted tools are listed from the start; before you log in, the agent is told to log in first.

Agents can then:

  • List deployed sims.
  • Browse catalog products.
  • Deploy hosted mocks from a spec, URL, or catalog bundle.
  • Wait for a deploy and return the live URL.

Before logging in, only the local plane is exposed. Agents can still help users explore Mockzilla and run local mocks before they sign up.

Example prompts

You can use these directly from Claude Code, Claude Desktop, Cursor, or Gemini CLI once mockzilla is configured as an MCP server.

Local plane (no account)
  • "Is the mockzilla CLI installed on this machine?"
  • "Install Mockzilla for me."
  • "Spin up the Petstore OpenAPI spec locally so I can curl it."
  • "What endpoints does https://example.com/openapi.yaml expose?"
  • "Mock POST /checkout to return a 402 response."
  • "List the mock endpoints you're managing."
  • "Stop the mock server you started."
  • "Generate Go models and a chi server for openapi.yml into ./api."
Hosted plane (after logging in)
  • "Log me in to Mockzilla."
  • "List the sims I have deployed."
  • "Show me the catalog products."
  • "Deploy a Stripe mock named stripe-test and give me the live URL."
  • "Create a hosted mock from this OpenAPI URL on mockzilla.org."

Install

Claude Code

One-liner, no config file editing:

claude mcp add -s user mockzilla -- npx -y @mockzilla/mcp@latest
  • -s user installs for your user account (available in every project).
  • Drop -s user to scope to the current project only.
Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "mockzilla": { "command": "npx", "args": ["-y", "@mockzilla/mcp@latest"] } } }

Restart Claude Desktop after editing.

Cursor

Easiest: Settings -> MCP Servers -> Add new MCP server and fill in:

  • Name: mockzilla
  • Command: npx
  • Args: -y @mockzilla/mcp@latest

Or edit ~/.cursor/mcp.json directly:

{

"mcpServers": { "mockzilla": { "command": "npx", "args": ["-y", "@mockzilla/mcp@latest"] } } }

Restart Cursor after editing.

Gemini CLI

One-liner, no manual JSON editing:

gemini mcp add -s user mockzilla npx -y @mockzilla/mcp@latest
  • -s user writes to ~/.gemini/settings.json (available in every project).
  • Drop -s user (or use -s project) to scope to the current directory's .gemini/settings.json.

Or edit the settings file directly:

{

"mcpServers": { "mockzilla": { "command": "npx", "args": ["-y", "@mockzilla/mcp@latest"] } } }

Restart the Gemini CLI after editing.

Why @latest?

Without @latest, npx caches the first resolved version and won't pick up new publishes. Pinning to @latest makes npx re-check the registry on every spawn, so a Claude / Cursor / Gemini restart is enough to upgrade. Trade-off: ~200 ms extra startup time.

Local tools

These tools are always available and never leave the user's machine.

Setup and status
  • `check_cli` Resolve Mockzilla on this machine: system PATH -> bridge cache -> go run invocation. Returns install options if nothing matches.
  • `install_cli` Install Mockzilla into ~/.cache/mockzilla-mcp/. Methods: download (prebuilt from GitHub releases, default), go-install, go-run. Never touches system PATH.
  • `bridge_status` Report the bridge's version, check npm for newer publishes, and surface upgrade steps.
OpenAPI exploration and docs
  • `info` Summarise an OpenAPI spec without serving it: {title, version, openapi_version, endpoint_count, paths}. Also reads .mockz packages.
  • `lint` Find schemas in a spec that no value can satisfy, so a broken spec is caught before serving it: {clean, defect_count, defects}.
  • `discover_specs` Scan a directory for OpenAPI specs and folders of static endpoint files. Returns a suggested_input for serve_locally.
  • `mockzilla_docs_topics` List the Mockzilla docs, by category, with each topic's title and summary. The product docs from mockzilla.org, the engine docs and the mockzilla-codegen docs all ship inside the package, so no network or login is needed.
  • `mockzilla_docs_read` Return the full markdown for one or more topics, or a whole category.
  • `mockzilla_docs_search` Keyword search across all docs; returns top sections with snippets.
Reshaping specs
  • `simplify` Drop or reduce union types, strip x-* extensions, and optionally cap optional properties per schema. Writes the simplified spec to disk and returns its path.
  • `pack` Pack a directory of services into a .mockz archive that serve_locally can serve, even from a URL.
Generating code
  • `generate` Run mockzilla generate, the built-in mockzilla-codegen: Go models from a spec, plus a server, a client or MCP tools when asked. Reads codegen.yaml when the folder has one. Writes the files, lists them first with dry_run, or reports stale ones with check, along with the spec's errors and warnings. Needs CLI 2.11.0 or newer.
Local mocking
  • `serve_locally` Start a portable mock server on a free port. Accepts a spec file, directory, or public https URL. Returns {url, port, pid, services}. For a single spec, latency, errors, mount and context add delay, inject error responses, change the mount path, or set replacement values.
  • `stop_locally` Stop a server started by serve_locally.
  • `call_endpoint` Make an HTTP request and return {status, headers, body}, to show a mock's response. Localhost only unless allow_remote is set.
  • `mock_endpoint` Quickly mock a single HTTP endpoint without an OpenAPI spec. Writes a static response into the managed mocks dir and (re)starts the shared server. Takes status and headers for a failure or a redirect with a real body (404 with an error payload, 201 with a Location); omit response for a body-less 204 or 304. Needs mockzilla 2.8.20 or newer.
  • `list_mock_endpoints` List all endpoints currently mocked, plus the running server's URL and the Mockzilla UI URL.
  • `clear_mock_endpoints` Wipe all mocks and stop the managed server.
  • `request_history` List the requests the running server answered: method, URL, status, content type, latency, and whether the response came from an upstream. Pass id with service for one request's full headers and body. Reads the server's own history API, so no account is needed.
  • `diagnose_requests` Explain what is wrong with the recorded traffic and where its data came from: a breakdown by origin, status and content type, latency p50/p95/max, and findings such as an upstream that failed and silently fell back to a generated mock, a 404 from a wrong mount prefix, or a JSON body under a non-JSON content type.
  • `setup_replay` Configure replay for a service: record a response once, then serve it back for every matching request. Returns recording_scope saying what each endpoint is keyed by, since with no match fields every call to an endpoint shares one recording. Writes config.yml only inside the bridge's own mocks dir; for a folder from your own project it returns the YAML and where it goes.
  • `list_replays` List a service's recordings, with the request values each one is keyed by.
  • `check_github_deployable` Say whether a repository or folder would deploy a mock, and what is missing if not. Knows both kinds: portable service folders and a codegen Go server. Read-only.
  • `list_github_repos` The user's repositories, flagging which already publish mocks, so the agent can ask which one to use.
  • `publish_to_github` Push mocks to one of the user's own repositories and let the Mockzilla action deploy them at a host of their own, https:// .api.mockz.io. The label is the repository name, with -2, -3 if it is taken. No Mockzilla account needed: the first push registers the repository. Merges into an existing services folder rather than replacing it, and never overwrites an existing workflow.
  • `wait_for_github_deploy` Wait for the workflow run and return the live URL, as the action reported it.
  • `unpublish_from_github` Take the mocks down and free the simulation slot, optionally deleting the repository too.
Account
  • `login` Opens the Mockzilla login in the browser, where the user picks an organization and read-only or read-and-write access. Returns right away with the login link. The agent calls a hosted tool again once the user approves. The login is saved under ~/.config/mockzilla-mcp/, one per server URL, and renewed automatically.
  • `logout` Revokes the connection and deletes the saved login. Log out and in again to switch organization or access.

Hosted tools

@mockzilla/mcp lists the hosted tools from the start and forwards them to mockzilla.org's MCP endpoint once you log in. At the time of writing, the hosted surface includes:

  • get_context
  • list_sims
  • list_catalog_products
  • deploy_mock_from_catalog
  • deploy_mock_from_spec
  • deploy_mock_from_url
  • wait_for_deploy

Refer to the hosted server's docs or the MCP registry entry for the live tool list.

On a machine without a browser, such as CI or a remote server, set MOCKZILLA_TOKEN to an API key from the dashboard instead of logging in. The hosted tools are then available from the start.

Configuration

Env varDefaultPurpose
MOCKZILLA_TOKENunsetAPI key (mz_*) to use instead of logging in, for machines without a browser.
MOCKZILLA_MCP_URLhttps://platform.mockzilla.org/mcpOverride the hosted endpoint, e.g. http://localhost:8000/mcp for local development.

| MOCKZILLA_NO_BROWSER | unset | Set to 1 to not open a browser on login; the agent shows the link i

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx