Skip to main content
Glama

get_browser

Identify the active browser for cookie-based authentication to enable video playback control on YouTube and TikTok through the social-video-mcp server.

Instructions

Check which browser is currently being used for cookie-based authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'get_browser' tool, which returns the currently configured browser name and the list of supported browsers.
    server.tool(
      'get_browser',
      'Check which browser is currently being used for cookie-based authentication.',
      {},
      async () => {
        return textResult({ browser: getBrowser(), supported: [...SUPPORTED_BROWSERS] });
      }
    );
  • The helper function 'getBrowser' that retrieves the currently set browser name from the module state.
    export function getBrowser(): BrowserName { return currentBrowser; }

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/ronantakizawa/social-video-mcp'

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