Qiskit IBM Runtime MCP Server

v0.6.2
io.github.Qiskit/qiskit-ibm-runtime-mcp-server Checked 18 hours ago Published 1 month ago

MCP server for IBM Quantum computing services through Qiskit IBM Runtime

Values you need

VariableWhat it is
QISKIT_IBM_TOKENrequired secret Your IBM Quantum API token for authentication
QISKIT_IBM_RUNTIME_MCP_INSTANCEoptional IBM Quantum instance CRN for faster startup (skips instance lookup)

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add qiskit-ibm-runtime-mcp-server -e 'QISKIT_IBM_TOKEN=<QISKIT_IBM_TOKEN>' -- uvx qiskit-ibm-runtime-mcp-server==0.6.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "qiskit-ibm-runtime-mcp-server": {
      "args": [
        "qiskit-ibm-runtime-mcp-server==0.6.2"
      ],
      "command": "uvx",
      "env": {
        "QISKIT_IBM_TOKEN": "<QISKIT_IBM_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "qiskit-ibm-runtime-mcp-server": {
      "args": [
        "qiskit-ibm-runtime-mcp-server==0.6.2"
      ],
      "command": "uvx",
      "env": {
        "QISKIT_IBM_TOKEN": "<QISKIT_IBM_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "QISKIT_IBM_TOKEN",
      "id": "qiskit-ibm-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "qiskit-ibm-runtime-mcp-server": {
      "args": [
        "qiskit-ibm-runtime-mcp-server==0.6.2"
      ],
      "command": "uvx",
      "env": {
        "QISKIT_IBM_TOKEN": "${input:qiskit-ibm-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.qiskit-ibm-runtime-mcp-server]
command = "uvx"
args = ["qiskit-ibm-runtime-mcp-server==0.6.2"]
env = { "QISKIT_IBM_TOKEN" = "<QISKIT_IBM_TOKEN>" }

For AI agents

  1. Ask the user for: QISKIT_IBM_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: setup_ibm_quantum_account_tool, list_backends_tool, least_busy_backend_tool, get_backend_properties_tool, get_backend_calibration_tool, get_coupling_map_tool, find_optimal_qubit_chains_tool, find_optimal_qv_qubits_tool, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json