Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HEADLESSNo无头模式("true" 不显示浏览器窗口)false
BROWSER_PATHNo浏览器路径,"edge" 使用 Edge
LOGIN_TIMEOUTNo登录最大等待秒数300
USER_DATA_DIRNo持久化用户文件夹,保留登录态

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
scout_openA

Open / manage the browser session.

Finds or launches a Chromium on port 9222. Clears old tabs and resets the API pool. Does NOT navigate — use scout_goto() for that.

Returns: Browser session status.

scout_gotoA

Navigate to a URL and capture API requests.

Starts network monitoring BEFORE navigating (required: listen.start() must precede any action that triggers requests). Returns page text and interactive elements.

Use new_tab=True to open in a new tab while keeping the current page.

scout_closeA

Close the browser and clear all captured data.

Kills the Chromium process on port 9222 and resets all state.

Returns: Status message.

scout_tabsA

List all open browser tabs with CDP short IDs.

Returns: Tab list with short IDs and current marker.

scout_tab_switchA

Switch the active tab by CDP short ID (from scout_tabs output).

After switching, scout_goto() targets the new tab.

scout_tab_closeA

Close browser tab(s) by CDP short ID and prune their API records.

Supports comma-separated IDs for batch close (e.g. "C724404D,5FD84E84"). Empty = close current tab.

scout_fetchA

Fetch full page content — scrolls to bottom, dumps innerText + AXTree links, writes to cache file, returns chunked segments.

First call scrolls to bottom and writes a JSON cache file. Subsequent calls with start_index read from cache (no re-scroll).

scout_screenshotC

Take a screenshot of the current page.

scout_elementsB

List interactive page elements, repeated DOM containers, and common actions.

Scans for clickable buttons, links, inputs and detects repeated container structures (card layouts, list items, etc.).

Returns: Numbered list of interactive elements + DOM containers + Common Actions.

scout_cookiesC

View cookies for the current page.

scout_actA

Execute actions on the page: input, scroll, click, or select.

Two modes:

  1. Single step: scout_act("scroll", "bottom") scout_act("input", "python教程", target="搜索") scout_act("click", target="下一页") scout_act("select", "最多播放", target="综合排序")

  2. Chain: scout_act(actions=[ {"action": "input", "value": "python教程", "target": "搜索"}, {"action": "scroll", "value": "bottom"}, {"action": "click", "target": "最多播放"}, ])

Each step reports new API method + path inline so AI sees them immediately.

scout_loginA

Wait for the user to manually log in via the browser window.

Detects login by polling cookies: if cookie names change or ≥2 values change simultaneously, login is detected. Works across all sites without site-specific logic.

scout_apisA

List all captured API endpoints, optionally filtered by keyword.

scout_inspectC

Show full request and response details for one or more APIs.

scout_searchA

Search for data by keyword across ALL captured network data.

Supports comma-separated keywords for OR search.

scout_contextC

Search all data sources for keyword, returning field paths and values.

scout_exportC

Export one or more captured API data sources.

scout_export_allB

Export all captured API data sources at once.

scout_peekC

One-shot API discovery: open a URL, capture and inspect matching API.

scout_requestA

Send a test HTTP request — replay from captured API or fully custom.

Two modes:

  1. Replay: index=3, params='{"page":2}' — uses API #3's URL/method/headers.

  2. Manual: url="...", method="POST", body="..." — fully custom.

Cookies are auto-synced from the current browser tab.

scout_scanA

Comprehensive page data source scanner with two modes.

MODE "all" — full page scan (default):

  1. Network APIs — XHR/Fetch requests already captured by the listener

  2. SSR Embedded JSON — window.INITIAL_STATE, NEXT_DATA, etc.

  3. DOM Containers — repeated HTML structures (card layouts, list items)

MODE "dom" — keyword-targeted DOM scan: Searches DOM for containers matching the keyword.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/SanZiNEO/web-scout'

If you have feedback or need assistance with the MCP directory API, please join our Discord server