Labsco
199-bio logo

MCP Wait Timer Server

โ˜… 1

from 199-bio

A simple tool to pause execution for a specified number of seconds.

๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

MCP Wait Timer Server

An MCP (Model Context Protocol) server providing a simple wait tool.

Watch the demo video: https://www.youtube.com/watch?v=TaF_j9wrWVw

Overview

This server exposes a single tool, wait, designed to introduce deliberate pauses into workflows executed by MCP clients (e.g., Cline, Claude Desktop, Cursor).

Problem Solved

MCP clients and the AI models driving them often operate sequentially. After executing a command or action (like a web request, file operation, or API call), the model might proceed to the next step immediately. However, some actions require additional time to fully complete their effects (e.g., background processes finishing, web pages fully rendering after JavaScript execution, file system propagation).

Since the model cannot always reliably detect when these asynchronous effects are complete, it might proceed prematurely, leading to errors or incorrect assumptions in subsequent steps.

Solution: The wait Tool

This server provides a wait tool that allows the user or the AI prompt to explicitly instruct the client to pause for a specified duration before continuing. This ensures that time-dependent operations have sufficient time to complete.

Tool: wait

  • Description: Pauses execution for a specified number of seconds.
  • Input Parameter:
    • duration_seconds (number, required): The duration to wait, in seconds. Must be a positive number.

Use Cases

  • Web Automation: Ensure dynamic content loads or scripts finish executing after page navigation or element interaction.
    Example Prompt: "Navigate to example.com, fill the login form, click submit, then wait for 5 seconds and capture a screenshot."
  • Command Line Operations: Allow time for background tasks, file writes, or service startups initiated by a shell command.
    Example Prompt: "Run 'npm run build', wait for 15 seconds, then check if the 'dist/app.js' file exists."
  • API Interaction: Add delays between API calls to handle rate limiting or wait for asynchronous job completion.
  • Workflow Debugging: Insert pauses to observe the state of the system at specific points during a complex task.

Developed By

This tool was developed as part of the initiatives at 199 Longevity, a group focused on extending the frontiers of human health and longevity.

Learn more about our work in biotechnology at 199.bio.

Project contributor: Boris Djordjevic