Quick Start - JinsongRoh/pydoll-mcp GitHub Wiki

โšก Quick Start Guide

Get started with PyDoll MCP Server in 5 minutes and experience browser automation with Claude.

๐Ÿ“‹ Prerequisites

Before starting, make sure you have the following installed:

  • Python 3.8+ (Recommended: 3.9 or higher)
  • Chrome or Edge browser
  • Claude Desktop (Latest version)
  • Internet connection

๐Ÿš€ Step 1: Installation

One-Click Installation (Recommended)

pip install pydoll-mcp

After installation is complete, setup options will be automatically displayed:

๐Ÿค– Setting up PyDoll MCP Server...

๐ŸŽ‰ PyDoll MCP Server installation complete!
============================================================

๐Ÿš€ Quick Start Options:
1. ๐Ÿ”ง Auto-configure Claude Desktop
2. ๐Ÿ“‹ Manually create configuration file
3. ๐Ÿงช Test installation
4. โญ๏ธ  Configure later

๐ŸŽฏ Choose an option (1-4): 1

Recommended: Select option 1 to proceed with automatic setup.

๐Ÿ”ง Step 2: Auto Setup

Run Auto Setup

python -m pydoll_mcp.cli auto-setup

Auto setup performs the following:

  • โœ… Verify installation status
  • โœ… Find Claude Desktop configuration file location
  • โœ… Backup existing configuration
  • โœ… Add PyDoll MCP Server configuration
  • โœ… Verify configuration works

๐Ÿงช Step 3: Testing

Installation Test

python -m pydoll_mcp.cli test-installation --verbose

Expected output:

โœ… Python version check: 3.9.7
โœ… Required packages installed
โœ… Browser detected: Chrome 115.0.0.0
โœ… MCP server can start
โœ… All tests passed!

Browser Test

python -m pydoll_mcp.cli test-browser --browser chrome

๐ŸŽฏ Step 4: Claude Desktop Integration

Restart Claude Desktop

  1. Completely close Claude Desktop
  2. Restart Claude Desktop
  3. Check if "๐Ÿ”Œ MCP" indicator appears at the bottom

Verify Integration

Send the following message in Claude Desktop to verify integration:

Start a browser and navigate to https://example.com

If successfully integrated, PyDoll will start the browser and navigate to the page.

๐Ÿ“ฑ Step 5: First Automation

Basic Navigation

Start a browser and go to Google

Perform Search

Search for "PyDoll MCP Server" on Google

Take Screenshot

Take a screenshot of the current page

Extract Data

Extract the titles of search results from this page

๐Ÿ› ๏ธ Frequently Used Commands

Browser Management

  • Open a new browser window
  • Close the current browser
  • Open a new tab

Page Manipulation

  • Navigate to [URL]
  • Refresh the page
  • Go back
  • Go forward

Finding Elements and Clicking

  • Find and click the login button
  • Type "keyword" in the search box
  • Click the submit button

Information Extraction

  • Tell me the page title
  • Tell me the current URL
  • Extract all links from the page

๐ŸŽจ Advanced Examples

Auto-fill Forms

Go to the Naver login page and enter '[email protected]' in the ID field and 'password123' in the password field

Shopping Mall Product Search

Search for "wireless earphones" on Coupang and extract the product names and prices from the first page

News Article Collection

Get 5 article titles and links related to "artificial intelligence" from Naver News

Social Media Automation

Log in to Instagram and check the number of likes on the latest post

๐Ÿ” Troubleshooting

Common Issues

1. Browser Won't Start

# Check browser path
python -c "from pydoll.browser import Chrome; print('Browser check successful')"

# Check permissions (Linux/macOS)
ls -la /usr/bin/google-chrome

2. MCP Connection Issues in Claude Desktop

# Check configuration file location
python -m pydoll_mcp.cli status --logs

# Regenerate configuration
python -m pydoll_mcp.cli auto-setup --force

3. Korean Windows Encoding Issues

# Set encoding
set PYTHONIOENCODING=utf-8
python -m pydoll_mcp.server

Debug Mode

# Enable debug logging
export PYDOLL_DEBUG=1
export PYDOLL_LOG_LEVEL=DEBUG

# Run server
python -m pydoll_mcp.server --debug

๐ŸŒŸ Next Steps

Explore More Features

Optimize Settings

Get Help

๐Ÿ’ก Tips and Tricks

Efficient Usage

  1. Use specific commands: Instead of "click the button", use "click the login button"
  2. Step-by-step approach: Break complex tasks into multiple steps
  3. Check for errors: Verify results after each step
  4. Utilize screenshots: Save screenshots at important steps

Performance Optimization

  • Use headless mode (no screen display)
  • Disable image loading
  • Enable ad blocking
  • Set appropriate wait times

Security Considerations

  • Be careful when entering personal information
  • Recommend using public accounts
  • Comply with website terms of service
  • Prevent excessive requests

Congratulations! ๐ŸŽ‰
PyDoll MCP Server has been successfully configured.
Now experience powerful browser automation with Claude!

Learn Basic Usage | Tools Reference | Troubleshooting

โš ๏ธ **GitHub.com Fallback** โš ๏ธ