Skip to content
VS Code

MCPClientMock for VS Code

io.github.akkshay10/mcpclientmock

MCP server for James Bloom MockServer - create expectations, verify requests, and manage mock state

client:VS Code transport:stdio runtime:npm

Install MCPClientMock in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mockserver-host",
      "description": "MOCKSERVER_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mockserver-port",
      "description": "MOCKSERVER_PORT",
      "password": true
    }
  ],
  "servers": {
    "mcpclientmock": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mockserver-mcp"
      ],
      "env": {
        "MOCKSERVER_HOST": "${input:mockserver-host}",
        "MOCKSERVER_PORT": "${input:mockserver-port}"
      }
    }
  }
}

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

MCPClientMock in other clients