SUPERQUANTX MCP SERVER
Quantum tools for AI assistants
SuperQuantX ships a Model Context Protocol server so Claude Desktop, Cursor or any MCP client can build and run circuits, compare backends and run small machine learning and optimisation experiments. It speaks stdio and runs on simulators only by default.
$ uv add "superquantx[mcp]==0.3.0"$ uv run superquantx-mcp # stdio MCP server# add Qiskit and PennyLane backends$ uv add "superquantx[mcp,qiskit,pennylane]==0.3.0"TOOLS
Six read-only tools
Every tool returns structured JSON with "ok": true or "ok": false plus an error object. Tools never raise, and they do not touch the filesystem.
CLIENT CONFIGURATION
Run it with uvx
Point Cursor, Claude Desktop or any MCP client at uvx. It fetches the pinned release into an isolated environment and starts the stdio server.
{ "mcpServers": { "superquantx": { "command": "uvx", "args": ["--from", "superquantx[mcp]==0.3.0", "superquantx-mcp"] } }}{ "mcpServers": { "superquantx": { "command": "uvx", "args": ["--from", "superquantx[mcp,qiskit,pennylane]==0.3.0", "superquantx-mcp"] } }}LIMITS AND SAFETY
Capped inputs, hardware off
Defaults can be changed with environment variables but never above the hard ceiling. Passing a device to run_circuit is refused unless the server starts with SUPERQUANTX_MCP_ALLOW_HARDWARE=1, and the backend SDK's own credentials are still required.
| Variable | Default | Ceiling |
|---|---|---|
| SUPERQUANTX_MCP_MAX_QUBITS | 10 | 16 |
| SUPERQUANTX_MCP_MAX_SHOTS | 10000 | 100000 |
| SUPERQUANTX_MCP_MAX_GATES | 500 | 2000 |
| SUPERQUANTX_MCP_MAX_SAMPLES | 80 | 200 |
| SUPERQUANTX_MCP_MAX_FEATURES | 4 | 6 |
| SUPERQUANTX_MCP_MAX_QAOA_NODES | 10 | 12 |