quantum_mcp_server
by pietro-della-peruta
Overview
An MCP server that provides an interface to IBM Quantum computing services for listing backends and executing quantum circuits.
Installation
qiskit-mcp-serverEnvironment Variables
- QISKIT_IBM_TOKEN
Security Notes
CRITICAL: The `qiskit_tools.py` file contains a line `print("Using token: ", token, file=sys.stderr)` within the `get_service()` function, which logs the `QISKIT_IBM_TOKEN` to standard error. This is a severe security vulnerability as it exposes a sensitive API key, which could be captured by logging systems or visible in terminal output. This line should be removed or the token should be masked. Additionally, the `run_circuit` tool accepts raw QASM code as a string input, which, while not immediately exploitable for arbitrary code execution (as QASM is a domain-specific language), could potentially be used for denial-of-service attacks if extremely large or malformed circuits are submitted without proper resource limits or validation. However, the primary critical risk is the token leak.
Similar Servers
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
mcp-servers
A collection of Model Context Protocol (MCP) servers enabling AI agents to interact with Qiskit libraries and IBM Quantum services for quantum computing development, including code generation, runtime execution, and circuit transpilation.
qtmcp
Provides a Model Context Protocol (MCP) server framework for AI applications, offering tool, resource, and prompt services via HTTP.
quilt-mcp-server
Enables AI models (LLMs) to query, analyze, visualize, and package data in AWS S3, Athena, and Quilt catalogs using natural language interactions.