Environment
- MCP client: [Codex]
- next-devtools-mcp version: 0.3.4 (started with
npx --yes --ignore-existing next-devtools-mcp@0.3.4 --isolated)
- Next.js app: dev server on localhost:3000 (Next 16)
- OS: macOS
What I see
browser_eval → list_tools returns Playwright tools including browser_take_screenshot and browser_snapshot (no browser_screenshot).
- Calling
browser_eval with action: "screenshot" fails:
Result
Error: Tool "browser_screenshot" not found
- Navigation etc. works fine.
Expectation
screenshot should map to the available Playwright tool (e.g., browser_take_screenshot or browser_snapshot) and return an image payload.
Steps to reproduce
- Start next-devtools-mcp 0.3.4:
npx --yes next-devtools-mcp@0.3.4 --isolated
- In the MCP client, ask it run:
browser_eval → action: "list_tools"
browser_eval → action: "screenshot"
- Observe the missing-tool error, even though
browser_take_screenshot is present.
Notes
Looks like the client wrapper still invokes browser_screenshot while the server now exposes browser_take_screenshot. Updating the mapping should fix the screenshot action.