Skip to main content
Glama
ananddtyagi

Webpage Screenshot MCP Server

signal-login-complete

Indicates completion of manual login to resume automated processes in the Webpage Screenshot MCP Server, ensuring continuity in web application verification.

Instructions

Signals that manual login is complete and the login-and-wait tool should continue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'signal-login-complete' tool. It creates a temporary file in the system's temp directory to signal that the manual login process is complete, allowing the 'login-and-wait' tool to proceed. Returns a success message or error response.
    async () => { try { const completionFile = path.join(os.tmpdir(), 'mcp-login-complete.txt'); await fsPromises.writeFile(completionFile, 'complete'); return { content: [ { type: "text", text: "Login completion signal sent! The login-and-wait tool should continue shortly." } ], }; } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); return { isError: true, content: [ { type: "text", text: `Error signaling login completion: ${errorMessage}`, }, ], }; } }
  • src/index.ts:654-684 (registration)
    The registration of the 'signal-login-complete' tool using server.tool(), including the tool name, description, empty input schema ({}), and inline handler function.
    server.tool( "signal-login-complete", "Signals that manual login is complete and the login-and-wait tool should continue", {}, async () => { try { const completionFile = path.join(os.tmpdir(), 'mcp-login-complete.txt'); await fsPromises.writeFile(completionFile, 'complete'); return { content: [ { type: "text", text: "Login completion signal sent! The login-and-wait tool should continue shortly." } ], }; } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); return { isError: true, content: [ { type: "text", text: `Error signaling login completion: ${errorMessage}`, }, ], }; } } );
  • The input schema for the tool, which is empty object indicating no input parameters are required.
    {},

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/ananddtyagi/webpage-screenshot-mcp'

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