Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FARA_MODEL_IDSNoFara model IDs to use
GOOGLE_API_KEYNoGoogle API key for Gemini
OPENAI_API_KEYNoOpenAI-compatible API key
SURF_LLM_MODELNoLLM model identifier (e.g., microsoft_fara-7b, gemini-2.0-flash)
OPENAI_BASE_URLNoOpenAI-compatible base URL
LMSTUDIO_SERVERSNoMulti-server LM Studio endpoints for visual grounding
FARA_MAX_FAILURESNoMax failures per action2
SURF_LLM_PROVIDERNoLLM provider (e.g., gemini)
SURF_MAX_SESSIONSNoMaximum number of concurrent sessions10
FARA_PROBE_TIMEOUTNoProbe timeout for server discovery2.0
FARA_MIN_CONFIDENCENoMinimum confidence threshold0.7
FARA_MAX_AGENT_STEPSNoMaximum steps in autonomous mode20
SURF_BROWSER_HEADLESSNoRun browser in headless modetrue
FARA_CONFIDENCE_RETRIESNoNumber of retries on low confidence2
SURF_BROWSER_VIEWPORT_WIDTHNoViewport width in pixels1920
SURF_BROWSER_VIEWPORT_HEIGHTNoViewport height in pixels1080
SURF_SESSION_TIMEOUT_SECONDSNoSession timeout in seconds3600

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
session_createB

Create a new navigator session with one or more drivers

session_destroyA

Destroy a session and cleanup all its drivers

session_listB

List all active sessions

gotoC

Navigate to a location (path for filesystem, URL for browser)

currentC

Get current location for a driver

backC

Navigate back in history

forwardC

Navigate forward in history

historyC

Get navigation history for a driver

listA

List contents at current location (directory entries for filesystem, links for browser)

readA

Read content (file for filesystem, page text for browser)

snapshotC

Capture current state (JSON for filesystem, PNG screenshot for browser)

locateB

Locate UI element by natural language description (browser driver only)

clickC

Click UI element by description (browser driver only)

typeB

Type text into UI element by description (browser driver only)

scrollB

Scroll page (browser driver only)

waitA

Wait for element or delay (browser driver only)

actA

Execute a goal using direct Fara visual grounding. Fara decides what action to take (click, type, scroll, etc.) based on the goal and screenshot.

act_autonomousB

Execute a goal autonomously with multiple steps. Fara loops until task completion (terminate action) or max steps reached.

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/shanevcantwell/surf-mcp'

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