qiskit-ibm-runtime-mcp-server-v0.6.1 #35
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish to MCP Registry | |
| on: | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| inputs: | |
| package: | |
| description: 'Package to publish to MCP Registry' | |
| required: true | |
| default: 'all' | |
| type: choice | |
| options: | |
| - all | |
| - qiskit | |
| - docs | |
| - runtime | |
| - transpiler | |
| - gym | |
| jobs: | |
| publish-qiskit-mcp-registry: | |
| if: | | |
| (github.event_name == 'release' && contains(github.ref, 'qiskit-v')) || | |
| (github.event_name == 'workflow_dispatch' && (github.event.inputs.package == 'all' || github.event.inputs.package == 'qiskit')) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for GitHub OIDC authentication | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Wait for PyPI availability | |
| working-directory: ./qiskit-mcp-server | |
| run: ${{ github.workspace }}/.github/scripts/wait-for-pypi.sh | |
| - name: Download mcp-publisher | |
| run: | | |
| curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher | |
| sudo mv mcp-publisher /usr/local/bin/ | |
| mcp-publisher --help | |
| - name: Login to MCP Registry (OIDC) | |
| run: mcp-publisher login github-oidc | |
| - name: Publish to MCP Registry | |
| working-directory: ./qiskit-mcp-server | |
| run: mcp-publisher publish | |
| publish-runtime-mcp-registry: | |
| if: | | |
| (github.event_name == 'release' && contains(github.ref, 'runtime')) || | |
| (github.event_name == 'workflow_dispatch' && (github.event.inputs.package == 'all' || github.event.inputs.package == 'runtime')) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for GitHub OIDC authentication | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Wait for PyPI availability | |
| working-directory: ./qiskit-ibm-runtime-mcp-server | |
| run: ${{ github.workspace }}/.github/scripts/wait-for-pypi.sh | |
| - name: Download mcp-publisher | |
| run: | | |
| curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher | |
| sudo mv mcp-publisher /usr/local/bin/ | |
| mcp-publisher --help | |
| - name: Login to MCP Registry (OIDC) | |
| run: mcp-publisher login github-oidc | |
| - name: Publish to MCP Registry | |
| working-directory: ./qiskit-ibm-runtime-mcp-server | |
| run: mcp-publisher publish | |
| publish-transpiler-mcp-registry: | |
| if: | | |
| (github.event_name == 'release' && contains(github.ref, 'transpiler')) || | |
| (github.event_name == 'workflow_dispatch' && (github.event.inputs.package == 'all' || github.event.inputs.package == 'transpiler')) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for GitHub OIDC authentication | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Wait for PyPI availability | |
| working-directory: ./qiskit-ibm-transpiler-mcp-server | |
| run: ${{ github.workspace }}/.github/scripts/wait-for-pypi.sh | |
| - name: Download mcp-publisher | |
| run: | | |
| curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher | |
| sudo mv mcp-publisher /usr/local/bin/ | |
| mcp-publisher --help | |
| - name: Login to MCP Registry (OIDC) | |
| run: mcp-publisher login github-oidc | |
| - name: Publish to MCP Registry | |
| working-directory: ./qiskit-ibm-transpiler-mcp-server | |
| run: mcp-publisher publish | |
| publish-docs-mcp-registry: | |
| if: | | |
| (github.event_name == 'release' && contains(github.ref, 'docs')) || | |
| (github.event_name == 'workflow_dispatch' && (github.event.inputs.package == 'all' || github.event.inputs.package == 'docs')) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for GitHub OIDC authentication | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Wait for PyPI availability | |
| working-directory: ./qiskit-docs-mcp-server | |
| run: ${{ github.workspace }}/.github/scripts/wait-for-pypi.sh | |
| - name: Download mcp-publisher | |
| run: | | |
| curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher | |
| sudo mv mcp-publisher /usr/local/bin/ | |
| mcp-publisher --help | |
| - name: Login to MCP Registry (OIDC) | |
| run: mcp-publisher login github-oidc | |
| - name: Publish to MCP Registry | |
| working-directory: ./qiskit-docs-mcp-server | |
| run: mcp-publisher publish | |
| publish-gym-mcp-registry: | |
| if: | | |
| (github.event_name == 'release' && contains(github.ref, 'gym')) || | |
| (github.event_name == 'workflow_dispatch' && (github.event.inputs.package == 'all' || github.event.inputs.package == 'gym')) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for GitHub OIDC authentication | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Wait for PyPI availability | |
| working-directory: ./qiskit-gym-mcp-server | |
| run: ${{ github.workspace }}/.github/scripts/wait-for-pypi.sh | |
| - name: Download mcp-publisher | |
| run: | | |
| curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher | |
| sudo mv mcp-publisher /usr/local/bin/ | |
| mcp-publisher --help | |
| - name: Login to MCP Registry (OIDC) | |
| run: mcp-publisher login github-oidc | |
| - name: Publish to MCP Registry | |
| working-directory: ./qiskit-gym-mcp-server | |
| run: mcp-publisher publish |