Skip to content
VS Code

Mockifyer for VS Code

io.github.sgedda/mockifyer-mcp

Query and edit Mockifyer mocks, scenarios, and traces via the dashboard API.

client:VS Code transport:stdio runtime:npm

Install Mockifyer in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mockifyer-dashboard-url",
      "description": "MOCKIFYER_DASHBOARD_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mockifyer-dashboard-base",
      "description": "MOCKIFYER_DASHBOARD_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mockifyer-dashboard-auth-user",
      "description": "MOCKIFYER_DASHBOARD_AUTH_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mockifyer-dashboard-auth-password",
      "description": "MOCKIFYER_DASHBOARD_AUTH_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "mockifyer-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sgedda/mockifyer-mcp"
      ],
      "env": {
        "MOCKIFYER_DASHBOARD_URL": "${input:mockifyer-dashboard-url}",
        "MOCKIFYER_DASHBOARD_BASE": "${input:mockifyer-dashboard-base}",
        "MOCKIFYER_DASHBOARD_AUTH_USER": "${input:mockifyer-dashboard-auth-user}",
        "MOCKIFYER_DASHBOARD_AUTH_PASSWORD": "${input:mockifyer-dashboard-auth-password}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Mockifyer in other clients