MCP.so
ログイン
M

MCP Selenium Haskell

@albertov

基本情報

カテゴリ

ブラウザ自動化

トランスポート

stdio

作者

albertov

投稿者

Alberto Valverde

MCP Selenium Haskell について

A Haskell implementation of MCP Selenium Server using WebDriver, enabling browser automation through standardized MCP clients like Claude.

MCP Selenium Haskell の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "selenium": {
      "command": "mcp-selenium-hs",
      "args": [],
      "env": {
        "SELENIUM_HOST": "some.tailscale.host",
        "SELENIUM_PORT": "1234"
      }
    }
  }
}

MCP Selenium Haskell のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Mcp Selenium Haskell?

Mcp Selenium Haskell is a Haskell implementation of an MCP (Model Context Protocol) Selenium server that uses WebDriver to enable browser automation through standardized MCP clients like Claude. It provides multi-session browser management with UUID-based session isolation and connects to a Selenium Grid.

How to use Mcp Selenium Haskell?

Run the statically-linked executable mcp-selenium-hs after setting environment variables SELENIUM_HOST (default 127.0.0.1) and SELENIUM_PORT (default 4444) to point to a Selenium server. Configure Claude Desktop by adding a JSON entry with the command and environment variables, or expose the server over HTTP/SSE using mcp-proxy for remote access.

Key features of Mcp Selenium Haskell

  • Multi-session browser management with UUID-based session IDs
  • Element interaction: click, type, hover, drag and drop
  • Element location via CSS, XPath, ID, name, class, tag
  • JavaScript console logging with injection and monitoring
  • Screenshot capture and page source retrieval
  • File upload and keyboard input simulation
  • Chrome and Firefox support with headless mode
  • Statically-linked executable with zero runtime dependencies

Use cases of Mcp Selenium Haskell

  • Automate browser tasks through MCP clients like Claude
  • Run multiple concurrent browser sessions for parallel testing
  • Integrate with existing Selenium Grid infrastructure
  • Perform headless browser automation without a graphical display

よくある質問

1

How does Mcp Selenium Haskell differ from the Node.js mcp-selenium?

This Haskell version supports multiple concurrent sessions (Node.js uses a single implicit session), connects to Selenium Grid, provides additional tools (console logging, page source), and is delivered as a static binary. It requires a separate Selenium server whereas the Node.js version includes browser management.

2

What environment variables are required?

Set `SELENIUM_HOST` (default `127.0.0.1`) and `SELENIUM_PORT` (default `4444`) to point to your Selenium WebDriver server. For local use no configuration is needed if using defaults.

3

How do I configure Claude Desktop to use this server?

Add a JSON entry to `claude_desktop_config.json` with `"command": "mcp-selenium-hs"` and the required environment variables under `"env"`. The configuration file location varies by OS.

4

Can I run multiple browser sessions at once?

Yes, Mcp Selenium Haskell explicitly manages multiple concurrent sessions using UUID-based session IDs, unlike the single-session model of the Node.js version.

5

How can I expose the server remotely?

Use `mcp-proxy` to serve the MCP server over SSE (e.g., `mcp-proxy --port=8080 mcp-selenium-hs`). Bind to a specific private interface (Tailscale IP, localhost with SSH forwarding) and never use `0.0.0.0` in production.

コメント

「ブラウザ自動化」の他のコンテンツ