Skip to content
VS Code

testkube mcp for VS Code

io.github.kubeshop/testkube-mcp

MCP server for Testkube - Manage test workflows, executions, and artifacts via AI assistants

client:VS Code transport:stdio runtime:oci

Install testkube mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tk-access-token",
      "description": "TK_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tk-org-id",
      "description": "TK_ORG_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tk-env-id",
      "description": "TK_ENV_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tk-control-plane-url",
      "description": "TK_CONTROL_PLANE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tk-dashboard-url",
      "description": "TK_DASHBOARD_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tk-debug",
      "description": "TK_DEBUG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tk-mcp-transport",
      "description": "TK_MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tk-mcp-shttp-host",
      "description": "TK_MCP_SHTTP_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tk-mcp-shttp-port",
      "description": "TK_MCP_SHTTP_PORT",
      "password": true
    }
  ],
  "servers": {
    "testkube-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/kubeshop/mcp-server:2.9.1"
      ],
      "env": {
        "TK_ACCESS_TOKEN": "${input:tk-access-token}",
        "TK_ORG_ID": "${input:tk-org-id}",
        "TK_ENV_ID": "${input:tk-env-id}",
        "TK_CONTROL_PLANE_URL": "${input:tk-control-plane-url}",
        "TK_DASHBOARD_URL": "${input:tk-dashboard-url}",
        "TK_DEBUG": "${input:tk-debug}",
        "TK_MCP_TRANSPORT": "${input:tk-mcp-transport}",
        "TK_MCP_SHTTP_HOST": "${input:tk-mcp-shttp-host}",
        "TK_MCP_SHTTP_PORT": "${input:tk-mcp-shttp-port}"
      }
    }
  }
}

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

testkube mcp in other clients