Skip to main content
Glama

MQScript MCP Server

by allegiant

mqscript_findcolor

Locate specified colors within a defined screen region using color deviation and similarity settings for mobile automation tasks.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
bottomNoBottom boundary of search region (0 for full screen)
colorValueYesColor value in BBGGRR format, multiple colors separated by |, deviation with - (e.g., "FFFFFF-101010|123456")
directionNoSearch direction: 0=top-left to bottom-right, 1=center outward, 2=bottom-right to top-left, 3=bottom-left to top-right, 4=top-right to bottom-left
leftNoLeft boundary of search region (0 for full screen)
resultVariableNoVariable name to store result indexresult
rightNoRight boundary of search region (0 for full screen)
similarityNoColor similarity (0-1, higher is more similar)
topNoTop boundary of search region (0 for full screen)
xVariableNoVariable name to store found X coordinateintX
yVariableNoVariable name to store found Y coordinateintY

Input Schema (JSON Schema)

{ "properties": { "bottom": { "default": 0, "description": "Bottom boundary of search region (0 for full screen)", "type": "number" }, "colorValue": { "description": "Color value in BBGGRR format, multiple colors separated by |, deviation with - (e.g., \"FFFFFF-101010|123456\")", "type": "string" }, "direction": { "default": 0, "description": "Search direction: 0=top-left to bottom-right, 1=center outward, 2=bottom-right to top-left, 3=bottom-left to top-right, 4=top-right to bottom-left", "type": "number" }, "left": { "default": 0, "description": "Left boundary of search region (0 for full screen)", "type": "number" }, "resultVariable": { "default": "result", "description": "Variable name to store result index", "type": "string" }, "right": { "default": 0, "description": "Right boundary of search region (0 for full screen)", "type": "number" }, "similarity": { "default": 0.9, "description": "Color similarity (0-1, higher is more similar)", "type": "number" }, "top": { "default": 0, "description": "Top boundary of search region (0 for full screen)", "type": "number" }, "xVariable": { "default": "intX", "description": "Variable name to store found X coordinate", "type": "string" }, "yVariable": { "default": "intY", "description": "Variable name to store found Y coordinate", "type": "string" } }, "required": [ "colorValue" ], "type": "object" }

Other Tools from MQScript MCP Server

Related Tools

    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