Skip to main content
Glama

AdsPower LocalAPI MCP Server

Official

evaluate-script

Execute custom scripts in AdsPower browser to manipulate web elements, automate tasks, and interact with dynamic content via the LocalAPI MCP Server.

Instructions

Evaluate the script

Input Schema

NameRequiredDescriptionDefault
scriptYesThe script to evaluate, eg: "document.querySelector('#username').value = 'test'"

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "script": { "description": "The script to evaluate, eg: \"document.querySelector('#username').value = 'test'\"", "type": "string" } }, "required": [ "script" ], "type": "object" }

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/AdsPower/local-api-mcp-typescript'

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