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
Provides AI assistants with programmatic access to IBM Quantum computing services (backends, jobs, account management) through Qiskit IBM Runtime.
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 agents to interact with and manage data in AWS S3 and Quilt catalogs using natural language for tasks like data discovery, querying, visualization, and package creation.