@aifirelab/mcp-pinchtab
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PINCHTAB_BIN | No | Override pinchtab binary path (default is `pinchtab` from PATH) | pinchtab |
| PINCHTAB_URL | No | Override Pinchtab server URL | http://localhost:9867 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| navigateB | Navigate the browser to a URL. Set waitMs to wait for page load and get a snapshot back. |
| snapshotA | Get accessibility tree snapshot of the page. Returns element refs (e0, e1, ...) for interaction. This is the primary way to understand page state and costs far fewer tokens than a screenshot. |
| clickA | Click an element by ref (e.g. 'e5'). Use snapshot to find refs. For SPAs, clicking may not cause a full page navigation. |
| type_textA | Type text character by character. Fires real keyboard events, so works with React/Vue/Angular. Use 'fill' for instant input on plain HTML forms. |
| fillA | Instantly fill a form field (clears existing value). For React/Vue/Angular apps, set submitEvents=true or use click + type_text instead, as direct fill may not trigger framework state updates. |
| pressB | Press a keyboard key (Enter, Tab, Escape, ArrowDown, etc.) |
| selectC | Select an option from a dropdown. |
| scrollB | Scroll the page or a specific element. |
| hoverC | Hover over an element. |
| get_textB | Extract text content of the current page. |
| screenshotA | Take a screenshot as base64 image. Expensive in tokens — prefer snapshot for most tasks. Use screenshot only when visual layout matters. |
| evaluateC | Execute JavaScript in the browser and return the result. |
| wait_for_selectorA | Wait for a CSS selector to appear on the page. Polls every 500ms up to the timeout. |
| list_tabsB | List all open browser tabs. |
| close_tabB | Close the current or a specific tab. |
| get_cookiesB | Get all cookies for the current page. |
| healthA | Check if Pinchtab server is running. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Each tool targets a distinct browser action (navigate, click, select, scroll, hover, evaluate, etc.), and descriptions explicitly disambiguate the trickiest pairs (type_text vs fill, snapshot vs screenshot vs get_text). Minor residual overlap remains between snapshot and get_text for reading page state, but the guidance pushes agents to snapshot first.
All names are lowercase snake_case, with action-oriented verbs (list_tabs, close_tab, wait_for_selector, get_cookies) that fit a predictable pattern. A few bare verbs (press, select, scroll, hover, fill) lack the noun object but remain unambiguous in context.
17 tools is at the upper edge of reasonable but each covers a distinct browser primitive that a Playwright-style agent actually needs. Nothing is obviously redundant, though the set is on the heavy side for a single-surface MCP server.
Core interaction lifecycle (navigate, snapshot, click, type, key press, select, scroll, wait, evaluate, tabs, cookies, health) is well covered. However there are notable asymmetries: get_cookies without set_cookies, list_tabs/close_tab without an open/new_tab, and no back/forward/reload or dialog/file-upload handling, which will create dead ends for some workflows.