Skip to main content
Glama
cploujoux

Puppeteer MCP Server

by cploujoux

puppeteer_navigate

Automate browser navigation by directing to a specified URL, enabling interaction with web pages in a real browser environment using Puppeteer-based automation tools.

Instructions

Navigate to a URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

Implementation Reference

  • Handler implementation for the puppeteer_navigate tool, which navigates the Puppeteer page to the specified URL and returns a success message.
    case "puppeteer_navigate": await page.goto(args.url); return { content: [ { type: "text", text: `Navigated to ${args.url}`, }, ], isError: false, };
  • Tool schema definition including name, description, and input schema requiring a 'url' string.
    { name: "puppeteer_navigate", description: "Navigate to a URL", inputSchema: { type: "object", properties: { url: { type: "string" }, }, required: ["url"], }, },
  • index.ts:459-461 (registration)
    Registration of all tools, including puppeteer_navigate, via the TOOLS array in the ListToolsRequestSchema handler.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS, }));
  • index.ts:463-465 (registration)
    Registration of the CallToolRequestSchema handler, which dispatches to the specific tool handler via handleToolCall switch statement.
    server.setRequestHandler(CallToolRequestSchema, async (request) => handleToolCall(request.params.name, request.params.arguments ?? {}) );

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

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