H5 Devtools MCP
Debug H5 pages inside Android app WebViews: console logs, exceptions, run JS.
Connector by xianguoGou · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/xianguogou-h5-devtools-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 2 read · 1 write · 2 delete
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 5
Read from the source code; the running server may list different tools.
Read 2 · Look things up without changing anything.
get_consolelist_targets
Write 1 · Create, change, send or run things.
attach
Delete 2 · Delete, drop, revoke or wipe things.
detachevaluate_js
Network hosts it talks to 1
github.com· found in code
Files it touches
/proc/net/unix
Tools (5)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
attachAttach to a pageConnect to a WebView page and start buffering its console output and uncaught exceptions (the last 1000 entries). Recent messages the engine still holds are replayed on attach, but attach before reproducing an issue to be sure nothing is missed. Only observes the page: it is not reloaded or modified. May be refused while Chrome DevTools (chrome://inspect) is attached to the same page; close it and retry. Calling it again for an attached page reuses the existing session.
detachDetach from a pagecan change or delete dataDisconnect from a page and discard its buffered console entries. The page itself keeps running and is not closed; call attach again to resume capturing. Use it to stop capturing or to start over with an empty buffer.
evaluate_jsEvaluate JavaScript in a pagecan change or delete dataRun a JavaScript expression in an attached page and return its result. Plain objects/arrays come back as JSON (so nested Map/Set/DOM values show as {}); other values (DOM nodes, Map, Set, Error, window) as a short description. Promises are awaited. For multiple statements or await, wrap them: (async () => { ... })(). Runs with the page's full privileges, so it can read cookies/storage and change page state.
get_consoleRead console outputread-onlyRead buffered console messages, uncaught exceptions and browser log entries from an attached page. Requires attach first; only entries captured since attach (plus what attach replayed) are available. Returns the most recent matching entries. Pass since_seq from a previous call to get only new entries.
list_targetsList WebView pagesread-onlyList debuggable H5 pages running inside Android WebViews (and Chrome) on connected devices. Returns a target id for each page to pass to attach.
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit
- Oct 21, 2026 (7 days ago)
- Last release
- Oct 21, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.xianguoGou/h5-devtools-mcp- Version
- 0.1.2
- Auth
- No auth
- Packages
- npm h5-devtools-mcp
- License
- MIT
- Repository
- github.com/xianguoGou/h5-devtools-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
H5 Devtools MCP. Agent Mart. https://agentmart.dev/connectors/xianguogou-h5-devtools-mcp (last updated 2026-10-24)