pinchtab-mcp
यह क्या करती है
यह स्किल AI को PinchTab MCP सर्वर के ज़रिए ब्राउज़र चलाने देती है। यह उन लोगों के लिए है जो चाहते हैं कि उनका AI पेज खोले, फ़ॉर्म भरे और पेज की सामग्री इकट्ठा करे।
कब इस्तेमाल करें
- ✓जब आप चाहते हैं कि AI MCP टूल्स के ज़रिए कोई वेबसाइट खोले और उस पर काम करे।
- ✓जब आपको रिमोट ब्राउज़र में कई चरणों वाला फ़ॉर्म भरना हो।
- ✓जब आप पेज का टेक्स्ट या डेटा दोहराए जा सकने वाले प्रवाह में निकालना चाहते हैं।
Skill का लिंक
https://github.com/pinchtab/pinchtab/blob/main/plugins/grok/skills/pinchtab-mcp/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“सप्लायर पोर्टल खोलिए, ऑर्डर फ़ॉर्म में मेरी जानकारी भरिए और पुष्टि का टेक्स्ट पढ़कर सुनाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI एक पेज खोलता है, क्रमांकित तत्व संदर्भों वाला संक्षिप्त snapshot लेता है, फिर उन संदर्भों से क्लिक या टाइप करता है और नतीजे की जाँच करता है। हर पेज लोड के बाद वह नया snapshot लेता है, क्योंकि संदर्भ समाप्त हो जाते हैं।
तकनीकी सामग्री (मूल 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 हर पेज लोड के बाद नया snapshot क्यों लेता है?
नया पेज लोड होने पर तत्व संदर्भ समाप्त हो जाते हैं, इसलिए उन्हें दोबारा पढ़ना पड़ता है।
क्या यह रिमोट ब्राउज़र इस्तेमाल कर सकता है?
हाँ। सर्वर पता सेट किया जा सकता है, ताकि टूल्स रिमोट या कंटेनर वाले PinchTab इंस्टेंस का इस्तेमाल करें।
यह कैसे जाँचता है कि कार्रवाई सफल रही?
हर कार्रवाई के बाद वह पेज का टेक्स्ट पढ़ता है या नया snapshot लेता है, ताकि नतीजे की पुष्टि हो।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 27/10/2026
कमेंट
- …
इस repository की और skills
मिलती-जुलती skills
mcporter
394kयह आपके एजेंट को HTTP या stdio पर MCP सर्वर और उनके टूल सूचीबद्ध करने, चलाने और जांचने देती है, और उनकी साइन-इन सेटिंग्स प्रबंधित करती है।
fastmcp
260kआपको Python में MCP सर्वर बनाने, जाँचने और तैनात करने में मदद करती है, जो AI सहायकों को आपके API, डेटाबेस या फ़ाइलों तक टूल के रूप में पहुँच देता है।
mcp-oauth-remote-gateway
260kजब Hermes किसी सर्वर पर चलता है, तो रिमोट MCP सर्वर के लिए OAuth साइन-इन हाथ से करने में मदद करती है, जहाँ सामान्य ब्राउज़र साइन-इन नहीं पहुँच पाता।