MCP Puppeteer Linux Server
MCP-Puppeteer-Linux
Puppeteerを用いたブラウザ自動化機能を提供するモデルコンテキストプロトコル(LLM)サーバー。Linuxディスプレイサーバー(X11およびWayland)をフルサポートしています。このサーバーにより、LLMはWebページとのインタラクション、スクリーンショットの取得、そして実際のブラウザ環境でのJavaScript実行が可能になります。
ディスプレイサーバーのサポート
このフォークは、Linux ディスプレイ サーバーの自動検出と構成を追加します。
X11/Waylandの自動検出
動的環境変数の設定
さまざまなデスクトップ環境 (GNOME、KDE など) のサポート
フォールバックメカニズムと堅牢なエラー処理
XWaylandの互換性
Related MCP server: Playwright MCP Server
コンポーネント
ツール
操り人形師ナビゲート
ブラウザで任意のURLに移動する
入力:
url(文字列)
操り人形師のスクリーンショット
ページ全体または特定の要素のスクリーンショットをキャプチャします
入力:
name(文字列、必須): スクリーンショットの名前selector(文字列、オプション):スクリーンショットを撮る要素のCSSセレクターwidth(数値、オプション、デフォルト:800):スクリーンショットの幅height(数値、オプション、デフォルト:600):スクリーンショットの高さ
操り人形師クリック
ページ上の要素をクリック
入力:
selector(文字列): クリックする要素の CSS セレクター
操り人形師_hover
ページ上の要素をホバーする
入力:
selector(文字列): ホバーする要素の CSS セレクター
操り人形師の塗りつぶし
入力フィールドに記入してください
入力:
selector(文字列):入力フィールドのCSSセレクターvalue(文字列): 入力する値
操り人形師の選択
SELECTタグで要素を選択する
入力:
selector(文字列): 選択する要素の CSS セレクターvalue(文字列): 選択する値
操り人形師の評価
ブラウザコンソールでJavaScriptを実行する
入力:
script(文字列): 実行するJavaScriptコード
リソース
サーバーは、次の 2 種類のリソースへのアクセスを提供します。
コンソールログ(
console://logs)ブラウザコンソールのテキスト形式の出力
ブラウザからのすべてのコンソールメッセージが含まれます
スクリーンショット(
screenshot://<name>)キャプチャしたスクリーンショットのPNG画像
キャプチャ時に指定したスクリーンショット名からアクセスできます
主な特徴
Linux ディスプレイ サーバーのサポートによるブラウザー自動化
X11/Waylandの自動検出と設定
コンソールログ監視
スクリーンショット機能
JavaScript実行
基本的なウェブインタラクション(ナビゲーション、クリック、フォームの入力)
構成
クロードデスクトップ構成
{
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": ["ts-node", "/path/to/index.ts"]
}
}
}インストール
Smithery経由でインストール
Smithery経由で Claude Desktop に Puppeteer Linux を自動的にインストールするには:
npx -y @smithery/cli install @PhialsBasement/mcp-puppeteer-linux --client claude手動インストール
リポジトリをクローンします。
git clone https://github.com/PhialsBasement/MCP-Puppeteer-Linux.git依存関係をインストールします:
npm installサーバーを起動します。
ts-node index.tsサーバーの詳細を表示
サーバーは適切な表示環境を自動的に検出し、構成します。
Wayland サポート
WAYLAND_DISPLAY経由で Wayland セッションを検出します必要な環境変数を設定します。
WAYLAND_DISPLAYQT_QPA_PLATFORMGDK_BACKENDMOZ_ENABLE_WAYLANDXDG_SESSION_TYPE
X11 サポート
従来の X11 セッションのフォールバック
X11 固有の変数を処理します。
DISPLAYXAUTHORITY
さまざまなデスクトップ環境とウィンドウマネージャーをサポート
ライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
Available Tools
7 toolspuppeteer_clickC
Click an element on the page
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for element to click |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. While 'Click' implies a user interaction simulation, it doesn't describe what happens after clicking (e.g., page navigation, form submission, JavaScript execution), potential errors (e.g., element not found), or whether it waits for page loads. This leaves significant behavioral gaps for an automation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that communicates the core functionality without any wasted words. It's perfectly front-loaded with the essential action and target.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a browser automation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what constitutes success/failure, what happens after clicking, or how this integrates with the broader Puppeteer context. The agent would need to guess about important behavioral aspects.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 100% description coverage, with the single parameter 'selector' clearly documented as a CSS selector. The description adds no additional parameter information beyond what's in the schema, so it meets the baseline for high schema coverage without providing extra value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Click') and target ('an element on the page'), making the purpose immediately understandable. However, it doesn't differentiate this tool from its sibling 'puppeteer_hover' which also targets page elements, nor does it specify that this is for browser automation versus general clicking.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'puppeteer_hover' or 'puppeteer_fill'. It doesn't mention prerequisites such as requiring a page to be loaded first, nor does it specify typical use cases like form submission or navigation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
puppeteer_evaluateC
Execute JavaScript in the browser console
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | JavaScript code to execute |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'Execute JavaScript in the browser console' implies a read/write operation, it doesn't specify critical details like execution context (e.g., page vs. frame), error handling, security implications, or whether it returns values. For a tool that can potentially modify page state, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with zero wasted words. It's front-loaded with the core action and context, making it immediately understandable without unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of executing arbitrary JavaScript in a browser (which can have side effects, security risks, and varied outputs), the description is inadequate. With no annotations, no output schema, and minimal behavioral context, it fails to prepare an agent for proper use. The description should address execution scope, return values, or error conditions to be complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the single parameter 'script' clearly documented as 'JavaScript code to execute'. The description adds no additional semantic context beyond this, such as examples of valid scripts or constraints. Since the schema already does the heavy lifting, the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Execute JavaScript') and location ('in the browser console'), making the purpose immediately understandable. However, it doesn't differentiate this tool from potential sibling tools that might also execute JavaScript, such as if there were a 'puppeteer_evaluate_inline' or similar variant.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. Given the sibling tools include actions like click, fill, hover, navigate, screenshot, and select, there's no indication whether this tool is for general scripting versus specific interactions, or what scenarios warrant its use over the more specialized siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
puppeteer_fillC
Fill out an input field
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for input field | |
| value | Yes | Value to fill |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('fill out') but doesn't describe what this entails—e.g., whether it simulates typing, triggers events, requires the element to be visible, or has side effects. This leaves significant gaps for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, direct sentence with no wasted words, making it highly concise and front-loaded. Every word contributes to stating the tool's purpose efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of a browser automation tool with no annotations and no output schema, the description is inadequate. It lacks details on behavior, error handling, or return values, failing to compensate for the missing structured data.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with clear documentation for both parameters (selector and value). The description adds no additional meaning beyond what the schema provides, such as examples or constraints, so it meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('fill out') and target ('an input field'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like puppeteer_click or puppeteer_select, which also interact with page elements, so it doesn't reach the highest score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a page loaded), exclusions, or comparisons to sibling tools like puppeteer_select for dropdowns, leaving usage context implied but unspecified.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
puppeteer_hoverC
Hover an element on the page
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for element to hover |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does but doesn't describe behavioral traits such as whether it waits for the element to be visible, handles errors if the selector doesn't exist, or triggers page events. For a browser automation tool with zero annotation coverage, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's front-loaded with the core action and target, making it easy to parse. Every word earns its place, achieving maximum clarity in minimal space.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of browser automation and the lack of annotations or output schema, the description is incomplete. It doesn't explain what happens after hovering (e.g., whether it returns a value or triggers side effects), error handling, or interaction with page state. For a tool with no structured behavioral data, more context is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'selector' parameter clearly documented as a CSS selector. The description doesn't add any meaning beyond what the schema provides, such as examples or constraints on selector syntax. Baseline score of 3 is appropriate since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('hover') and target ('an element on the page'), providing a specific verb+resource combination. However, it doesn't distinguish this tool from its siblings like 'puppeteer_click' or 'puppeteer_select', which also interact with page elements. The purpose is clear but lacks sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention scenarios where hovering is appropriate (e.g., triggering dropdowns or tooltips) versus when clicking or other interactions might be better. There's no context about prerequisites or exclusions, leaving usage entirely implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
puppeteer_screenshotC
Take a screenshot of the current page or a specific element
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the screenshot | |
| selector | No | CSS selector for element to screenshot | |
| width | No | Width in pixels (default: 800) | |
| height | No | Height in pixels (default: 600) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action but doesn't describe what happens: e.g., does it save the screenshot to a file, return it as data, or require specific permissions? It omits details like potential side effects (e.g., might pause execution), error conditions, or output format, which are critical for a tool with no structured behavioral hints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action and target, making it easy to parse. Every part of the sentence earns its place by clarifying scope ('current page or a specific element').
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of a screenshot tool with no annotations and no output schema, the description is incomplete. It doesn't address key aspects: what the output is (e.g., file path, base64 data), how errors are handled, or behavioral traits like whether it waits for page load. For a tool that interacts with a browser and produces visual data, more context is needed to ensure correct usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with clear parameter descriptions in the schema (e.g., 'CSS selector for element to screenshot', default values for width/height). The description adds minimal value beyond the schema by implying 'current page' as a default when no selector is provided, but it doesn't explain parameter interactions or provide examples. Baseline 3 is appropriate since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Take a screenshot') and target ('current page or a specific element'), which is specific and actionable. It distinguishes from sibling tools like puppeteer_click or puppeteer_navigate by focusing on capturing visual output rather than interaction or navigation. However, it doesn't explicitly differentiate from all siblings (e.g., puppeteer_evaluate might also capture data).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., requires a page to be loaded), exclusions, or comparisons with other screenshot or capture methods. With siblings like puppeteer_evaluate that might retrieve page content differently, this lack of context leaves the agent guessing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
puppeteer_selectC
Select an element on the page with Select tag
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for element to select | |
| value | Yes | Value to select |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action but lacks details on what 'select' entails (e.g., does it simulate a user click, change a dropdown value, or trigger events?), potential side effects, error handling, or performance considerations. This is a significant gap for a tool that likely modifies page state.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, direct sentence with zero waste. It front-loads the key action and target efficiently, making it easy to parse quickly. Every word contributes to understanding the tool's purpose without unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of interacting with web elements (likely involving state changes) and no annotations or output schema, the description is incomplete. It doesn't explain what happens after selection (e.g., does it return something, trigger page updates?), error cases, or dependencies. This leaves gaps for an agent to use the tool effectively in a browser automation context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with clear descriptions for both parameters (selector and value). The description adds no additional meaning beyond the schema, such as examples or constraints (e.g., valid CSS selector formats or value matching). Baseline 3 is appropriate since the schema adequately documents the parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Select') and target ('element on the page with Select tag'), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like puppeteer_click or puppeteer_fill, which might also interact with page elements. The description is specific about the element type (Select tag) but could be more precise about what 'select' means in this context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a page loaded), exclusions, or comparisons to siblings like puppeteer_fill for input fields. Without this context, an agent might struggle to choose between similar tools for interacting with web elements.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
7 tool updates
- First observed
puppeteer_click - First observed
puppeteer_evaluate - First observed
puppeteer_fill - First observed
puppeteer_hover - First observed
puppeteer_navigate - First observed
puppeteer_screenshot - First observed
puppeteer_select
TDQS
Each tool has a clearly distinct purpose targeting specific browser automation actions. Click, fill, hover, navigate, screenshot, evaluate, and select all perform unique operations with no overlap in functionality.
All tools follow the exact same 'puppeteer_verb' naming pattern consistently. The verb-noun structure is uniform across all seven tools with no deviations in style or convention.
Seven tools is well-scoped for a Puppeteer automation server. Each tool represents a fundamental browser interaction that earns its place, providing essential coverage without being overwhelming or insufficient.
The toolset covers core browser automation workflows including navigation, interaction, and content capture. Minor gaps exist such as missing wait/network tools or file uploads, but agents can work around these with existing tools like evaluate.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Headless browser primitives for AI agents when sites need real JS rendering.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment10277299MIT
- AlicenseBqualityDmaintenanceA server that enables browser automation using Playwright, allowing interaction with web pages, capturing screenshots, and executing JavaScript in a browser environment through LLMs.1218,1221MIT
- FlicenseAqualityDmaintenanceEnables LLM-powered browser automation and security testing with features like browser management, network monitoring, DOM manipulation, and captcha handling.521-
- AlicenseNot gradedqualityDmaintenanceEnables browser automation using Playwright, allowing LLMs to interact with web pages, take screenshots, generate test code, scrape web pages, and execute JavaScript in a real browser environment.18,122MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PhialsBasement/MCP-Puppeteer-Linux'
If you have feedback or need assistance with the MCP directory API, please join our Discord server