ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Qiskit IBM Runtime MCP Server

โดย Qiskitรุ่น 0.6.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.Qiskit/qiskit-ibm-runtime-mcp-server

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

MCP server for IBM Quantum computing services through Qiskit IBM Runtime

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: QISKIT_IBM_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "qiskit-ibm-runtime": {
      "command": "uvx",
      "args": [
        "qiskit-ibm-runtime-mcp-server"
      ],
      "env": {
        "QISKIT_IBM_TOKEN": "ใส่ค่าของคุณ",
        "QISKIT_IBM_RUNTIME_MCP_INSTANCE": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add qiskit-ibm-runtime --env QISKIT_IBM_TOKEN='ใส่ค่าของคุณ' --env QISKIT_IBM_RUNTIME_MCP_INSTANCE='ใส่ค่าของคุณ' -- uvx qiskit-ibm-runtime-mcp-server

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "qiskit-ibm-runtime": {
      "command": "uvx",
      "args": [
        "qiskit-ibm-runtime-mcp-server"
      ],
      "env": {
        "QISKIT_IBM_TOKEN": "ใส่ค่าของคุณ",
        "QISKIT_IBM_RUNTIME_MCP_INSTANCE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "qiskit-ibm-runtime": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "qiskit-ibm-runtime-mcp-server"
      ],
      "env": {
        "QISKIT_IBM_TOKEN": "ใส่ค่าของคุณ",
        "QISKIT_IBM_RUNTIME_MCP_INSTANCE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • QISKIT_IBM_TOKEN ความลับ จำเป็น env
    Your IBM Quantum API token for authentication
  • QISKIT_IBM_RUNTIME_MCP_INSTANCE env
    IBM Quantum instance CRN for faster startup (skips instance lookup)

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub Qiskit ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32464 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 58% ของอีก 32464 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32464 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Qiskit IBM Runtime MCP Server ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: QISKIT_IBM_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.6.2) เข้า registry 29 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, yontu

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

yontu

โดย senrecep

Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Qiskit IBM Runtime MCP Server

A comprehensive Model Context Protocol (MCP) server that provides AI assistants with access to IBM Quantum computing services through Qiskit IBM Runtime. This server enables quantum circuit creation, execution, and management directly from AI conversations.

Features

  • Circuit Execution with Primitives: Run circuits using EstimatorV2 (expectation values) and SamplerV2 (measurement sampling) with built-in error mitigation
  • Quantum Backend Management: List, inspect, and get calibration data for quantum backends
  • Qubit Optimization: Find optimal qubit chains and subgraphs based on real-time calibration data
  • Job Management: Monitor, cancel, and retrieve job results
  • Account Management: Easy setup and configuration of IBM Quantum accounts

Prerequisites

Installation

Install from PyPI

The easiest way to install is via pip:

pip install qiskit-ibm-runtime-mcp-server
Install from Source

This project recommends using uv for virtual environments and dependencies management. If you don't have uv installed, check out the instructions in https://docs.astral.sh/uv/getting-started/installation/

Setting up the Project with uv
  1. Initialize or sync the project:
   # This will create a virtual environment and install dependencies

uv sync

  1. Get your IBM Quantum token (if you don't have saved credentials):
  1. Configure your credentials (choose one method):

Option A: Environment Variable (Recommended)

   # Copy the example environment file

cp .env.example .env

Edit .env and add your IBM Quantum API token

export QISKIT_IBM_TOKEN="your_token_here"

Optional: Set instance for faster startup (skips instance lookup)

export QISKIT_IBM_RUNTIME_MCP_INSTANCE="your-instance-crn"

Option B: Save Credentials Locally

   from qiskit_ibm_runtime import QiskitRuntimeService

Save your credentials (one-time setup)

QiskitRuntimeService.save_account( channel="ibm_quantum_platform", token="your_token_here", overwrite=True )

   This stores your credentials in `~/.qiskit/qiskit-ibm.json`

Option C: Pass Token Directly

   # Provide token when setting up the account

await setup_ibm_quantum_account_tool(token="your_token_here")

Credential Resolution Priority: The server looks for credentials in this order:

  1. Explicit token passed to setup_ibm_quantum_account_tool()
  2. QISKIT_IBM_TOKEN environment variable
  3. Saved credentials in ~/.qiskit/qiskit-ibm.json

Instance Configuration (Optional): To speed up service initialization, you can specify your IBM Quantum instance:

  • Set QISKIT_IBM_RUNTIME_MCP_INSTANCE environment variable with your instance CRN
  • This skips the automatic instance lookup which can be slow
  • Find your instance CRN in IBM Quantum Platform

Instance Priority:

  • If you saved credentials with an instance (via save_account(instance="...")), the SDK uses it automatically
  • QISKIT_IBM_RUNTIME_MCP_INSTANCE overrides any instance saved in credentials
  • If neither is set, the SDK performs a slow lookup across all instances

Note: QISKIT_IBM_RUNTIME_MCP_INSTANCE is an MCP server-specific variable, not a standard Qiskit SDK environment variable.

Quick Start

Running the Server
uv run qiskit-ibm-runtime-mcp-server

The server will start and listen for MCP connections.

Basic Usage Examples
Async Usage (Library)
# 1. Setup IBM Quantum Account (optional if credentials already configured)

Will use saved credentials or environment variable if token not provided

await setup_ibm_quantum_account() # Uses saved credentials/env var

OR

await setup_ibm_quantum_account(token="your_token_here") # Explicit token

2. List Available Backends (no setup needed if credentials are saved)

backends = await list_backends() print(f"Available backends: {len(backends['backends'])}")

3. Get the least busy backend

backend = await least_busy_backend() print(f"Least busy backend: {backend}")

4. Get backend's properties

backend_props = await get_backend_properties("backend_name") print(f"Backend_name properties: {backend_props}")

5. List recent jobs

jobs = await list_my_jobs(10) print(f"Last 10 jobs: {jobs}")

6. Get job status

job_status = await get_job_status("job_id") print(f"Job status: {job_status}")

7. Get job results (when job is DONE)

results = await get_job_results("job_id") print(f"Counts: {results['counts']}")

8. Cancel job

cancelled_job = await cancel_job("job_id") print(f"Cancelled job: {cancelled_job}")

Sync Usage (Scripts, Jupyter)

For frameworks that don't support async operations, all async functions have a .sync attribute:

from qiskit_ibm_runtime_mcp_server.ibm_runtime import (

setup_ibm_quantum_account, list_backends, least_busy_backend, get_backend_properties, get_backend_calibration, get_coupling_map, find_optimal_qubit_chains, find_optimal_qv_qubits, run_estimator, run_sampler, list_my_jobs, get_job_status, get_job_results, cancel_job )

Optional: Setup account if not already configured

Will automatically use QISKIT_IBM_TOKEN env var or saved credentials

setup_ibm_quantum_account.sync() # No token needed if already configured

Use .sync for synchronous execution - no setup needed if credentials saved

backends = list_backends.sync() print(f"Available backends: {backends['total_backends']}")

Get least busy backend

backend = least_busy_backend.sync() print(f"Least busy: {backend['backend_name']}")

Find optimal qubit chains for linear experiments

chains = find_optimal_qubit_chains.sync(backend['backend_name'], chain_length=5) print(f"Best chain: {chains'chains'['qubits']}")

Find optimal qubits for Quantum Volume experiments

qv_qubits = find_optimal_qv_qubits.sync(backend['backend_name'], num_qubits=5) print(f"Best QV subgraph: {qv_qubits'subgraphs'['qubits']}")

Works in Jupyter notebooks (handles nested event loops automatically)

jobs = list_my_jobs.sync(limit=5) print(f"Recent jobs: {len(jobs['jobs'])}")

LangChain Integration Example:

Note: To run LangChain examples you will need to install the dependencies:

`bash

pip install langchain langchain-mcp-adapters langchain-openai python-dotenv

`

import asyncio

import os from langchain.agents import create_agent from langchain_mcp_adapters.client import MultiServerMCPClient from langchain_mcp_adapters.tools import load_mcp_tools from langchain_openai import ChatOpenAI from dotenv import load_dotenv

Load environment variables (QISKIT_IBM_TOKEN, OPENAI_API_KEY, etc.)

load_dotenv()

async def main():

Configure MCP client

mcp_client = MultiServerMCPClient({ "qiskit-ibm-runtime": { "transport": "stdio", "command": "qiskit-ibm-runtime-mcp-server", "args": [], "env": { "QISKIT_IBM_TOKEN": os.getenv("QISKIT_IBM_TOKEN", ""), "QISKIT_IBM_RUNTIME_MCP_INSTANCE": os.getenv("QISKIT_IBM_RUNTIME_MCP_INSTANCE", ""), }, } })

Use persistent session for efficient tool calls

async with mcp_client.session("qiskit-ibm-runtime") as session: tools = await load_mcp_tools(session)

Create agent with LLM

llm = ChatOpenAI(model="gpt-5.2", temperature=0) agent = create_agent(llm, tools)

Run a query

response = await agent.ainvoke("What QPUs are available and which one is least busy?") print(response)

asyncio.run(main())

For more LLM providers (Anthropic, Google, Ollama, Watsonx) and detailed examples including Jupyter notebooks, see the examples/ directory.

API Reference

Tools

These are the names MCP clients see in tools/list. Hosts can add a prefix to them (for example mcp__ __ ), so check how your client shows the name before you write an allowlist or a permission rule. The Python functions in qiskit_ibm_runtime_mcp_server.ibm_runtime (see Sync Usage) have the same names without the _tool suffix.

setup_ibm_quantum_account_tool(token: str = "", channel: str = "ibm_quantum_platform")

Configure IBM Quantum account with API token.

Parameters:

  • token (optional): IBM Quantum API token. If not provided, the function will:
  1. Check for QISKIT_IBM_TOKEN environment variable
  2. Use saved credentials from ~/.qiskit/qiskit-ibm.json
  • channel: Service channel (default: "ibm_quantum_platform")

Returns: Setup status and account information

Note: If you already have saved credentials or have set the QISKIT_IBM_TOKEN environment variable, you can call this function without parameters or skip it entirely and use other functions directly.

list_backends_tool()

Get list of available quantum backends.

Returns: Array of backend information including:

  • Name, status, queue length
  • Number of qubits, coupling map
  • Simulator vs. hardware designation
least_busy_backend_tool()

Get the current least busy IBM Quantum backend available.

Returns: The backend with the fewest number of pending jobs

get_backend_properties_tool(backend_name: str)

Get detailed properties of specific backend.

Returns: Complete backend configuration including:

  • Hardware specifications
  • Gate set and coupling map
  • Current operational status
  • Queue information
get_coupling_map_tool(backend_name: str)

Get the coupling map (qubit connectivity) for a backend with detailed analysis.

Supports both real backends (requires credentials) and fake backends (no credentials needed). Use fake_ prefix for offline testing (e.g., fake_sherbrooke, fake_brisbane).

Parameters:

  • backend_name: Name of the backend (e.g., ibm_brisbane or fake_sherbrooke)

Returns: Connectivity information including:

  • edges: List of [control, target] qubit connection pairs
  • adjacency_list: Neighbor mapping for each qubit
  • bidirectional: Whether all connections work in both directions
  • num_qubits: Total qubit count

Use cases:

  • Circuit optimization and qubit mapping
  • SWAP gate minimization planning
  • Offline testing with fake backends
get_backend_calibration_tool(backend_name: str, qubit_indices: list[int] | None = None)

Get calibration data for a backend including T1, T2 coherence times and error rates.

Parameters:

  • backend_name: Name of the backend (e.g., ibm_brisbane)
  • qubit_indices (optional): List of specific qubit indices. If not provided, returns data for the first 10 qubits.

Returns: Calibration data including:

  • T1 and T2 coherence times (in microseconds)
  • Qubit frequency (in GHz)
  • Readout errors for each qubit
  • Gate errors for common gates (x, sx, cx, etc.)
  • faulty_qubits

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx