AgentHubAgentHub

mockzilla-mcp

MCP ServerMCP Registry官方收录

io.github.mockzilla/mockzilla-mcp · v0.2.13

Mockzilla MCP server. Mock any OpenAPI spec locally with Claude, Cursor, or Gemini CLI.

概览

mockzilla-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

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

环境变量

MOCKZILLA_TOKEN可选secret

Bearer token (mz_oauth_* or mz_*) that unlocks the hosted plane on mockzilla.org. Leave unset to use only the local plane.

MOCKZILLA_MCP_URL可选

Override the hosted MCP endpoint (staging or self-hosted). Defaults to https://platform.mockzilla.org/mcp/.

MOCKZILLA_MANAGED_PORT可选

Preferred port for the local managed mock server. Defaults to 2200; falls back to a kernel-picked port if busy.

相关资源

统一 Manifest

{
  "id": "io.github.mockzilla/mockzilla-mcp",
  "type": "mcp-server",
  "version": "0.2.13",
  "displayName": "mockzilla-mcp",
  "description": "Mockzilla MCP server. Mock any OpenAPI spec locally with Claude, Cursor, or Gemini CLI.",
  "repository": {
    "url": "https://github.com/mockzilla/mockzilla-mcp",
    "source": "github"
  },
  "homepage": "https://mockzilla.org",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@mockzilla/mcp",
        "version": "0.2.13",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "MOCKZILLA_TOKEN",
            "description": "Bearer token (mz_oauth_* or mz_*) that unlocks the hosted plane on mockzilla.org. Leave unset to use only the local plane.",
            "isSecret": true
          },
          {
            "name": "MOCKZILLA_MCP_URL",
            "description": "Override the hosted MCP endpoint (staging or self-hosted). Defaults to https://platform.mockzilla.org/mcp/."
          },
          {
            "name": "MOCKZILLA_MANAGED_PORT",
            "description": "Preferred port for the local managed mock server. Defaults to 2200; falls back to a kernel-picked port if busy."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.mockzilla/mockzilla-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.mockzilla%2Fmockzilla-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
mockzilla-mcp — MCP Server 安装与配置 · AgentHub