Skip to main content
Glama
afshawnlotfi

Configurable Puppeteer MCP Server

by afshawnlotfi

puppeteer_navigate

Directs a browser to load a specific webpage URL for automated interaction and data extraction within the Configurable Puppeteer MCP Server environment.

Instructions

Navigate to a URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

Implementation Reference

  • Handler implementation for the 'puppeteer_navigate' tool. Navigates the Puppeteer browser page to the provided URL and returns a confirmation message.
    case "puppeteer_navigate":
      await page.goto(args.url);
      return {
        content: [{
          type: "text",
          text: `Navigated to ${args.url}`,
        }],
        isError: false,
      };
  • Tool schema definition for 'puppeteer_navigate', including name, description, and input schema requiring a 'url' parameter.
    {
      name: "puppeteer_navigate",
      description: "Navigate to a URL",
      inputSchema: {
        type: "object",
        properties: {
          url: { type: "string" },
        },
        required: ["url"],
      },
    },
  • index.ts:411-412 (registration)
    Registration of the tool list (TOOLS array containing puppeteer_navigate) in the ListToolsRequestSchema handler.
      tools: TOOLS,
    }));
  • index.ts:414-416 (registration)
    Registration of the CallToolRequestSchema handler, which dispatches to handleToolCall based on tool name, including puppeteer_navigate.
    server.setRequestHandler(CallToolRequestSchema, async (request) =>
      handleToolCall(request.params.name, request.params.arguments ?? {})
    );

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/afshawnlotfi/mcp-configurable-puppeteer'

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