Skip to main content
Glama

getAllConfigs

Retrieve the current configuration settings from the AutoMobile MCP server to manage and automate mobile testing workflows effectively.

Instructions

Retrieve current configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'getAllConfigs' tool that retrieves and returns current device and app configurations from the ConfigurationManager.
    async (): Promise<any> => { try { const deviceConfig = ConfigurationManager.getInstance().getDeviceConfigs(); const appConfig = ConfigurationManager.getInstance().getAppConfigs(); const result = { success: true, message: "Retrieved current MCP server configuration", deviceConfig, appConfig }; return createJSONToolResponse(result); } catch (error) { logger.error("Failed to get MCP server configuration:", error); const result = { success: false, message: `Failed to get MCP server configuration: ${error}`, }; return createJSONToolResponse(result); } }
  • Registration of the 'getAllConfigs' tool in ToolRegistry within the registerConfigurationTools function, including schema (empty object) and inline handler.
    "getAllConfigs", "Retrieve current configuration.", z.object({}), async (): Promise<any> => { try { const deviceConfig = ConfigurationManager.getInstance().getDeviceConfigs(); const appConfig = ConfigurationManager.getInstance().getAppConfigs(); const result = { success: true, message: "Retrieved current MCP server configuration", deviceConfig, appConfig }; return createJSONToolResponse(result); } catch (error) { logger.error("Failed to get MCP server configuration:", error); const result = { success: false, message: `Failed to get MCP server configuration: ${error}`, }; return createJSONToolResponse(result); } } );
  • Invocation of registerConfigurationTools() during MCP server creation, which triggers the registration of getAllConfigs and other configuration tools.
    registerConfigurationTools();
  • Input schema for getAllConfigs tool, which takes no parameters (empty object).
    z.object({}),

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/zillow/auto-mobile'

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