Skip to main content
Glama

pause_video

Pause or resume the currently playing video in the social-video-mcp server to control playback during AI-assisted video interactions.

Instructions

Toggle pause/resume on the currently playing video.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler logic for the 'pause_video' tool, which uses the mpv library to cycle the pause state of the video.
    server.tool(
      'pause_video',
      'Toggle pause/resume on the currently playing video.',
      {},
      async () => {
        try {
          await mpv.command(['cycle', 'pause']);
          const paused = await mpv.getProperty('pause');
          return textResult(paused ? 'Video paused.' : 'Video resumed.');
        } catch (err) {
          return errorResult(`Error: ${err instanceof Error ? err.message : String(err)}`);
        }
      }
    );

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