Skip to main content
Glama

get_config

Retrieve configuration settings for the Browserless MCP Server to manage browser automation tasks, such as PDF generation, screenshots, and web scraping.

Instructions

Get configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler implementation for fetching Browserless configuration via HTTP GET to /config endpoint.
    async getConfig(): Promise<BrowserlessResponse<any>> { try { const response: AxiosResponse<any> = await this.httpClient.get('/config'); return { success: true, data: response.data, }; } catch (error) { return this.handleError(error); } }
  • MCP server tool dispatch handler for 'get_config', calls client.getConfig() and formats the response as MCP content.
    case 'get_config': { const result = await this.client!.getConfig(); if (result.success && result.data) { return { content: [ { type: 'text', text: 'Current configuration:', }, { type: 'text', text: JSON.stringify(result.data, null, 2), }, ], }; } else { throw new Error(result.error || 'Failed to get configuration'); } }
  • src/index.ts:260-266 (registration)
    Registration of the 'get_config' tool in the ListTools response, including its name, description, and input schema.
    name: 'get_config', description: 'Get configuration', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema for the 'get_config' tool (empty object, no parameters required).
    inputSchema: { type: 'object', properties: {}, },

Other Tools

Related Tools

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/Lizzard-Solutions/browserless-mcp'

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