Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level (debug/info/warn/error)info
MAX_RETRIESNoMaximum retry attempts for failed requests3
RETRY_DELAYNoInitial retry delay (ms)1000
MAX_FILE_SIZENoMaximum file size in bytes (10MB)10485760
BYTEBOT_WS_URLNoWebSocket endpoint for real-time updatesws://localhost:9991
MCP_SERVER_NAMENoServer identifierbytebot-mcp
REQUEST_TIMEOUTNoHTTP request timeout (ms)30000
ENABLE_WEBSOCKETNoEnable WebSocket connectionsfalse
BYTEBOT_AGENT_URLNoByteBot Agent API endpointhttp://localhost:9991
TASK_POLL_INTERVALNoTask status polling interval (ms)2000
BYTEBOT_DESKTOP_URLNoByteBot Desktop API endpointhttp://localhost:9990
TASK_MONITOR_TIMEOUTNoMaximum task monitoring duration (ms)300000
DESKTOP_ACTION_TIMEOUTNoDesktop action timeout (ms)10000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
bytebot_create_task

Create a new task for ByteBot to execute. Returns task ID and initial status. Use this to start autonomous task execution.

bytebot_list_tasks

List all tasks with optional filters. Use this to see what tasks exist and their current status.

bytebot_get_task

Get detailed information about a specific task by ID, including full message history and current status.

bytebot_get_in_progress_task

Get the currently running task, if any. Returns null if no task is currently in progress.

bytebot_update_task

Update a task's status or priority. Use this to cancel tasks, mark them for review, or change priority.

bytebot_delete_task

Delete a task by ID. This permanently removes the task and its history. Cannot be undone.

bytebot_move_mouse

Move the mouse cursor to specific screen coordinates. Use this to position the cursor before clicking or dragging.

bytebot_click

Click at specific screen coordinates. Supports left, right, and middle mouse buttons, as well as double-clicks.

bytebot_drag

Drag the mouse from one position to another. Useful for moving windows, selecting text, or drag-and-drop operations.

bytebot_scroll

Scroll the screen in a specific direction. Use this to navigate through content.

bytebot_type_text

Type text string as if typing on a keyboard. Use this for entering text in forms, search boxes, etc.

bytebot_paste_text

Paste text directly (without typing). Faster than type_text and works with special characters/emojis.

bytebot_press_keys

Press keyboard keys including modifiers (Ctrl, Shift, Alt, etc.). Use this for keyboard shortcuts like Ctrl+C, Ctrl+V, Alt+Tab.

bytebot_screenshot

Capture a screenshot of the entire screen. Returns base64-encoded PNG image data.

bytebot_cursor_position

Get the current mouse cursor position. Returns {x, y} coordinates.

bytebot_read_file

Read a file from the filesystem. Returns base64-encoded file content.

bytebot_write_file

Write content to a file on the filesystem. Content must be base64-encoded.

bytebot_switch_application

Switch to a specific application window. Use this to bring an app to the foreground.

bytebot_wait

Wait for a specified duration. Use this to add delays between actions or wait for UI updates.

bytebot_create_and_monitor_task

Create a task and monitor its progress until completion or intervention needed. Automatically polls task status and returns when task reaches a terminal state (COMPLETED, NEEDS_HELP, NEEDS_REVIEW, FAILED, CANCELLED) or timeout is reached. This is the recommended way to execute tasks when you want to wait for results.

bytebot_intervene_in_task

Provide intervention for a task in NEEDS_HELP state. Send guidance to the task and optionally resume, cancel, or retry it. Use this when a task is stuck and needs human input to proceed.

bytebot_execute_workflow

Execute a multi-step workflow with automatic task creation, monitoring, and error recovery. Each step is executed as a separate task, with automatic intervention handling. Use this for complex multi-step automation scenarios.

bytebot_monitor_task

Monitor an existing task until it reaches a terminal state or timeout. Use this when you have already created a task and want to wait for its completion.

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/sensuslab/spark-mcp'

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