Skip to content

Commit 4927a01

Browse files
committed
refactor(mcp): replace Playwright MCP with Chrome DevTools MCP
Replace Playwright MCP server with official Chrome DevTools MCP for browser automation and inspection capabilities. Changes: - config.template.toml: use chrome-devtools-mcp@latest - scripts: update REQUIRED_MCPS arrays - docs: update MCP baseline references - .gitignore: remove .playwright-mcp/ entry
1 parent 70cede8 commit 4927a01

8 files changed

Lines changed: 9 additions & 10 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Thumbs.db
1111

1212
# Local runtime and generated output
1313
dist/
14-
.playwright-mcp/
1514

1615
# AI assistant local artifacts
1716
**/AGENTS.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ It packages a reproducible Codex baseline, shared Codex agent profiles, sanitize
2727

2828
## Runtime Baseline
2929

30-
- MCP baseline: `context7`, `sequential-thinking`, `github`, `shadcn`, `playwright`, `serena`
30+
- MCP baseline: `context7`, `sequential-thinking`, `github`, `shadcn`, `chrome-devtools`, `serena`
3131
- Shared agent profiles: `9` under `codex/os/common/agents/codex-agents`
3232
- Custom skills: `23` under `codex/os/linux/runtime/skills/custom`
3333
- Config defaults: `approval_policy = "never"` and `sandbox_mode = "danger-full-access"`

codex/os/linux/runtime/config/config.template.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ startup_timeout_sec = 60
2222
command = "npx"
2323
args = ["-y", "shadcn@latest", "mcp"]
2424

25-
[mcp_servers.playwright]
25+
[mcp_servers.chrome-devtools]
2626
startup_timeout_sec = 60
2727
command = "npx"
28-
args = ["-y", "@playwright/mcp@latest", "--output-dir", ".playwright-mcp"]
28+
args = ["-y", "chrome-devtools-mcp@latest"]
2929

3030
[mcp_servers.serena]
3131
command = "uvx"
32-
args = ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server", "--context", "codex", "--project-from-cwd", "--enable-web-dashboard", "false", "--open-web-dashboard", "false"]
32+
args = ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server", "--context", "codex", "--project-from-cwd", "--enable-web-dashboard", "--open-web-dashboard"]

docs/agents/manual-tester.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- Status: Active (skill-backed)
44
- Skill: `manual-tester` (`codex/os/common/agents/codex-agents/manual-tester/SKILL.md`)
55
- Mission: Validate end-to-end behavior via realistic user flows.
6-
- Primary tools: Playwright MCP, webapp-testing skill.
6+
- Primary tools: Chrome DevTools MCP, webapp-testing skill.
77
- Inputs: target URLs, flows, acceptance criteria.
88
- Outputs: evidence pack (steps, screenshots, console/network errors).
99
- Hard rules: deterministic repro steps and explicit pass/fail criteria.

llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It provides deterministic install, verification, and export workflows, with stri
88
## Current baseline
99

1010
- Current primary exported payload: Linux
11-
- MCP baseline: 6 (`context7`, `sequential-thinking`, `github`, `shadcn`, `playwright`, `serena`)
11+
- MCP baseline: 6 (`context7`, `sequential-thinking`, `github`, `shadcn`, `chrome-devtools`, `serena`)
1212
- Non-system skills: 32 total
1313
- Custom skills: 23 (`codex/os/linux/runtime/skills/custom/*`)
1414
- Shared profiles: 9 (`codex/os/common/agents/codex-agents/*`)

scripts/audit-codex-agents.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ for profile in "${skill_profiles[@]}"; do
127127
serena) token="Serena" ;;
128128
sequential-thinking) token="Sequential Thinking" ;;
129129
github) token="GitHub MCP" ;;
130-
playwright) token="Playwright MCP" ;;
130+
chrome-devtools) token="Chrome DevTools MCP" ;;
131131
*) token="" ;;
132132
esac
133133
if [[ -n "$token" ]] && ! grep -qi "$token" "$doc_md"; then

scripts/codex-activate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ REQUIRED_MCPS=(
2929
"sequential-thinking"
3030
"shadcn"
3131
"serena"
32-
"playwright"
32+
"chrome-devtools"
3333
)
3434

3535
REQUIRED_SKILLS=(

scripts/verify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ REQUIRED_MCPS=(
2727
"sequential-thinking"
2828
"shadcn"
2929
"serena"
30-
"playwright"
30+
"chrome-devtools"
3131
)
3232

3333
say() { echo "[INFO] $*"; }

0 commit comments

Comments
 (0)