Skip to main content
Glama
autopilotbrowser

Autopilot Browser MCP Server

Official

search_workflows

Find automated browser workflows for web scraping, data extraction, and automation tasks by searching with keywords.

Instructions

Search for available Autopilot Browser workflows by keyword. Returns a list of workflows that match the search term. If no search term is provided, returns all workflows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchTermNoOptional keyword to search for specific workflows (e.g., 'scraping', 'automation', 'data extraction')

Implementation Reference

  • Executes the search_workflows tool by extracting optional searchTerm from input arguments, calling the apiClient helper, formatting results as JSON text content, and handling errors.
    if (request.params.name === "search_workflows") { const { searchTerm } = request.params.arguments as { searchTerm?: string; }; try { const workflows = await apiClient.searchWorkflows(searchTerm); return { content: [ { type: "text", text: JSON.stringify(workflows, null, 2), }, ], }; } catch (error) { return { content: [ { type: "text", text: `Error searching workflows: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } }
  • Input schema definition for the search_workflows tool, specifying an optional 'searchTerm' string property.
    inputSchema: { type: "object", properties: { searchTerm: { type: "string", description: "Optional keyword to search for specific workflows (e.g., 'scraping', 'automation', 'data extraction')", }, }, }, },
  • src/index.ts:129-141 (registration)
    Tool registration in the MCP server's ListTools handler, including name, description, and input schema for search_workflows.
    { name: "search_workflows", description: "Search for available Autopilot Browser workflows by keyword. Returns a list of workflows that match the search term. If no search term is provided, returns all workflows.", inputSchema: { type: "object", properties: { searchTerm: { type: "string", description: "Optional keyword to search for specific workflows (e.g., 'scraping', 'automation', 'data extraction')", }, }, }, },
  • Core helper function in AutopilotAPIClient class that performs the actual HTTP GET request to the Autopilot Browser API's /wf/search endpoint to fetch workflows.
    async searchWorkflows(searchTerm?: string) { const url = new URL(`${this.baseUrl}/wf/search`); if (searchTerm) { url.searchParams.append('searchTerm', searchTerm); } const response = await fetch(url.toString(), { method: 'GET', headers: { 'x-api-key': this.apiKey, 'Content-Type': 'application/json', }, }); if (!response.ok) { throw new Error(`API Error: ${response.status} ${response.statusText}`); } return await response.json(); }
Install Server

Other 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/autopilotbrowser/mcp-server'

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