Provides web page content retrieval and interactive element detection via Model Context Protocol, enabling navigation, full and visible content extraction, mouse operation simulation, and drag-and-drop functionality for automated browser interactions.
Unlock the full potential of Playwright MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
English | 日本語
This project is a server that provides Playwright web page content retrieval functionality using the Model Context Protocol (MCP).
To install Playwright MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @showfive/playwright-mcp-server --client claude
npm install
npm run build npm start
The following tools are available:
navigate
{ url: string }
get_all_content
get_visible_content
{ minVisiblePercentage?: number }
get_interactive_elements
move_mouse
{ x: number, y: number }
mouse_click
{ x: number, y: number, button?: "left" | "right" | "middle", clickCount?: number }
mouse_wheel
{ deltaY: number, deltaX?: number }
drag_and_drop
{ sourceX: number, sourceY: number, targetX: number, targetY: number }
echo
{ message: string }
# Run all tests npm test # Run tests in watch mode npm run test:watch # Generate coverage report npm run test:coverage
tools/*.test.ts
: Function tests for each toolmcp-server.test.ts
: MCP server function testsContent Retrieval
Interaction
Error Handling
Configuration Flexibility
ISC
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!