Skip to main content
Glama
allegiant

MQScript MCP Server

by allegiant

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
mqscript_tapB

Tap on screen at specified coordinates. Short tap once on the specified coordinates.

mqscript_touchC

Hold touch on screen for specified duration

mqscript_swipeC

Swipe from one point to another with specified duration

mqscript_keypressC

Press a key once

mqscript_keydownC

Press and hold a key

mqscript_keyupC

Release a key

mqscript_delayC

Pause script execution for specified duration

mqscript_forC

Create a For loop structure

mqscript_ifC

Create an If statement structure

mqscript_whileC

Create a While loop structure

mqscript_dimC

Define variables or arrays

mqscript_getpixelcolorC

Get color of pixel at specified coordinates

mqscript_findcolorC

Find color in specified region with support for multiple colors, color deviation, and similarity

mqscript_cmpcolorC

Compare color at specified point with expected color

mqscript_showmessageC

Display a message dialog

mqscript_traceprintC

Output debug information

mqscript_runappC

Launch an application

mqscript_inputtextC

Input text into the current focused field

mqscript_absC

Get absolute value of a number

mqscript_sinB

Calculate sine of an angle (in radians)

mqscript_cosB

Calculate cosine of an angle (in radians)

mqscript_tanB

Calculate tangent of an angle (in radians)

mqscript_sqrB

Calculate square root of a number

mqscript_rndB

Generate random number between 0 and specified maximum

mqscript_lenC

Get length of a string

mqscript_leftB

Get specified number of characters from left side of string

mqscript_rightB

Get specified number of characters from right side of string

mqscript_midC

Get substring from specified position

mqscript_instrC

Find position of substring in string

mqscript_replaceC

Replace occurrences of substring with new text

mqscript_ucaseB

Convert string to uppercase

mqscript_lcaseB

Convert string to lowercase

mqscript_cintC

Convert value to integer

mqscript_cstrC

Convert value to string

mqscript_cboolC

Convert value to boolean

mqscript_isnumericC

Check if value is numeric

mqscript_uboundC

Get upper bound of array

mqscript_splitC

Split string into array using delimiter

mqscript_joinB

Join array elements into string using delimiter

mqscript_ui_newlayoutC

Create a new UI layout

mqscript_ui_newrowC

Start a new row in layout

mqscript_fw_addtextviewC

Add text view to floating window

mqscript_ui_addedittextC

Add an edit text control

mqscript_fw_addbuttonC

Add button to floating window

mqscript_ui_addcheckboxC

Add a checkbox control

mqscript_ui_showC

Show the UI dialog

mqscript_element_settextC

Set text to UI element

mqscript_element_gettextC

Get text from UI element

mqscript_ui_setenabledC

Set enabled state of a UI control

mqscript_ui_setvisibleC

Set visibility of a UI control

mqscript_fw_createC

Create a floating window

mqscript_fw_showD

Show floating window

mqscript_fw_hideC

Hide floating window

mqscript_fw_onclickC

Set click event handler for floating window button

mqscript_element_clickC

Click on UI element

mqscript_file_existsC

Check if file exists

mqscript_device_getinfoC

Get device information

mqscript_device_vibrateC

Make device vibrate

mqscript_device_setbrightnessB

Set screen brightness

mqscript_device_setvolumeC

Set device volume

mqscript_phone_callC

Make a phone call

mqscript_phone_sendsmsC

Send SMS message

mqscript_phone_getcallstateC

Get current call state

mqscript_sys_exitC

Exit the script

mqscript_sys_gettimeB

Get current system time

mqscript_sys_shellC

Execute system shell command

mqscript_sys_getenvC

Get environment variable

mqscript_sys_setenvC

Set environment variable

mqscript_sys_sleepC

Sleep for specified duration

mqscript_cjson_parseC

Parse JSON string to object

mqscript_cjson_stringifyC

Convert object to JSON string

mqscript_cjson_getC

Get value from JSON object

mqscript_cjson_setC

Set value in JSON object

mqscript_datetime_nowB

Get current date and time

mqscript_datetime_formatC

Format date time with specified format

mqscript_datetime_adddaysC

Add days to date time

mqscript_datetime_compareC

Compare two date times

mqscript_file_readC

Read file content

mqscript_file_writeC

Write content to file

mqscript_file_deleteC

Delete file

mqscript_file_copyC

Copy file

mqscript_turing_chatC

Chat with TURING robot

mqscript_turing_setconfigC

Set TURING robot configuration

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/allegiant/MQScript_MCP'

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