Skip to content

Qiskit Code Assistant MCP Server for VS Code

io.github.qiskit/qiskit-code-assistant-mcp-server

MCP server for the Qiskit Code Assistant intelligent code completion

client:VS Code transport:stdio runtime:pypi

Install Qiskit Code Assistant MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "qiskit-ibm-token",
      "description": "QISKIT_IBM_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qca-tool-api-base",
      "description": "QCA_TOOL_API_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qca-tool-model-name",
      "description": "QCA_TOOL_MODEL_NAME",
      "password": true
    }
  ],
  "servers": {
    "qiskit-code-assistant-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "qiskit-code-assistant-mcp-server"
      ],
      "env": {
        "QISKIT_IBM_TOKEN": "${input:qiskit-ibm-token}",
        "QCA_TOOL_API_BASE": "${input:qca-tool-api-base}",
        "QCA_TOOL_MODEL_NAME": "${input:qca-tool-model-name}"
      }
    }
  }
}

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

Qiskit Code Assistant MCP Server in other clients