Skip to main content
Glama

get_instances

Retrieve all active virtual Ubuntu desktop instances managed by Scrapybara MCP for real-time monitoring and control.

Instructions

Get all running Scrapybara instances.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_instances' tool. It retrieves all running Scrapybara instances using the ScrapybaraClient and returns them as a JSON string in the response content.
    case "get_instances": { const instances = await client.getInstances({ abortSignal: currentController.signal, }); return { content: [ { type: "text", text: JSON.stringify(instances, null, 2), } as TextContent, ], }; }
  • Zod schema definition for the 'get_instances' tool input, which requires no parameters.
    export const GetInstancesSchema = z.object({});
  • src/index.ts:79-82 (registration)
    Registration of the 'get_instances' tool in the ListToolsRequestHandler response, including name, description, and input schema.
    name: "get_instances", description: "Get all running Scrapybara instances.", inputSchema: zodToJsonSchema(GetInstancesSchema), },

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/Scrapybara/scrapybara-mcp'

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