From dba2fd054de4ebf3d3096a19d7bfdcaa6d62b14d Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Tue, 30 Dec 2025 17:57:46 -0800 Subject: [PATCH] Revert "Add step for publishing to MCP Registry #1197" (#1289) --- .github/workflows/publish.yml | 46 ----------------------------------- .mcp/server.json | 22 ----------------- package.json | 1 - 3 files changed, 69 deletions(-) delete mode 100644 .mcp/server.json diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7d360b9..97d4c7f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -147,49 +147,3 @@ jobs: GITHUB_TOKEN: ${{ github.token }} run: | gh release upload ${{github.event.release.tag_name}} ./extension/playwright-mcp-extension-${{ steps.get-version.outputs.version }}.zip - - publish-release-mcp-registry: - if: github.event_name == 'workflow_dispatch' - runs-on: ubuntu-latest - environment: allow-mcp-registry-publishing - permissions: - contents: read - id-token: write # Needed for GitHub OIDC authentication - steps: - - uses: actions/checkout@v5 - - name: Clone MCP Registry and build publisher tool - shell: pwsh - run: | - cd ${{ runner.temp }} - - # Install Microsoft Go - go run github.com/microsoft/go-infra/goinstallscript@v1.1.0 - ./go-install.ps1 -GitHubActionsPath - - # Enable compliant crypto - $env:GOEXPERIMENT = "systemcrypto" - - # Clone and build the publisher tool - git clone --branch "v1.3.7" https://github.com/modelcontextprotocol/registry - cd registry - go build -o ${{ runner.temp }}/mcp-publisher ./cmd/publisher - - # show help for the tool to ensure it's working - ${{ runner.temp }}/mcp-publisher --help - - name: Azure Login via OIDC - uses: azure/login@v2 - with: - client-id: ${{ secrets.AZURE_MCP_REGISTRY_CLIENT_ID }} - tenant-id: ${{ secrets.AZURE_MCP_REGISTRY_TENANT_ID }} - subscription-id: ${{ secrets.AZURE_MCP_REGISTRY_SUBSCRIPTION_ID }} - - name: Publish to the MCP Registry - shell: pwsh - run: | - # log in using Key Vault - ${{ runner.temp }}/mcp-publisher ` - login dns azure-key-vault ` - -vault "${{ secrets.KV_NAME }}" -key "${{ secrets.KV_KEY_NAME }}" ` - -domain microsoft.com - - # publish the server.json - ${{ runner.temp }}/mcp-publisher publish ./.mcp/server.json diff --git a/.mcp/server.json b/.mcp/server.json deleted file mode 100644 index e23ffb4..0000000 --- a/.mcp/server.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json", - "name": "com.microsoft/playwright-mcp", - "title": "Playwright", - "description": "Automate web browsers using accessibility trees for testing and data extraction.", - "repository": { - "url": "https://github.com/microsoft/playwright-mcp", - "source": "github" - }, - "websiteUrl": "https://github.com/microsoft/playwright-mcp", - "version": "0.0.54", - "packages": [ - { - "registryType": "npm", - "identifier": "@playwright/mcp", - "version": "0.0.54", - "transport": { - "type": "stdio" - } - } - ] -} diff --git a/package.json b/package.json index e3b1dc3..d7b3cc2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "name": "@playwright/mcp", "version": "0.0.54", "description": "Playwright Tools for MCP", - "mcpName": "com.microsoft/playwright-mcp", "repository": { "type": "git", "url": "git+https://github.com/microsoft/playwright-mcp.git"