Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for IBM Quantum computing services through Qiskit IBM Runtime
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
QISKIT_IBM_TOKEN, QISKIT_IBM_RUNTIME_MCP_INSTANCEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด 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/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 เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .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_RUNTIME_MCP_INSTANCE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Qiskit ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
The easiest way to install is via pip:
pip install qiskit-ibm-runtime-mcp-server
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/
# This will create a virtual environment and install dependencies
uv sync
Option A: Environment Variable (Recommended)
# Copy the example environment file
cp .env.example .env
export QISKIT_IBM_TOKEN="your_token_here"
export QISKIT_IBM_RUNTIME_MCP_INSTANCE="your-instance-crn"
Option B: Save Credentials Locally
from qiskit_ibm_runtime import QiskitRuntimeService
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:
setup_ibm_quantum_account_tool()QISKIT_IBM_TOKEN environment variable~/.qiskit/qiskit-ibm.jsonInstance Configuration (Optional): To speed up service initialization, you can specify your IBM Quantum instance:
QISKIT_IBM_RUNTIME_MCP_INSTANCE environment variable with your instance CRNInstance Priority:
save_account(instance="...")), the SDK uses it automaticallyQISKIT_IBM_RUNTIME_MCP_INSTANCE overrides any instance saved in credentialsNote:
QISKIT_IBM_RUNTIME_MCP_INSTANCEis an MCP server-specific variable, not a standard Qiskit SDK environment variable.
uv run qiskit-ibm-runtime-mcp-server
The server will start and listen for MCP connections.
# 1. Setup IBM Quantum Account (optional if credentials already configured)
await setup_ibm_quantum_account() # Uses saved credentials/env var
await setup_ibm_quantum_account(token="your_token_here") # Explicit token
backends = await list_backends() print(f"Available backends: {len(backends['backends'])}")
backend = await least_busy_backend() print(f"Least busy backend: {backend}")
backend_props = await get_backend_properties("backend_name") print(f"Backend_name properties: {backend_props}")
jobs = await list_my_jobs(10) print(f"Last 10 jobs: {jobs}")
job_status = await get_job_status("job_id") print(f"Job status: {job_status}")
results = await get_job_results("job_id") print(f"Counts: {results['counts']}")
cancelled_job = await cancel_job("job_id") print(f"Cancelled job: {cancelled_job}")
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 )
setup_ibm_quantum_account.sync() # No token needed if already configured
backends = list_backends.sync() print(f"Available backends: {backends['total_backends']}")
backend = least_busy_backend.sync() print(f"Least busy: {backend['backend_name']}")
chains = find_optimal_qubit_chains.sync(backend['backend_name'], chain_length=5) print(f"Best chain: {chains'chains'['qubits']}")
qv_qubits = find_optimal_qv_qubits.sync(backend['backend_name'], num_qubits=5) print(f"Best QV subgraph: {qv_qubits'subgraphs'['qubits']}")
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_dotenv()
async def main():
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", ""), }, } })
async with mcp_client.session("qiskit-ibm-runtime") as session: tools = await load_mcp_tools(session)
llm = ChatOpenAI(model="gpt-5.2", temperature=0) agent = create_agent(llm, tools)
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.
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:QISKIT_IBM_TOKEN environment variable~/.qiskit/qiskit-ibm.jsonchannel: 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:
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:
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 pairsadjacency_list: Neighbor mapping for each qubitbidirectional: Whether all connections work in both directionsnum_qubits: Total qubit countUse cases:
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:
faulty_qubitsตัดมาแค่ช่วงต้น อ่านต่อใน repo