Skip to content

Commit bdf38a5

Browse files
author
Nima21
committed
0.12.1
2 parents f4bf5f6 + 807bbcc commit bdf38a5

File tree

98 files changed

+8817
-2669
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+8817
-2669
lines changed

.claude-plugin/marketplace.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "chrome-devtools-plugins",
3+
"version": "1.0.0",
4+
"description": "Bundled plugins for actuating and debugging the Chrome browser.",
5+
"owner": {
6+
"name": "Chrome DevTools Team",
7+
"email": "devtools-dev@chromium.org"
8+
},
9+
"plugins": [
10+
{
11+
"name": "chrome-devtools-mcp",
12+
"source": {
13+
"source": "github",
14+
"repo": "ChromeDevTools/chrome-devtools-mcp"
15+
},
16+
"description": "Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer"
17+
}
18+
]
19+
}

.claude-plugin/plugin.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "chrome-devtools-mcp",
3+
"version": "latest",
4+
"description": "Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer",
5+
"mcpServers": {
6+
"chrome-devtools": {
7+
"command": "npx",
8+
"args": ["chrome-devtools-mcp@latest"]
9+
}
10+
}
11+
}

.github/ISSUE_TEMPLATE/01-bug.yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
name: Bug report
2+
description: File a bug report for chrome-devtools-mcp
3+
title: '<short description of the bug>'
4+
type: 'Bug'
5+
body:
6+
- id: description
7+
type: textarea
8+
attributes:
9+
label: Description of the bug
10+
description: >
11+
A clear and concise description of what the bug is.
12+
placeholder:
13+
validations:
14+
required: true
15+
16+
- id: reproduce
17+
type: textarea
18+
attributes:
19+
label: Reproduction
20+
description: >
21+
Steps to reproduce the behavior:
22+
placeholder: |
23+
1. Use tool '...'
24+
2. Then use tool '...'
25+
26+
- id: expectation
27+
type: textarea
28+
attributes:
29+
label: Expectation
30+
description: A clear and concise description of what you expected to happen.
31+
32+
- id: mcp-configuration
33+
type: textarea
34+
attributes:
35+
label: MCP configuration
36+
37+
- id: chrome-devtools-mcp-version
38+
type: input
39+
attributes:
40+
label: Chrome DevTools MCP version
41+
validations:
42+
required: true
43+
44+
- id: chrome-version
45+
type: input
46+
attributes:
47+
label: Chrome version
48+
49+
- id: coding-agent-version
50+
type: input
51+
attributes:
52+
label: Coding agent version
53+
54+
- id: model-version
55+
type: input
56+
attributes:
57+
label: Model version
58+
59+
- id: chat-log
60+
type: input
61+
attributes:
62+
label: Chat log
63+
64+
- id: node-version
65+
type: input
66+
attributes:
67+
label: Node version
68+
description: >
69+
Please verify you have the minimal supported version listed in the README.md
70+
71+
- id: operating-system
72+
type: dropdown
73+
attributes:
74+
label: Operating system
75+
description: What supported operating system are you running?
76+
options:
77+
- Windows
78+
- Windows Subsystem for Linux (WSL)
79+
- macOS
80+
- Linux
81+
82+
- type: checkboxes
83+
id: provide-pr
84+
attributes:
85+
label: Extra checklist
86+
options:
87+
- label: I want to provide a PR to fix this bug
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Feature
2+
description: Suggest an idea for for chrome-devtools-mcp
3+
title: '<short description of the feature request>'
4+
type: 'Feature'
5+
labels:
6+
- enhancement
7+
body:
8+
- id: description
9+
type: textarea
10+
attributes:
11+
label: Is your feature request related to a problem? Please describe.
12+
description: >
13+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
14+
placeholder:
15+
validations:
16+
required: true
17+
18+
- id: solution
19+
type: textarea
20+
attributes:
21+
label: Describe the solution you'd like
22+
description: >
23+
A clear and concise description of what you want to happen.
24+
placeholder:
25+
validations:
26+
required: true
27+
28+
- id: alternatives
29+
type: textarea
30+
attributes:
31+
label: Describe alternatives you've considered
32+
description: >
33+
A clear and concise description of any alternative solutions or features you've considered.
34+
placeholder:
35+
validations:
36+
required: true
37+
38+
- id: additional-context
39+
type: textarea
40+
attributes:
41+
label: Additional context
42+
description: >
43+
Add any other context or screenshots about the feature request here.
44+
placeholder:

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,26 @@ updates:
1414
- '*'
1515
dev-dependencies:
1616
dependency-type: development
17+
exclude-patterns:
18+
- 'puppeteer*'
19+
- 'chrome-devtools-frontend'
20+
- '@modelcontextprotocol/sdk'
21+
- 'yargs'
22+
- 'debug'
23+
- 'core-js'
1724
patterns:
1825
- '*'
26+
# breaks often so better to roll separetely.
27+
bundled-devtools:
28+
patterns:
29+
- 'chrome-devtools-frontend'
30+
bundled:
31+
patterns:
32+
- 'puppeteer*'
33+
- '@modelcontextprotocol/sdk'
34+
- 'yargs'
35+
- 'debug'
36+
- 'core-js'
1937
- package-ecosystem: github-actions
2038
directory: /
2139
schedule:

.github/workflows/pre-release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Pre-release
2+
3+
permissions: read-all
4+
5+
on:
6+
push:
7+
branches:
8+
- release-please-*
9+
10+
jobs:
11+
pre-release:
12+
name: 'Verify MCP server schema unchanged'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
17+
with:
18+
fetch-depth: 2
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
22+
with:
23+
cache: npm
24+
node-version-file: '.nvmrc'
25+
26+
- name: Install MCP Publisher
27+
run: |
28+
export OS=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
29+
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_${OS}.tar.gz" | tar xz mcp-publisher
30+
31+
- name: Verify server.json
32+
run: npm run verify-server-json-version

.github/workflows/presubmit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515

1616
steps:
1717
- name: Check out repository
18-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1919
with:
2020
fetch-depth: 2
2121

2222
- name: Set up Node.js
23-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
23+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
2424
with:
2525
cache: npm
2626
node-version-file: '.nvmrc'
@@ -37,12 +37,12 @@ jobs:
3737

3838
steps:
3939
- name: Check out repository
40-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
40+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4141
with:
4242
fetch-depth: 2
4343

4444
- name: Set up Node.js
45-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
45+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
4646
with:
4747
cache: npm
4848
node-version-file: '.nvmrc'

.github/workflows/publish-to-npm-on-tag.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,28 @@ on:
44
push:
55
tags:
66
- 'v*'
7+
workflow_dispatch:
8+
inputs:
9+
npm-publish:
10+
description: 'Try to publish to NPM'
11+
default: false
12+
type: boolean
713

814
permissions:
915
contents: read
1016

1117
jobs:
1218
publish-to-npm:
1319
runs-on: ubuntu-latest
20+
if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.npm-publish && always()) }}
1421
steps:
1522
- name: Check out repository
16-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1724
with:
1825
fetch-depth: 2
1926

2027
- name: Set up Node.js
21-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
28+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
2229
with:
2330
cache: npm
2431
node-version-file: '.nvmrc'
@@ -31,8 +38,10 @@ jobs:
3138
- name: Install dependencies
3239
run: npm ci
3340

34-
- name: Build
35-
run: npm run build
41+
- name: Build and bundle
42+
run: npm run bundle
43+
env:
44+
NODE_ENV: 'production'
3645

3746
- name: Publish
3847
run: npm publish --access public

0 commit comments

Comments
 (0)