Back to Home
eeeeeeeason icon

backup_mcp

by eeeeeeeason

Overview

Facilitates AI large models to efficiently interact with SpinQ's quantum computing hardware resources by acting as a Micro-Controller Platform (MCP) server for Quantum Assembly (QASM) circuit submission.

Installation

Run Command
python -m spinqit_mcp_tools.qasm_submitter

Environment Variables

  • PRIVATEKEYPATH
  • SPINQCLOUDUSERNAME

Security Notes

CRITICAL: The system uses `eval()` on parsed QASM expression strings, specifically within `spinqit_task_manager/compiler/qasm/Qasm2EventListener.py` (`eval(pexp)` and `eval(lexp)`). If the input `qasm_str` is not strictly validated and sanitized, a malicious QASM input could embed arbitrary Python code, leading to severe remote code execution (RCE) vulnerabilities. For example, injecting `__import__('os').system('malicious_command')` into a QASM parameter could be executed. Additionally, sensitive `PRIVATEKEYPATH` (SSH private key) and `SPINQCLOUDUSERNAME` are read from environment variables for cryptographic signing and cloud authentication, which requires robust secure environment management.

Similar Servers

Stats

Interest Score30
Security Score1
Cost ClassMedium
Avg Tokens200
Stars1
Forks1
Last Update2025-12-14

Tags

Quantum ComputingAI IntegrationMCP ServerSpinQ CloudQASM