pinchtab-mcp
하는 일
이 스킬은 PinchTab MCP 서버를 통해 AI가 브라우저를 조작하도록 합니다. AI가 페이지를 열고, 양식을 채우고, 페이지 내용을 수집하기를 원하는 사람들을 위한 것입니다.
사용하는 경우
- ✓AI가 MCP 도구로 웹사이트를 열고 그 위에서 작업하기를 원할 때.
- ✓원격 브라우저에서 여러 단계로 된 양식을 채워야 할 때.
- ✓반복 가능한 흐름으로 페이지 텍스트나 데이터를 추출하고 싶은 경우.
스킬 링크
https://github.com/pinchtab/pinchtab/blob/main/plugins/grok/skills/pinchtab-mcp/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“공급업체 포털을 열고, 제 정보로 주문 양식을 작성한 다음, 확인 문구를 읽어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 페이지를 열고, 번호가 붙은 요소 참조가 있는 간결한 스냅샷을 찍은 다음, 그 참조를 사용해 클릭하거나 입력하고 결과를 확인합니다. 참조는 만료되므로 페이지가 로드될 때마다 새 스냅샷을 찍습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Browser Automation via PinchTab MCP
Use MCP tools to control a browser through the PinchTab HTTP API. The MCP server defaults to http://127.0.0.1:9867; for remote or containerized PinchTab instances, override with the PINCHTAB_SERVER env var (e.g. PINCHTAB_SERVER=http://pinchtab:9867).
Core Workflow
- Navigate:
pinchtab_navigate(url="https://example.com")— auto-creates a session and tab. - Observe:
pinchtab_snapshot(interactive=true, compact=true)— returns numbered refs likee5,e12. - Interact:
pinchtab_click(selector="e5")— use refs from the snapshot. - Verify:
pinchtab_get_text()or re-snapshot to confirm the action succeeded.
Critical rule: An element ref (e5, e12) denotes a DOM node, so the same node keeps its ref across interactive vs full, a selector scope and a depth limit — a filtered view is therefore sparse (e0, e1, e6), never assume refs are contiguous. What a ref does NOT survive is navigation to a new document: refs expire on page load, so always re-call pinchtab_snapshot afterwards. A ref that can no longer resolve to its node is refused with vocab_superseded (or ref not found), never acted on positionally — the tools carry each snapshot's vocabulary token forward so a filter-only re-read keeps a ref valid while a new document supersedes it.
Tool Selection Guide
Choose the cheapest tool that satisfies your goal:
| Goal | Tool | Token Cost |
|---|---|---|
| Check a specific value | pinchtab_eval(expression="document.title") |
Lowest |
| Find a specific element | pinchtab_find(query="login button") |
Low |
| Read page text only | pinchtab_get_text() |
Low |
| Read a whole site to markdown | pinchtab_scrape(url=..., preview=true) then expand |
Varies |
| Find interactive elements | pinchtab_snapshot(interactive=true, compact=true) |
Medium |
| Full page structure | pinchtab_snapshot() |
Medium-High |
| Visual verification | pinchtab_screenshot() |
Highest |
Default observation: pinchtab_snapshot(interactive=true, compact=true) — returns only interactive elements in compact format. Use this as your starting point.
Navigation
pinchtab_navigate(url="https://example.com")
- Always include
http://orhttps://scheme. - Returns the tab ID and a basic confirmation.
- Follow with
pinchtab_snapshot()to get element refs. - For read-heavy tasks, consider blocking images (set via config on the server).
After navigation: Always call pinchtab_snapshot() before interacting. The page may have redirects, modals, or cookie banners.
Site scrape
To read a whole site (not one page) into markdown, use pinchtab_scrape — it crawls over HTTP first and browser-renders only the pages that need it (thin, blocked, or JS-only).
pinchtab_scrape(url="https://example.com", preview=true)
- Large sites: call with
preview=truefirst for a token-cheap outline (per-page titles, sizes, snippets, and which pages need the browser — no full bodies). Full reports can be large; don't scrape everything blind. - Drill down: expand the pages you picked from the preview with
only(comma-separated URLs):pinchtab_scrape(url="https://example.com", only="https://example.com/a, https://example.com/b"). noBrowser=truefor an HTTP-only crawl;enrichAll=trueto browser-render every page. Multi-page crawls run for minutes.
Observation
Snapshot (primary)
pinchtab_snapshot(interactive=true, compact=true)
Returns an accessibility tree, one element per line as ref:role "name":
e0:link "About"
e2:button "Sign in"
e5:textbox "Search"
Key rules:
- Each line's leading
eNis the ref to pass to action tools. - Refs are the fastest way to target elements.
- Use
diff=trueafter an interaction to see only changed elements (saves tokens). - Use
selectorto scope the snapshot to a specific section.
Text extraction
pinchtab_get_text()
Use when you only need to read content (articles, dashboards, results). Cheaper than snapshot when you won't interact with elements.
Find elements
pinchtab_find(query="submit button")
Semantic search for elements without a full snapshot. Returns matching refs. Great for known targets.
Screenshots
pinchtab_screenshot()
Returns an MCP image (image/jpeg by default) — clients render it inline. The text block is always the JSON envelope `{"format": "jpeg"|"png", "anno
자주 묻는 질문
AI는 왜 페이지가 로드될 때마다 새 스냅샷을 찍나요?
새 페이지가 로드되면 요소 참조가 만료되므로, 다시 읽어야 합니다.
원격 브라우저를 사용할 수 있나요?
네. 서버 주소를 설정하면 도구가 원격 또는 컨테이너 PinchTab 인스턴스를 사용합니다.
작업이 제대로 되었는지 어떻게 확인하나요?
각 작업 후 페이지 텍스트를 읽거나 새 스냅샷을 찍어 결과를 확인합니다.
상세 정보
작성자의 원본 설명
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
repo: pinchtab/pinchtab
인기도
- GitHub 스타
- 11k
- 순위
- #11874
- 라이선스
- MIT
- 업데이트
- 2026. 10. 27.
댓글
- …
이 저장소의 다른 스킬
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.