SpinQit MCP Tools
Enables AI models to invoke SpinQ's quantum computing hardware resources by creating and submitting quantum circuits (QASM) to the SpinQ cloud platform for execution and results retrieval.
README
spinqit_mcp_tools Installation Guide
<div align="right"> <a href="README_zh.md">中文</a> | <a href="README.md">English</a> </div> This project is based on mcp-server to support efficient invocation of spinq's quantum computing hardware resources by AI large models.
This project provides one-click installation scripts for spinqit_mcp_tools on Windows and macOS. These scripts automatically check the Python environment (requires Python 3.10 or higher) and install the required spinqit_mcp_tools dependency package. If no suitable Python environment is found, the scripts will attempt to create one using Conda or guide users to manually install Python.
Table of Contents
Prerequisites
Before running the installation scripts, ensure the following requirements are met:
-
Python 3.10 or higher:
spinqit_mcp_toolsrequires Python 3.10 or later. -
Conda (optional): If Python 3.10 is not installed, the scripts can use Anaconda to create an environment. Download it from Anaconda.
-
Internet connection: Required for downloading the
spinqit_mcp_toolspackage viapip. -
macOS terminal permissions: Ensure the terminal supports
bash.
Manual Installation
If you prefer not to use the script for installation, you can manually install spinqit_mcp_tools. Follow the steps below. The only difference is that the script installation will display your Python path and the full command to launch the program at the end, which is helpful for beginners to configure:
-
Install Python 3.10 or later:
- Download and install Python 3.10 or later from the Python official website. Alternatively, use Anaconda to install Python.
-
Install spinqit_mcp_tools:
- Open a terminal or command prompt and run the following command:
pip install spinqit_mcp_tools
- Open a terminal or command prompt and run the following command:
-
Verify successful installation:
- In the terminal or command prompt, run the following command to check if it executes successfully:
python -m spinqit_mcp_tools.qasm_submitter - If you see the message "FastMCP initialized successfully, Tool registered," the installation was successful.
- In the terminal or command prompt, run the following command to check if it executes successfully:
-
Configure the MCP server:
Script Installation Steps
Windows
-
Download the Script
-
Download the
mcpenv-installer-win-x86_64.batscript from the following link:<a href="https://static-cdn.spinq.cn/mcp_server_cmd/download_cmd.html?win">Download Windows Installation Script</a>
-
-
Run the Script
- Double-click
mcpenv-installer-win-x86_64.batto execute the installation.
- Double-click
-
Script Behavior
-
If Python 3.10 or higher is already installed: The script will directly install the
spinqit_mcp_toolspackage and output the Python environment path and themcp-serverexecution command. -
If Python 3.10 is not installed but Conda is available: The script will create a Conda environment named
mcp-server-py310(using Python 3.10), install the dependencies, and output the environment path and execution command. -
If neither Python 3.10 nor Conda is installed: The script will prompt you to download and install Python 3.10 or Conda from Python's official website or Anaconda's official website. After installation, rerun the script.
-
-
Successful Installation
-

-
Note the execution command (e.g.,
C:\ProgramData\Anaconda3\envs\mcp-server-py310\python.exe -m spinqit_mcp_tools.qasm_submitterin this example) and register an account at cloud.spinq.cn to configure your public key. -
input the execution command, PRIVATEKEYPATH , SPINQCLOUDUSERNAME to your mcp server setting
-
macOS
-
Download the Script
-
Download the
mcpenv-installer-mac.shscript from the following link:<a href="https://static-cdn.spinq.cn/mcp_server_cmd/download_cmd.html?mac">Download macOS Installation Script</a>
-
-
Run the Script
-
Execute the script with:
sudo bash ./mcpenv-installer-mac.sh
-
-
Script Behavior
-
Similar to the Windows script, the macOS script will:
-
Check for Python 3.10 or higher. If found, it will install
spinqit_mcp_tools. -
If Python 3.10 is not found, it will check for Conda and create a
mcp-server-py310environment. -
If neither Python 3.10 nor Conda is installed, it will prompt you to install Python 3.10 or Conda and then rerun the script.
-
-
Output Results
After successful execution, the script will output the following information:
-
Python environment path: The path to the Python executable, e.g.:
-
Windows:
C:\path\to\conda\envs\mcp-server-py310\python.exe -
macOS:
/path/to/conda/envs/mcp-server-py310/bin/python
-
-
mcp-server execution command: The command to run
mcp-server, e.g.:-
Windows:
C:\path\to\conda\envs\mcp-server-py310\python.exe -m spinqit_mcp_tools.qasm_submitter -
macOS:
/path/to/conda/envs/mcp-server-py310/bin/python -m spinqit_mcp_tools.qasm_submitter
-
Save this information for configuring and running spinqit_mcp_tools.
Troubleshooting
-
Python not found or version below 3.10:
-
Download and install Python 3.10 from Python's official website, ensuring it is added to PATH.
-
Rerun the script after installation.
-
-
Conda not recognized:
- Ensure Anaconda is installed and added to PATH if Python 3.10 or higher is not present.
-
pip installation failure:
- Check your internet connection.
-
Conda environment creation failure:
- Verify Conda is properly installed or reinstall it from Anaconda's official website.
Usage
-
Use the Python installation directory to run:
/pathtopython/python -m spinqit_mcp_tools.qasm_submitter
Environment Testing (Create and submit a 2-qubit quantum circuit QASM to the cloud platform and view results)
-
Cursor
- Configuration method

- Results

-
Configuration settings
{ "mcpServers": { "qasm-submitter": { "type": "stdio", "command": "cmd", "args": [ "/C", "C:\\Users\\ylin\\.conda\\envs\\mcp-server-py310\\python.exe", "-m", "spinqit_mcp_tools.qasm_submitter" ], "env": { "PRIVATEKEYPATH":"<Your Privatekey Path>", "SPINQCLOUDUSERNAME":"<Your SpinQ Cloud Username>" } } } }
-
VSCode Client Plugin
-
Configuration settings:
{ "mcpServers": { "qasm-submitter": { "disabled": false, "timeout": 60, "transportType": "stdio", "command": "cmd", "args": [ "/C", "C:\\Users\\ylin\\.conda\\envs\\mcp-server-py310\\python.exe", "-m", "spinqit_mcp_tools.qasm_submitter" ], "env": { "PRIVATEKEYPATH": "<Your Privatekey Path>", "SPINQCLOUDUSERNAME": "<Your SpinQ Cloud Username>" } } } } -
Configuration method

- Results

-
License
This project is licensed under the MIT License. See the LICENSE file for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。