SM

seleniumhq/mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

4 stars 1 forks 품질 80 트렌드 32Apache-2.0

@selenium/mcp는 Selenium 프로젝트에서 공식 모델 Context Protocol 서버입니다. 그것은 코딩 에이전트는 Selenium을 통해 실제 브라우저를 구동 할 수 있습니다 : 에이전트는 액세스 가능성으로 페이지를 읽습니다 ...

개요

@selenium/mcp는 Selenium 프로젝트에서 공식 모델 Context Protocol 서버입니다. 그것은 코딩 에이전트는 Selenium을 통해 실제 브라우저를 구동 할 수 있습니다 : 에이전트는 요소 refs와 액세스성 스냅 샷으로 페이지를 읽고 그 refs에 작용합니다. 작성 또는 추측 할 필요가 없습니다. Selenium 바인딩은 도구로 노출되어 테스트 런너가 아닙니다. Selenium Manager는 바인딩으로 제공되므로 드라이버가 설치되지 않습니다. 기본적으로 Chrome, stdio 이상, 서버당 하나의 브라우저. 어떤 것을 알 수 있습니다. Node.js ^22.23.4 || ^24.22.1 || >= 26.12.1 및 Chrome이 필요합니다. 그런 다음 서버에 추가하십시오. : 커서/mcp.json (또는 ~/.cursor/mcp.json)에 추가하십시오: 다른 MCP 클라이언트: npx @selenium/mcp@latest를 stdio 서버로 실행하십시오. 플래그 이름은 @playwright/mcp와 일치합니다. 도구 이름과 인수는 @playwright/mcp와 일치하여 작업이 동일하므로 습관과 기술 파일이 수행됩니다.

개요(AI 번역)

@selenium/mcp는 Selenium의 공식 모델 Context Protocol 서버입니다. 프로젝트. 그것은 코딩 에이전트는 Selenium을 통해 실제 브라우저를 구동 할 수 있습니다 : 에이전트는 액세스 할 때 페이지를 읽습니다. 요소 ref로 스냅 샷, 그 ref에 작용합니다. 작성 또는 추측 할 필요가 없습니다.

Selenium 바인딩은 도구로 노출되어 테스트 런너가 아닙니다. Selenium Manager는 바인딩으로 제공되므로 드라이버가 설치되지 않습니다.

Status: v1 진행 중. 기본적으로 Chrome, stdio 이상, 서버당 하나의 브라우저. 이름 * 어떤 것.

설치

Node.js ^22.23.4 || ^24.22.1 || >= 26.12.1와 Chrome이 필요합니다. 그런 다음 서버에 추가하십시오.

**Claude 코드 **

** 코드**

Cursor: .cursor/mcp.json 추가 (또는 ~/.cursor/mcp.json):

VS 코드: .vscode/mcp.json에 추가:

다른 모든 MCP 클라이언트: 실행 npx @selenium/mcp@latest stdio 서버로.

옵션

플래그 의미
--browser chrome (기본값). edge]와 firefox] 시작하지만 아직 테스트되지 않습니다.
--headless / --headed 런헤드리스(기본값) 또는 창을 표시합니다. ·

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Selenium MCP server

@selenium/mcp is the official Model Context Protocol server from the Selenium project. It lets a coding agent drive a real browser through Selenium: the agent reads the page as an accessibility snapshot with element refs, and acts on those refs. It never has to write or guess a selector.

It is the Selenium bindings exposed as tools, not a test runner. Selenium Manager comes with the bindings, so there is no driver to install.

Status: v1 in progress. Chrome, headless by default, over stdio, one browser per server. See What it covers.

Setup

You need Node.js ^22.23.4 || ^24.22.1 || >= 26.12.1 and Chrome. Then add the server to your agent:

Claude Code

claude mcp add selenium -- npx @selenium/mcp@latest

Codex

codex mcp add selenium -- npx @selenium/mcp@latest

Cursor: add to .cursor/mcp.json (or ~/.cursor/mcp.json):

{ "mcpServers": { "selenium": { "command": "npx", "args": ["@selenium/mcp@latest"] } } }

VS Code: add to .vscode/mcp.json:

{ "servers": { "selenium": { "command": "npx", "args": ["@selenium/mcp@latest"] } } }

Any other MCP client: run npx @selenium/mcp@latest as a stdio server.

Options

Flag Meaning
--browser chrome (default). edge and firefox start but are not yet tested.
--headless / --headed Run headless (the default) or show the window.
--grid Run the browser on a Selenium Grid instead of locally.
--allowed-origins Semicolon-separated origins or hosts (*.example.com) the browser may navigate to.
--blocked-origins Semicolon-separated origins or hosts it may not navigate to.
--allow-unrestricted-file-access Let browser_navigate open file:// URLs, and browser_file_upload send files from outside the working directory (both blocked by default).
--allow-evaluate Offer browser_evaluate, which runs JavaScript the agent writes in the page.
--caps Comma-separated optional tool groups: vision, pdf, storage. See Optional tools.
--log-level Log to stderr: severe, warning (default), info, fine, all. all includes raw WebDriver traffic, so typed text such as passwords.

Flag names match @playwright/mcp wherever they mean the same thing.

Tools

Tool names and arguments match @playwright/mcp wherever the operation is the same, so habits and skills files carry over.

| Tool | What it does |

GitHub에서 전체 README 보기

설치

npx @selenium/mcp@latest
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "selenium": { "command": "npx", "args": ["@selenium/mcp@latest"] } } }