About Npm Packages
Npm Packages is an MCP server published by WebMCP-org in the AI category: nPM packages for MCP-B: Transport layers, React hooks, and browser tools for the Model Context Protocol. Conduid read 12 tools from its source: browser_close, browser_connect, browser_navigate, browser_screenshot, dom_extract_content, dom_extract_interactive and 6 more. No package is published for it, so it installs from a source checkout.
The repository has 111 stars and 24 forks, is licensed MIT, and its last commit was on 29 Nov 2026. The latest release is usewebmcp@6.0.3 (14 Oct 2026). It follows @mcp-b/webmcp-local-relay@6.0.3 (14 Oct 2026), and the 5 most recent releases go back to @mcp-b/webmcp-polyfill@6.0.3 (14 Oct 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include brand-kit, cli, devtools, fintech, image-generation and isomorphic.
Install
git clone https://github.com/WebMCP-org/npm-packagesTools (12)
browser_closeShut down the launched browser instance and release resources. Safe to call multiple times.browser_connectLaunch Chromium for subsequent tools. Use this first. Returns a brief status message. Run headless=false for visual debugging.| Parameter | Type | Description |
|---|---|---|
| executablePath | string | Optional path to a Chrome/Chromium binary. If omitted, Playwright resolves a system or bundled build. |
| headless | boolean | Run without a visible window. Set false to watch interactions. Default: false. |
browser_navigateLoad an absolute URL in the active tab and wait for network idle. Use after browser_connect.| Parameter | Type | Description |
|---|---|---|
| url * | string | Absolute URL to navigate to (e.g., https://example.com). |
browser_screenshotCapture a PNG screenshot of the current page. Returns a short Markdown summary (path and fullPage flag).| Parameter | Type | Description |
|---|---|---|
| fullPage | boolean | Capture the full scrollable page. Default: false. |
| path | string | Optional output path (absolute or workspace-relative). Default: screenshot-<timestamp>.png |
dom_extract_contentReadable text for a region as XML-wrapped Markdown (<content>). Use for comprehension; for selectors use dom_extract_region.| Parameter | Type | Description |
|---|---|---|
| options | object | Include H1–H6 headings in the output. |
| selector * | string | CSS selector for the content region (e.g., main article or section). |
dom_extract_interactiveQuick list of controls within a scope as XML-wrapped Markdown (<section>). Alternative to region when you only need controls.| Parameter | Type | Description |
|---|---|---|
| options | object | Only include elements currently within the viewport. Default: false. |
| selector | any | Optional container CSS selector. Omit or pass empty string to scan the whole document. |
dom_extract_regionUse after the outline. Returns XML-wrapped Markdown (<section>) with actionable selectors for a specific region. Next: write a script or rerun with higher detail.| Parameter | Type | Description |
|---|---|---|
| options | object | Extraction mode. 'interactive' lists controls; 'full' also inspects content structure. |
| selector * | string | CSS selector for the region to analyze (e.g., from the outline). |
dom_extract_structureStart here. Returns an XML-wrapped Markdown outline (<outline>) describing page regions. Next: pick a selector/section and call dom_extract_region.| Parameter | Type | Description |
|---|---|---|
| detail | string | Output depth. 'summary' is concise, 'deep' expands more structure. |
| maxElements | number | Limit number of listed items per group (buttons, links, etc.). |
| maxTextLength | number | Truncate text snippets to this many characters to save tokens. |
| selector | any | Optional container CSS selector to scope the outline. Omit or pass empty string to analyze the whole document. |
webmcp_call_toolCall a WebMCP tool from a connected browser page by name. Use webmcp_list_tools first to see available tools and their input schemas.| Parameter | Type | Description |
|---|---|---|
| name * | string | Tool name as returned by webmcp_list_tools. |
webmcp_list_sourcesList connected browser tool sources and their metadata.webmcp_list_toolsList WebMCP tools available from connected browser sources. Returns tool definitions including name, description, input schema, and source info. Use webmcp_call_tool to call one by name.webmcp_open_pageOpen a URL in the user's default browser, or refresh a connected source page. Use to launch WebMCP-enabled pages or reload stale connections.| Parameter | Type | Description |
|---|---|---|
| refresh | boolean | If true, refresh the connected source matching this URL instead of opening a new tab. |
| url * | string | URL to open or match for refresh. |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
- ✓No dynamic code executionScanned 131 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiopackages/smart-dom-reader/mcp-server/src/index.ts:14
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 3 callspackages/webmcp-local-relay/src/bridgeServer.ts:998, packages/webmcp-local-relay/src/browser/embed.ts:96, packages/webmcp-local-relay/src/browser/widgetRuntime.ts:311
- Writes or deletes files
- No file writes or deletes
- Lockfile
- pnpm-lock.yaml
Pattern matches on the source text of 131 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.7K words, fetched a month ago. The original in the repository is authoritative.
Read full README