
mobidev-org/treegress-browser-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
mobidev-org/treegress-browser-mcp는 MCP 서버 후보가 https://github.com/mobidev-org/treegress-browser-mcp.에서 가져온
개요
mobidev-org/treegress-browser-mcp는 MCP 서버 후보가 https://github.com/mobidev-org/treegress-browser-mcp.에서 가져온
개요(AI 번역)
Treegress Browser MCP는 Playwright MCP의 Treegress-maintained 포크입니다. 그것은 MCP 클라이언트에 대한 브라우저 자동화 도구를 노출하고 스냅 샷과 위치 코어를 Treegress Playwright 포크에 위임.
이 저장소는 출판 된 패키지의 소스입니다 @treegress.com/treegress-browser-mcp.
왜 Treegress는 Playwright MCP를 확장
AI 에이전트는 실제 페이지 구조에 액세스 할 필요가 테스트입니다.
Standard Playwright MCP는 접근성 트리에서 파생 된 ARIA 스냅 샷을 노출시킵니다. 실제 테스트 흐름에서는 단순한 데모가 아니라, 상호 작용할 수 있는 요소가 빈번하게 표현될 때 모델의 보기 밖에 UI의 일부를 떠날 수 있습니다. ARIA 스냅 샷에 의해 요소가 반환 될 때, 그 요소에 대한 정보는 제대로 웹 사이트와 상호 작용하고 시나리오를 구현하는 방법을 이해하기 위해 에이전트에 대해 너무 추상적 일 수있다.
Treegress는이 흐름을 다음과 같이 확장합니다.
- 전체 DOM 트리를 직렬화
- 상호 작용할 수 있는 성분의 가득 차있는 세트 추출
- 요소에 대한 정보를 풍부
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Treegress Browser MCP
Treegress Browser MCP is a Treegress-maintained fork of Playwright MCP. It exposes browser automation tools for MCP clients while delegating the snapshot and locator core to the Treegress Playwright fork.
This repository is the source for the published package @treegress.com/treegress-browser-mcp.
Why Treegress Extends Playwright MCP
AI agents need access to the actual page structure they are testing.
Standard Playwright MCP flows expose an ARIA snapshot derived from the accessibility tree. In real test flows, not just simple demos, this can leave part of the UI outside the model’s view when interactable elements are poorly represented in the accessibility layer. Even when an element is returned by an ARIA snapshot, the information about that element can be too abstract for an agent to properly understand how to interact with the website and implement the scenario.
Treegress extends this flow by:
- serializing the full DOM tree
- extracting the full set of interactable elements
- enriching the information about the elements
- assigning a
refIdto each element so downstream tools such asbrowser_click,browser_fill_form, and similar operations can target it reliably.
This gives the agent a structurally complete representation of the page instead of a partial accessibility-based abstraction. In practice, that improves element coverage and enables broader, more reliable test scenarios.
If you want to better understand the problem and technical details, you can check Riding Blind: The Hidden Blind Spot in Playwright MCP.
Here you can find a video comparing Playwright MCP and Treegress MCP on a complex real-world page: Playwright MCP vs Treegress MCP.
In the video, you can see the differences in the number of tests produced by each MCP on the same page, differences in test exploration costs, and how Treegress MCP can find and interact with elements that are missing from the Playwright MCP snapshot.
If you want to see what Treegress is building in the area of automated testing, visit treegress.com.
What This Fork Adds
- MCP browser tools backed by Treegress custom DOM snapshots
- A thin adapter layer over the Treegress Playwright fork instead of a second standalone DOM engine
설치
npx --yes [email protected]/treegress-browser-mcp@latest treegress-browser-mcp --snapshot-engine dom설정
{
"mcpServers": {
"treegress-browser": {
"type": "stdio",
"command": "npx",
"args": [
"--yes",
"[email protected]/treegress-browser-mcp@latest",
"treegress-browser-mcp",
"--snapshot-engine",
"dom"
]
}
}
}