Chrome DevTools for coding agents
chore: publish to MCP registry (#78)
Alex Rudenko67af3fefe583
diff --git a/.github/workflows/publish-to-npm-on-tag.yml b/.github/workflows/publish-to-npm-on-tag.ymlindex 8f40c2f6..4951cea5 100644--- a/.github/workflows/publish-to-npm-on-tag.yml+++ b/.github/workflows/publish-to-npm-on-tag.yml@@ -10,7 +10,7 @@ permissions:contents: readjobs:- publish:+ publish-to-npm:runs-on: ubuntu-lateststeps:- name: Check out repository@@ -38,3 +38,39 @@ jobs:- name: Publishrun: |npm publish --provenance --access public++ publish-to-mcp-registry:+ runs-on: ubuntu-latest+ needs: publish-to-npm+ steps:+ - name: Check out repository+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0+ with:+ fetch-depth: 2++ - name: Set up Node.js+ uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0+ with:+ cache: npm+ node-version-file: '.nvmrc'+ registry-url: 'https://registry.npmjs.org'++ # Ensure npm 11.5.1 or later is installed+ - name: Update npm+ run: npm install -g npm@latest++ - name: Install dependencies+ run: npm ci++ - name: Build+ run: npm run build++ - name: Install MCP Publisher+ run: |+ curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher++ - name: Login to MCP Registry+ run: ./mcp-publisher login github-oidc++ - name: Publish to MCP Registry+ run: ./mcp-publisher publishdiff --git a/server.json b/server.jsonnew file mode 100644index 00000000..e97a028e--- /dev/null+++ b/server.json@@ -0,0 +1,23 @@+{+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",+ "name": "io.github.ChromeDevTools/chrome-devtools-mcp",+ "description": "MCP server for Chrome DevTools",+ "status": "active",+ "repository": {+ "url": "https://github.com/ChromeDevTools/chrome-devtools-mcp",+ "source": "github"+ },+ "version": "0.2.1",+ "packages": [+ {+ "registry_type": "npm",+ "registry_base_url": "https://registry.npmjs.org",+ "identifier": "chrome-devtools-mcp",+ "version": "0.2.1",+ "transport": {+ "type": "stdio"+ },+ "environment_variables": []+ }+ ]+}