Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DETOX_PROJECT_PATHNoPath to React Native projectCurrent directory

Tools

Functions exposed to the LLM to take actions

NameDescription
detox_build

Build the app for Detox testing. Runs the build command from your Detox configuration.

detox_test

Run Detox E2E tests with full options for configuration, retries, artifacts, and more.

detox_init

Initialize Detox in a React Native project. Creates e2e folder structure and configuration.

detox_read_config

Read and parse the current Detox configuration file (.detoxrc.js or similar).

detox_list_configurations

List all available Detox configurations (e.g., ios.sim.debug, android.emu.debug).

detox_validate_config

Validate Detox configuration for errors and warnings.

detox_create_config

Generate a new Detox configuration file for your React Native project.

detox_list_devices

List available iOS simulators and Android emulators.

detox_generate_test

Generate a complete Detox test file from a description.

detox_generate_matcher

Generate Detox matcher code for element selection (by.id, by.text, etc.).

detox_generate_action

Generate Detox action code (tap, typeText, scroll, etc.).

detox_generate_expectation

Generate Detox expectation/assertion code (toBeVisible, toHaveText, etc.).

Prompts

Interactive templates invoked by user choice

NameDescription
detox-testRun Detox tests with smart defaults and formatted results
detox-generateGenerate Detox test code from a natural language description
detox-setupInitialize and configure Detox in a React Native project
detox-debugDebug a failing Detox test with screenshots and view hierarchy

Resources

Contextual data attached and managed by the client

NameDescription
Detox ConfigurationCurrent Detox configuration from .detoxrc.js or similar
Available DevicesList of iOS simulators and Android emulators
Test FilesList of Detox test files in the e2e directory
Matchers APIDetox element matchers reference (by.id, by.text, etc.)
Actions APIDetox element actions reference (tap, typeText, etc.)
Expectations APIDetox assertions reference (toBeVisible, toExist, etc.)
Device APIDetox device control reference (launchApp, setLocation, etc.)

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/gayancliyanage/detox-mcp'

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