npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@botanicastudios/mcp-deepcoding-browser

v0.0.13

Published

Custom MCP server for browser automation with preset configurations

Downloads

36

Readme

MCP DeepCoding Browser

A custom MCP (Model Context Protocol) server that wraps the playwright-mcp-server with preset configurations and simplified tool names.

Features

  • Simplified tool names: Removes playwright_ prefix from tool names
  • Preset configurations: Built-in default values for browser settings
  • Environment-aware navigation: Automatically constructs URLs using BASE_URL environment variable
  • Reduced parameter complexity: Hide complex browser configuration options
  • Improved cleanup: Properly closes browser instances on server shutdown (fixes original module issue)

Available Tools

  • navigate - Navigate to a relative path (automatically prepended with BASE_URL)
  • screenshot - Take screenshots with preset dimensions and save settings
  • click - Click elements on the page
  • fill - Fill input fields
  • select - Select dropdown options
  • hover - Hover over elements
  • evaluate - Execute JavaScript
  • console_logs - Retrieve browser console logs
  • close - Close the browser
  • get_visible_text - Get page text content
  • get_visible_html - Get page HTML
  • go_back / go_forward - Browser navigation
  • drag - Drag and drop elements
  • press_key - Press keyboard keys

Setup

  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Set environment variables:
export BASE_URL=http://localhost:3000
export DOWNLOADS_DIR=/path/to/screenshots  # Optional, defaults to current working directory

Usage

The server can be used in several ways:

1. Via npx (after publishing)

npx @botanicastudios/mcp-deepcoding-browser

2. As a local installation

npm install @botanicastudios/mcp-deepcoding-browser
# Then run with:
npx mcp-deepcoding-browser

3. Direct usage with MCP clients

The server can be used directly with MCP clients or as part of a larger system.

Example Tool Usage

{
  "name": "navigate",
  "arguments": {
    "path": "/dashboard"
  }
}

This will navigate to ${BASE_URL}/dashboard with preset browser configurations (800x800 viewport, chromium browser, etc.).

Configuration

The server uses static properties defined in filteredTools.ts to provide default values:

  • Browser: Always uses Chromium
  • Viewport: 800x800 pixels
  • Screenshots: Full page, saved as PNG files to current working directory (configurable via DOWNLOADS_DIR)
  • Headless: Disabled by default (browser is visible)

Architecture

  • index.ts - Main server entry point
  • filteredTools.ts - Tool definitions with static properties
  • toolWrapper.ts - Logic to transform custom calls to playwright calls
  • requestHandler.ts - MCP protocol handlers

The server imports and wraps the published @executeautomation/playwright-mcp-server package, reusing all the complex browser management logic while providing a simplified, preset-configured interface.

Publishing

To publish this package to npm:

  1. Build the package:

    npm run build
  2. Test the package locally:

    npm pack --dry-run
  3. Publish to npm:

    npm publish --access public
  4. Test the published package:

    npx @botanicastudios/mcp-deepcoding-browser

Make sure you're logged into npm (npm login) and have the appropriate permissions for the @botanicastudios scope.