Skip to main content
Glama

navigate

Directs the browser to a specific URL, enabling automated web navigation for testing or interaction on ARM64 devices like Raspberry Pi.

Instructions

Navigate to a URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to navigate to

Implementation Reference

  • The core handler function for the 'navigate' MCP tool. It ensures the Chromium browser is running, sends a Chrome DevTools Protocol (CDP) 'Page.navigate' command with the provided URL, and returns a success confirmation message.
    async navigate(url) { await this.ensureChromium(); await this.sendCDPCommand('Page.navigate', { url }); return { content: [{ type: 'text', text: `Successfully navigated to ${url}` }], }; }
  • Input schema for the 'navigate' tool, defining a required 'url' parameter of type string.
    inputSchema: { type: 'object', properties: { url: { type: 'string', description: 'The URL to navigate to', }, }, required: ['url'], },
  • index.js:105-118 (registration)
    Tool registration object for 'navigate' provided in response to ListToolsRequestSchema.
    { name: 'navigate', description: 'Navigate to a URL', inputSchema: { type: 'object', properties: { url: { type: 'string', description: 'The URL to navigate to', }, }, required: ['url'], }, },
  • Dispatch handler in the CallToolRequestSchema switch statement that routes 'navigate' calls to the main navigate method.
    case 'navigate': return await this.navigate(args.url);

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/nfodor/claude-arm64-browser'

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