Back to Home
pietro-della-peruta icon

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

Run Command
qiskit-mcp-server

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassHigh
Avg Tokens750
Stars0
Forks0
Last Update2025-12-10

Tags

PythonQiskitIBM QuantumMCPQuantum Computing