Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,39 @@ jobs:
- run: npm run ctest
- run: npm publish

publish-mcp-release-registry:
if: github.event_name == 'release'
needs: publish-mcp-release-npm
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for GitHub OIDC auth to the MCP Registry
steps:
- uses: actions/checkout@v5

- name: Sync server.json version with package.json
run: |
node -e "
const fs = require('fs');
const pkg = require('./package.json');
const server = require('./server.json');
server.version = pkg.version;
for (const p of server.packages) p.version = pkg.version;
fs.writeFileSync('./server.json', JSON.stringify(server, null, 2) + '\n');
"

- name: Install 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/

- name: Authenticate with MCP Registry (GitHub OIDC)
run: mcp-publisher login github-oidc

- name: Publish to MCP Registry
run: mcp-publisher publish

publish-mcp-release-docker:
if: github.event_name == 'release'
runs-on: ubuntu-latest
Expand Down
29 changes: 29 additions & 0 deletions server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.microsoft/playwright-mcp",
"description": "Playwright Tools for MCP",
"repository": {
"url": "https://github.com/microsoft/playwright-mcp",
"source": "github"
},
"version": "0.0.72",
"packages": [
{
"registryType": "npm",
"identifier": "@playwright/mcp",
"version": "0.0.72",
"transport": {
"type": "stdio"
}
},
{
"registryType": "oci",
"registryBaseUrl": "https://playwright.azurecr.io",
"identifier": "public/playwright/mcp",
"version": "0.0.72",
"transport": {
"type": "stdio"
}
}
]
}
Loading