Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_screenshot

Capture a screenshot of the active browser window in Selenix playback. Returns a base64-encoded JPEG image.

get_page_html

Get the HTML of the web page in the active playback window, with interactive elements annotated. Scripts and styles are removed.

get_search_html

Search page HTML by regex pattern and return surrounding HTML context for matches.

get_selected_command_info

Get comprehensive context about a command target element: DOM hierarchy, accessibility info, surrounding HTML, interactive properties.

get_current_test

Get the commands of the current test (or a specific test by ID). Returns test name, ID, and all commands with their targets and values.

get_test_list

List all tests in the current Selenix project with their IDs, names, and command counts.

get_test_by_name

Get a specific test by its name, including all commands.

get_command_list

List all available Selenix commands (click, type, open, etc.) with descriptions.

get_command_info

Get detailed documentation for a specific Selenix command, including target and value parameter descriptions.

get_project_info

Get metadata about the current Selenix project: name, base URL, test count, suite count.

get_active_suite

Get information about the currently active test suite and its tests.

get_step_results

Get pass/fail/error results for each command in the last test run.

get_logs

Get recent logs from Selenix (all types). Returns 20 logs per page, most recent first. Use page parameter to paginate (0 = most recent, 1 = next 20, etc.).

get_workspace_context

Get a summary of the current Selenix workspace: project name, active test, test count, selected command count.

add_commands

Add one or more commands to a test at a specific index. Commands use camelCase names (e.g., "click", "type", "open", "executeScript").

run_test

Run a test and wait for it to complete. Returns the pass/fail result for each command. This operation may take up to 2 minutes.

clear_and_replace_commands

Replace ALL commands in a test with a new set. This removes all existing commands first.

fix_commands

Apply targeted fixes to commands in a test: update, remove, or insert at specific indexes. Indexes refer to the current command list BEFORE any fixes are applied.

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/markmircea/Selenix-MCP-Server'

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