Agent Web Interface
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HTTP_HOST | No | Host for HTTP transport. Default is '127.0.0.1'. | |
| HTTP_PORT | No | Port for HTTP transport. Default is '3000'. | |
| LOG_LEVEL | No | Logging level. Default is 'info'. | |
| TRANSPORT | No | Transport mode override, e.g., 'http'. | |
| AWI_CDP_URL | No | Explicit CDP endpoint; overrides browser mode. | |
| AWI_STEALTH | No | Enable stealth mode. Default is 'true'. | |
| CHROME_PATH | No | Path to Chrome executable. | |
| AWI_HEADLESS | No | Run browser headless: 'true' or 'false'. Default is 'false'. | |
| BRING_TO_FRONT | No | Set to 'true' to focus the Chrome tab before each action. | |
| CEF_BRIDGE_HOST | No | CDP host for CEF bridge connection. Default is '127.0.0.1'. | |
| CEF_BRIDGE_PORT | No | CDP port for CEF bridge connection. Default is '9223'. | |
| AWI_BROWSER_MODE | No | Browser mode: 'user', 'persistent', or 'isolated'. Default is auto fallback. | |
| AWI_TRIM_REGIONS | No | Set to 'false' to disable region trimming globally. Default is 'true'. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pingA | Check if the server is responsive |
| list_pagesA | List all open browser pages with their page_id, URL, and title. |
| close_pageA | Close a browser tab. Use list_pages first to get the page_id. |
| navigateB | Go to a URL. Returns page snapshot with interactive elements. |
| go_backA | Go back one page in browser history. Returns a fresh page snapshot of the resulting page with its interactive elements. |
| go_forwardA | Go forward one page in browser history. Returns a fresh page snapshot of the resulting page with its interactive elements. |
| reloadA | Refresh the current page. Use after a change that only takes effect on reload, or to recover from a stale page. Returns a fresh page snapshot with its interactive elements. |
| snapshotA | Re-capture the page state without performing any action. Use when the page may have changed on its own (timers, live updates, animations). |
| findA | Locate elements or read page text without acting on them. Two modes: filter by |
| get_elementA | Get complete details for one element: exact position, size, state, and attributes. Requires an |
| screenshotA | Capture a screenshot of the current page or a specific element. Use for visual verification or when layout/rendering matters; prefer snapshot or find for reading structure and text. Returns the image inline, or a file path when the image is large. |
| scroll_toA | Scroll until a specific element (by |
| scrollA | Scroll the viewport up or down by a pixel amount. Use to reveal more of a long page or trigger lazy-loaded content; use scroll_to when you know the target element. Returns a fresh page snapshot reflecting the new scroll position. |
| clickA | Click an element (by |
| typeA | Type text into an input field or text area (by |
| pressA | Press a single keyboard key with optional modifiers, dispatched to the focused element. Use for submitting with Enter, dismissing with Escape, or keyboard navigation (Tab, arrows); use type to enter text. Returns a fresh page snapshot with any resulting changes. |
| selectA | Choose an option from a dropdown menu by value or visible text. |
| hoverA | Move mouse over an element without clicking. Triggers hover menus and tooltips. |
| dragA | Drag from a source point to a target point (optionally relative to an element via |
| wheelA | Dispatch a mouse wheel event at specific coordinates. Use for scroll-to-zoom (with Control modifier) or horizontal scrolling. |
| inspect_canvasA | Analyze a canvas element: auto-detect the rendering library, query its scene graph, and return an annotated screenshot with coordinate grid overlay. |
| get_formA | Analyze all forms on the page: fields, required inputs, validation rules, and field dependencies. Call this first on any multi-field or multi-step form to plan the fill order, instead of scrolling and screenshotting. Returns each form as XML with per-field eids, state, constraints, and the suggested next field to fill. |
| get_fieldA | Get detailed info about one form field (by |
| read_pageA | Extract the main readable content from the page, removing navigation, ads, and clutter. Uses Mozilla Readability (Firefox Reader View engine). Best for articles, blog posts, documentation, and content-heavy pages. |
| list_network_callsA | List HTTP requests and responses made by the page. Filter by resource type, method, status code, or URL pattern; supports pagination. Use after navigate or an action to inspect API traffic, confirm a request fired, or find failing calls (e.g. status_min=400). Returns request/response summaries as XML. |
| search_network_callsA | Search network calls by URL pattern (substring or regex). Use when you know part of the endpoint URL and want just those calls, optionally with headers and request body; use list_network_calls to browse all traffic. Returns matching requests as XML with optional headers and body details. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lespaceman/agent-web-interface'
If you have feedback or need assistance with the MCP directory API, please join our Discord server