An MCP server that exposes reinforcement-learning workflows for quantum circuit synthesis using qiskit-gym. It can create synthesis environments, run and monitor training, save/load models, and generate circuits for permutation, linear function, and Clifford synthesis on various hardware topologies.
From the registry: MCP server for qiskit-gym reinforcement learning quantum circuit synthesis
$ pip install qiskit-gym-mcp-serverPlease install the `qiskit-gym-mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install the Python package** — Install the MCP server from PyPI using pip. Run: `pip install qiskit-gym-mcp-server`
Canonical MCP server config (stdio transport):
- command: `qiskit-gym-mcp-server`
- args: []
- optional environment variables:
- `QISKIT_GYM_MODEL_DIR`: Directory where trained models are stored. (example: `<your-model-directory>`)
- `QISKIT_GYM_TENSORBOARD_DIR`: Directory where TensorBoard logs are written. (example: `<your-tensorboard-directory>`)
- `QISKIT_GYM_MAX_ITERATIONS`: Maximum allowed training iterations; 0 means no limit. (example: `<your-max-iterations>`)
- `QISKIT_GYM_MAX_QUBITS`: Maximum number of qubits allowed for training or synthesis requests. (example: `<your-max-qubits>`)
- `QISKIT_GYM_MAX_SEARCHES`: Maximum number of searches allowed for applicable operations. (example: `<your-max-searches>`)
Note: README shows a stdio MCP server launched directly as the installed executable `qiskit-gym-mcp-server`. No required environment variables or API credentials are documented.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.QISKIT_GYM_MODEL_DIRDirectory for saved modelsQISKIT_GYM_TENSORBOARD_DIRDirectory for TensorBoard logsQISKIT_GYM_MAX_ITERATIONSOptional limit on training iterationsQISKIT_GYM_MAX_QUBITSMaximum number of qubits allowedQISKIT_GYM_MAX_SEARCHESMaximum number of searches allowed